autoloannpm
Advisory published Updated
autoloan is a confirmed malicious npm package (MAL-2026-20329) that opens a backdoor for remote access (malicious versions 0.0.1, 1.1.0, 2.0.0…). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in autoloan (npm)
What this malware does
The package ships a postinstall hook ("node beacon.cjs") and a main entry (index.js) that both execute beacon.cjs on npm install and on require(). beacon.cjs collects installer-side identifiers — os.hostname(), __dirname (the install path on the installer's disk), process.cwd(), process.version, and the package name — and POSTs them as JSON to the hardcoded endpoint https://vmi3699893.contaboserver.net:8787/_ah/dc, a bare Contabo VPS unrelated to any documented publisher. The HTTPS request is made with rejectUnauthorized:false, disabling TLS certificate verification. index.js itself exports a Proxy whose properties all return no-op values, so the package provides no real functionality — the install-time and import-time beacon is the sole effect of installing this package. The shape (stub module + hardcoded bare-VPS callback + TLS verification disabled + auto-fire on both lifecycle hook and module load) matches a dependency-confusion / install-tracking beacon rather than a legitimate library.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for autoloan (4 malicious versions).
If you installed it — respond
autoloan establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If autoloan was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks autoloan-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.