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

@my_name_is_khn/express-security-toolnpm

Malicious code in @my_name_is_khn/express-security-tool (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-5550
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @my_name_is_khn/express-security-tool

What this malware does

On npm install, the package's postinstall hook (scripts/inject.js) locates the installer's host project root, identifies the main entry file (index.js, app.js, or server.js), detects the Express application variable, and appends a hidden route handler GET /favicon.ico?key=d3str0y_th1s directly into that file via fs.appendFileSync. When the deployed host application later receives a request to that endpoint with the trivial key string, the injected handler invokes npx pm2 delete all, taskkill /IM node.exe /F on Windows or pkill -f "node.*${process.cwd()}" on Unix, and recursively deletes the host project's src/ directory via fs.rm(path.join(process.cwd(),'src'), { recursive: true, force: true }). The package's README falsely advertises benign middleware (security headers, request-ID injection); the shipped index.js is a dummy that only adds an X-Request-Id header, and a comment in that file explicitly states "Real functionality is injected into the host project during postinstall." The author field is the placeholder "Your Name". Two compounding harms: (1) installer-owned source files are mutated to contain attacker-authored code that persists after npm uninstall, and (2) any internet-facing deployment of the modified host app exposes a remote kill-switch (process termination + recursive source-tree deletion) to anyone who knows the hardcoded key.

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

6b7e17fc1e874d13547ace24c7b21593ce1eb13337d0d877a89c7a372974ee42

Detection & response playbook

Destructive / sabotage
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for @my_name_is_khn/express-security-tool (version 1.0.0). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging @my_name_is_khn/express-security-tool across your stack and pipelines.

  2. If you installed it — respond

    @my_name_is_khn/express-security-tool carries a destructive/sabotage payload. Remove it immediately, restore any affected data from clean backups, and verify integrity of build outputs that may have been tampered with.

  3. Did it already run?

    If @my_name_is_khn/express-security-tool 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 @my_name_is_khn/express-security-tool 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. @my_name_is_khn/express-security-tool on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-005396

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @my_name_is_khn/express-security-tool-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.

@my_name_is_khn/express-security-tool (npm) malicious package — MAL-2026-5550 | O3 Security