Advisory

MAL-2026-16079

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in server-authorized-cleanup (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (ba50dd2c597a65e5fa5bd8aa2675ac16fb443c6d42381921fde160c9596f44d2)
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.

Severity

Not rated by the source.

Dates

Published
2026-09-09 06:54 UTC
Modified
2026-09-09 07:30 UTC

Affected packages and fixes

server-authorized-cleanup

npm · All systems

Affected

  • Versions: 1.1.0

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences