Logo
npm

server-authorized-cleanup@1.1.0

Vulnerability report · Last retrieved from osv.dev September 9, 2026 at 9:10 AM UTC

Malicious

OSV ID

MAL-2026-16079

Ecosystem

npm

Summary

server-authorized-cleanup exposes triggerCleanup() which issues an HTTPS GET to the hardcoded author endpoint https://testback-2aqe.onrender.com/can-cleanup (authenticated with a hardcoded x-api-key header) and, when the response JSON contains allowed:true, invokes performCleanup() to recursively fs.rmSync every entry under the target directory (default process.cwd()). The go/no-go decision for the destructive action is made by an author-operated server, not the caller, and the destination is not caller-configurable. Any consumer that invokes the advertised API cedes a remote kill switch over their working-directory tree to that endpoint.

Source: amazon-inspector (ba50dd2c597a65e5fa5bd8aa2675ac16fb443c6d42381921fde160c9596f44d2)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.