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

chalk-tempaltenpm

Malicious code in chalk-tempalte (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-4517
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall chalk-tempalte

What this malware does

Package name chalk-tempalte is a single-character transposition of the popular chalk-template package (a top-tier npm utility), consistent with deliberate typosquatting. The tarball ships a postinstall.js lifecycle script that imports child_process, performs HTTP GET/POST traffic via http.request(...), and collects host identifiers (hostname: fields appear repeatedly throughout the script at lines 20, 46, 287, 409, 427). A second large file, phantom.js, contains multiple POST sinks (lines 1807, 2113, 3183, 6795, 6852). The structural shape — typosquat name + postinstall script that combines child_process, outbound HTTP, and host/system metadata harvesting — matches the credential/host-data exfiltration pattern used by recent npm supply-chain campaigns. Installing this package causes the postinstall hook to fire automatically on npm install, transmitting installer machine data to a remote endpoint and providing a foothold for further code execution.

Malicious versions

6 flagged
1.0.141.0.151.0.161.0.171.0.191.0.20

Indicators of compromise (SHA-256)

0dbbedbc9885ab0402df3ea58ad1e3efbe33154089e167af2a7493174fa8168a
1b46901047e08017bf0dd3a8edddd3b5b41b2bfc568487dd4420e37b07fb2b58
1b69dc559752cb056e834f5687f268e935b373bbe24c3499738601be672f87f9
b61844f5e8edacf86401cbc715ec84fae400cc29417b3c10993d3e1314ce13ff
d3e82f6fa2867575be5e57fd3b03dada6a93761c97b240f77f98f4b221bde7a7
ec649aaa3ddfd4426b0b4076c10d98e3caac8efdee798007423b49a89cff2d15
788cdc2d5da13ef256deec3bef835fef1f62c28ae9ae77606677951f615dba12
a50750faf25ea435dbed1d83e0bb3ae9bcad627770fcbe1213fcde2c5e168d86
c0ffe3887c093cd245be6407cffd38d98851d4c4aaae87dad81a0cbf9376e8a4
de2bc8855ed757642753f9c434aaf3a48b1a8806176970046b851433c66ba154

Detection & response playbook

Credential / info stealer
  1. Find it

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

  2. If you installed it — respond

    chalk-tempalte is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If chalk-tempalte 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 chalk-tempalte 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. chalk-tempalte on npm has been identified as a malicious package (versions 1.0.14, 1.0.15, 1.0.16, 1.0.17, 1.0.19, 1.0.20 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-003421IN-MAL-2026-003409IN-MAL-2026-003411IN-MAL-2026-003414IN-MAL-2026-003393IN-MAL-2026-003408IN-MAL-2026-003592IN-MAL-2026-003420IN-MAL-2026-003410IN-MAL-2026-003415

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks chalk-tempalte-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

chalk-tempalte (npm) malicious package — MAL-2026-4517 | O3 Security