cache-cleanup-module
Safe, transparent cache and build artifact cleanup for Node.js projects
This report shows the evidence for cache-cleanup-module@2.6.0. 2 of 2 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThis package presents itself as cache cleanup but implements remote-controlled deletion of an entire project directory. The explicit-call requirement reduces automatic exposure but does not make the destructive, deceptive capability benign.
Decision evidence
public snapshot- The exported operation defaults its target to the caller's current working directory.
- It enumerates every top-level entry and recursively deletes directories or unlinks files.
- A remote endpoint decides whether deletion proceeds, creating externally controlled destructive behavior.
- The stated cache-cleanup purpose conflicts with deleting all entries rather than identified cache artifacts.
- There are no install, preinstall, or postinstall lifecycle hooks.
- The destructive function requires an explicit runtime call.
Source & flagged code
5 flagged · loading sourceThe exported operation defaults its target to the caller's current working directory.
index.jsView on unpkg · L85It enumerates every top-level entry and recursively deletes directories or unlinks files.
index.jsView on unpkg · L20A remote endpoint decides whether deletion proceeds, creating externally controlled destructive behavior.
index.jsView on unpkg · L4Findings
Affected versions and remediation
This report applies to cache-cleanup-module@2.6.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing cache-cleanup-module@2.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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.