{"id":"MAL-2026-20326","summary":"Malicious code in @c1-ease/bank (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (15ba6783ba51366782fa289b444f655cd026cc5ac82d3fae5a5e9f256961c954)\nThe package declares a `postinstall` script that runs `node beacon.cjs`, and `index.js` re-invokes the same beacon on require. The beacon collects `os.hostname()`, `__dirname`, `process.cwd()`, the Node 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 declared publisher. TLS certificate verification is explicitly disabled via `rejectUnauthorized: false`. Beyond the beacon, `index.js` exports a Proxy whose every property returns a no-op function; the package advertises itself as a `Compatibility shim` under the `@c1-ease` scope but ships no real functionality, consistent with a dependency-confusion or install-tracking artifact targeting a potentially confusable scope name. Installing or requiring the package causes host identifiers to be sent to an attacker-controlled destination with TLS verification disabled.\n","modified":"2026-11-22T03:30:03.560941925Z","published":"2026-11-22T02:37:08Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-11-22T03:14:07.524110189Z","modified_time":"2026-11-22T02:37:50Z","sha256":"15ba6783ba51366782fa289b444f655cd026cc5ac82d3fae5a5e9f256961c954","source":"amazon-inspector","versions":["3.0.0"],"id":"IN-MAL-2026-022998"},{"versions":["1.0.0"],"id":"IN-MAL-2026-022995","import_time":"2026-11-22T03:14:07.346566495Z","modified_time":"2026-11-22T02:37:31Z","sha256":"71574fbd153f9220ebedeeeb754ab5ec459878253d9090b89b1f6a37a2a73243","source":"amazon-inspector"},{"modified_time":"2026-11-22T02:37:37Z","sha256":"bcf6f59d7ec0472b8ff4ba6823447254fdc90e514c227017ae64fc606ebb2a41","source":"amazon-inspector","versions":["0.0.1"],"id":"IN-MAL-2026-022996","import_time":"2026-11-22T03:14:07.413855505Z"},{"versions":["2.0.0"],"id":"IN-MAL-2026-023004","import_time":"2026-11-22T03:14:07.857474672Z","modified_time":"2026-11-22T02:38:31Z","sha256":"cc5633bc01ae8161adb6e67e8ab29161397f646d8cfaa8dd67bdf9d6c01ddd28","source":"amazon-inspector"},{"modified_time":"2026-11-22T02:37:08Z","sha256":"ec4597fac4cde561ea008938452efcc01adc516d8859ee42d54b250aefa169bc","source":"amazon-inspector","versions":["2.0.1"],"id":"IN-MAL-2026-022992","import_time":"2026-11-22T03:14:07.184351784Z"},{"import_time":"2026-11-22T03:14:07.473019614Z","modified_time":"2026-11-22T02:37:44Z","sha256":"18384cf2b63e7da8ecf87b94c768e231e7b8ce9c8415c6fa49dc97bc1e0e8c89","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-022997"},{"sha256":"3894d9f1a673403de1ab1c3285869224f75e6eb1766585d095f08a844ed03305","source":"amazon-inspector","versions":["99.0.1"],"id":"IN-MAL-2026-022993","import_time":"2026-11-22T03:14:07.230991588Z","modified_time":"2026-11-22T02:37:15Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/bank/v/3.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/bank/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/bank/v/0.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/bank/v/2.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/bank/v/2.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/bank/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/bank/v/99.0.1"}],"affected":[{"package":{"name":"@c1-ease/bank","ecosystem":"npm","purl":"pkg:npm/%40c1-ease/bank"},"versions":["3.0.0","1.0.0","0.0.1","2.0.0","2.0.1","1.0.1","99.0.1"],"database_specific":{"cwes":[{"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"},{"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"},{"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."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"beacon.cjs","sha256":"7fd86fd9952527322ef13980f3d446eca8a4df07368edae1a8109f30a277668d","tlsh":"fd3152eba4e0e1589ea670d8c60f5409f27be0078506ab50fd5c82955f6193c33fa8dc"},{"sha256":"a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d","tlsh":"2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee","path":"index.js"}],"package_integrity":[{"hashes":{"sha1":"f8958645c9263105f5318d63b6f40baa4c71977e","sha512_sri":"sha512-BJyqoilB3BE/Vf0amkL03YBCMDEX/4EIKAyWqXnO3SoeChyNSspr/rt0E/5Ilcwu/wEP1BPMqzc5LFZlvKHQ1A=="},"filename":"bank-3.0.0.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@c1-ease/bank/MAL-2026-20326.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}