{"id":"MAL-2026-16079","revision":"eb777c087813475281fed548efbdee6b","records":[{"revision":"eb777c087813475281fed548efbdee6b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16079","aliases":[],"title":"Malicious code in server-authorized-cleanup (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ba50dd2c597a65e5fa5bd8aa2675ac16fb443c6d42381921fde160c9596f44d2)\nserver-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.\n","state":0,"publishedAt":"2026-09-09T06:54:44+00:00","modifiedAt":"2026-09-09T07:30:05.4471395+00:00","affected":[{"ecosystem":"npm","name":"server-authorized-cleanup","ranges":[],"versions":["1.1.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/server-authorized-cleanup/v/1.1.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16079","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16079","identifiers":["MAL-2026-16079"]},"retained":false,"historicalAffected":[]}],"coverage":[]}