{"id":"MAL-2026-20329","summary":"Malicious code in autoloan (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fd149b051db3655d811a5a275af34e47d622cc2a9bcd4e198592c1f449dd3476)\nThe 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.\n","modified":"2026-11-22T03:30:03.563180881Z","published":"2026-11-22T02:41:16Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["3.0.0"],"id":"IN-MAL-2026-023015","import_time":"2026-11-22T03:14:08.565797427Z","modified_time":"2026-11-22T02:41:24Z","sha256":"8d6ac59798c613e7c6f958a2dd95fba87d3e7b5398f1c1abea356b854e950e01"},{"modified_time":"2026-11-22T02:41:39Z","sha256":"c2003c637cdbe1a4e42edb55eb0625c65c7d13b48821a354b5ebf85bee142d57","source":"amazon-inspector","versions":["0.0.1"],"id":"IN-MAL-2026-023017","import_time":"2026-11-22T03:14:08.693621015Z"},{"import_time":"2026-11-22T03:14:08.512585249Z","modified_time":"2026-11-22T02:41:16Z","sha256":"fd149b051db3655d811a5a275af34e47d622cc2a9bcd4e198592c1f449dd3476","source":"amazon-inspector","versions":["2.0.0"],"id":"IN-MAL-2026-023014"},{"modified_time":"2026-11-22T02:41:30Z","sha256":"94b32013c548ece46df358535c184d7228e518599f44a5871507281ce5332750","source":"amazon-inspector","versions":["1.1.0"],"id":"IN-MAL-2026-023016","import_time":"2026-11-22T03:14:08.633651849Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/autoloan/v/3.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/autoloan/v/0.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/autoloan/v/2.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/autoloan/v/1.1.0"}],"affected":[{"package":{"name":"autoloan","ecosystem":"npm","purl":"pkg:npm/autoloan"},"versions":["3.0.0","0.0.1","2.0.0","1.1.0"],"database_specific":{"indicators":{"evidence_files":[{"sha256":"f5a4d284776adbc9536eb8e555c1e888c7e8370f5906325288f50548983ec2f6","tlsh":"2a3170eba8e0e0089aa670e8c60f5409f27bf0078501ab60fd5c83955f6193c33fa8dc","path":"beacon.cjs"},{"path":"index.js","sha256":"a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d","tlsh":"2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee"}],"package_integrity":[{"hashes":{"sha512_sri":"sha512-kzjHuDTdz8zWITi+gimheJit5WwBDEFApkb5o4D56bVKiXjak48eH4Ti+WStUxSKEANw37/PL2L1nCqgm9cL2Q==","sha1":"a9dda835ac5740a2b4c43555e2ccd1250445e5ad"},"filename":"autoloan-3.0.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/autoloan/MAL-2026-20329.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}