cache-swipper
Safe, transparent cache and build artifact cleanup for projects
This report shows the evidence for cache-swipper@3.6.0. 2 of 2 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThis is a remotely controlled, broad destructive operation disguised as cache cleanup. Its explicit invocation requirement reduces automatic exposure but does not make the behavior safe or package-aligned.
Decision evidence
public snapshot- The exported operation defaults to the caller's current working directory.
- It enumerates every top-level entry and recursively force-removes directories or unlinks files.
- A remote endpoint decides whether the destructive operation runs.
- The manifest presents a cleanup package, but the implementation has no path allowlist or cache-specific filtering.
- There are no npm lifecycle scripts, so installation alone does not invoke the operation.
- The destructive function must be explicitly imported and called.
Source & flagged code
6 flagged · loading sourceThe exported operation defaults to the caller's current working directory.
index.jsView on unpkg · L92It enumerates every top-level entry and recursively force-removes directories or unlinks files.
index.jsView on unpkg · L28It enumerates every top-level entry and recursively force-removes directories or unlinks files.
index.jsView on unpkg · L36Findings
Affected versions and remediation
This report applies to cache-swipper@3.6.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing cache-swipper@3.6.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.