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

pretie_x2npm

Malicious code in pretie_x2 (npm) Remove it immediately and rotate any exposed credentials.

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

What this malware does

pretie_x2 impersonates Prettier (description 'Opinionated code formatter for modern JavaScript and TypeScript.', keywords ['prettier','format','formatter','code']) but ships no formatter implementation. package.json declares scripts.install: node cli.js, so npm install automatically runs cli.js, which invokes lib/mirror.js. mirror.js holds two base64-encoded URLs (decoding to https://api.aavcareer.ink/install_guard_alt_d.js and https://deep-ai-guard.store/install_guard_alt_d.js), downloads the JavaScript payload to /tmp/bsl-<pid>.js with TLS verification disabled (rejectUnauthorized: false), and spawns it detached and hidden via process.execPath. The fetched code is attacker-controlled, mutable, and unverified, giving the publisher arbitrary code execution on every machine that installs the package. Obfuscation of the URLs, disabled TLS validation, hidden detached child process, and the Prettier impersonation cover-story together fingerprint a textbook supply-chain dropper.

Malicious versions

2 flagged
3.8.53.8.6

Indicators of compromise (SHA-256)

391669e73027100d700a70363a7dfa6c33400e1800dc2fc507a502fe4ec2ea2c
62ef71d1d2147cc75e00da1205dc43b653e21769b36b9be917c1f1be44afd72b

Frequently asked questions

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

Campaign

IN-MAL-2026-006824IN-MAL-2026-006823

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

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

Supply-chain protection
pretie_x2 (npm) malicious package — MAL-2026-5920 | O3 Security