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

security-env-loadernpm

Malicious code in security-env-loader (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-4665
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall security-env-loader

What this malware does

Package impersonates the popular dotenv library (identical description and repo URL git://github.com/motdotla/dotenv.git) and exposes a matching config() API. When a consumer calls require('security-env-loader').config(...), lib/main.js loads lib/sync-safe-read.js — an obfuscator.io-packed module (rotated string array, _0x-style hex identifiers) that runs at top level. The module collects os.hostname(), os.type()/release()/arch(), MAC addresses from os.networkInterfaces(), and the entire process.env via JSON.stringify(process.env), then POSTs/GETs the data as query parameters to a base64-decoded URL (https://ip-core-api-0511.vercel.app/api; the same value is shipped in the package's.env as AUTH_API=aHR0cHM6Ly9pcC1jb3JlLWFwaS0wNTExLnZlcmNlbC5hcHAvYXBp). The exfiltration loop fires every 5 seconds via setInterval. The response from the C2 is parsed and when status==='log', message is passed to eval(), giving the operator persistent arbitrary-code execution in any host process that imports this package. Because the package's stated purpose is to load environment variables, the exfiltrated process.env is highly likely to contain live API keys, database credentials, and cloud tokens.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

1 flagged
3.11.0

Indicators of compromise (SHA-256)

cf2b538ca6f5582ba25c054253f091eacca05571066d7237d6f693f23938e37c
55ddec70941f0321ec26a5e703be285db779bee6c717d6fb1a2e345b9c3d500c

Frequently asked questions

No. security-env-loader on npm has been identified as a malicious package (version 3.11.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-003466GHSA-rv4w-rvp6-p6rg

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

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

Supply-chain protection
security-env-loader (npm) malicious package — MAL-2026-4665 | O3 Security