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

ect-472839npm

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

MAL-2025-49282
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall ect-472839

What this malware does

On npm install, the package's lifecycle script (index.js lines 7-19) reads /flag.txt from the installer's host (falling back to cat /flag*) and PUTs the file contents in a JSON payload to a hardcoded endpoint at http://127.0.0.1:3000/api/modules/ECT-987654. The package.json declares name: ect-472839, version: 100.0.1, description: "Probe", and an empty author — the classic dependency-confusion probe fingerprint (high version number, throwaway metadata, no advertised functionality). The package has no legitimate purpose: its sole install-time effect is to read a CTF-style filesystem artifact and ship it to a service on the loopback interface. Although the destination is 127.0.0.1, on a host where some local service is bound to:3000 (or a dependency-confusion attack target where the attacker is running such a service), the file contents are exfiltrated. This is a malicious supply-chain probe, not a utility library.

Malicious versions

2 flagged
100.0.0100.0.1

Indicators of compromise (SHA-256)

d1f987456493b44da9c89197bfe759f29348910e7f334a92c9d5d1fdc611f043
0f209a92628c43b16ca9cffd1462aaf777c8287df12592e93c3a1ab7f80a3259
97e7438d5379376c2214a33c66ded547741bb4b4fd94a5a936859ed6c4bd68de

Frequently asked questions

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

Campaign

IN-MAL-2026-005840IN-MAL-2026-005843

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
ect-472839 (npm) malicious package — MAL-2025-49282 | O3 Security