MAL-2026-20329: Malicious code in autoloan (npm)
--- -= Per source details. Do not edit below this line.=-
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.