GHSA-69rf-36f8-r3fm
Malicious code in autoloan (npm)
Impact
## Source: amazon-inspector (fd149b051db3655d811a5a275af34e47d622cc2a9bcd4e198592c1f449dd3476) 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6f345a37e909d1a5d831f5d290ca394b0aad1f70/osv/malicious/npm/autoloan/MAL-2026-20329.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | autoloan | = 3.0.0 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-69rf-36f8-r3fm
- https://github.com/ossf/malicious-packages/blob/6f345a37e909d1a5d831f5d290ca394b0aad1f70/osv/malicious/npm/autoloan/MAL-2026-20329.json
- https://www.npmjs.com/package/autoloan/v/0.0.1
- https://www.npmjs.com/package/autoloan/v/1.1.0
- https://www.npmjs.com/package/autoloan/v/2.0.0
- https://www.npmjs.com/package/autoloan/v/3.0.0
- https://github.com/ossf/malicious-packages/blob/0730aa902aca078a6d9faa89bcf7b86fb9816157/osv/malicious/npm/autoloan/MAL-2026-20329.json