MAL-2026-16079

    Dashboard / Malicious Package / MAL-2026-16079

    MAL-2026-16079

    Published: 9 Sept 2026Last Modified: 9 Sept 2026

    Summary: Malicious code in server-authorized-cleanup (npm)

    Details: 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.

    Affected packages

    Package

    Name: server-authorized-cleanup

    Purl: pkg:npm/server-authorized-cleanup

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    1.1.0