{"id":"MAL-2026-20324","summary":"Malicious code in @c1-ease/commerce (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bfd04dd69116b1d123a66e4b145a0a2c8a75070d8d250f5de931184b1f0ab58f)\nThe package is a near-empty compatibility shim whose only real behavior is a callback beacon. package.json declares a postinstall hook that runs `node beacon.cjs`, and the main entry `index.js` invokes `beacon.fire()` as a top-level side effect on require. beacon.cjs POSTs host identifiers — `os.hostname()`, the install path (`__dirname`), `process.cwd()`, and `process.version` — to the hardcoded endpoint `https://vmi3699893.contaboserver.net:8787/_ah/dc` with TLS verification explicitly disabled (`rejectUnauthorized: false`). The rest of the module surface is a Proxy returning no-op functions so a consuming build does not crash. The destination is not associated with the `@c1-ease` scope's publisher, the beacon fires without caller opt-in on both install and import, and an in-source comment frames a completed build-with-callback as evidence of reach — consistent with a dependency-confusion / namespace-squat probe against internal `@c1-ease/*` package names.\n","modified":"2026-11-22T03:30:03.566169842Z","published":"2026-11-22T02:35:58Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-11-22T02:35:58Z","sha256":"53ad1a63c646c9a77ee9895cd48949e95259674fc9c990f65524ff0fed5cd69e","source":"amazon-inspector","versions":["2.0.1"],"id":"IN-MAL-2026-022982","import_time":"2026-11-22T02:36:25.281999909Z"},{"sha256":"bfd04dd69116b1d123a66e4b145a0a2c8a75070d8d250f5de931184b1f0ab58f","source":"amazon-inspector","versions":["2.0.0"],"id":"IN-MAL-2026-022983","import_time":"2026-11-22T02:36:25.425004739Z","modified_time":"2026-11-22T02:36:06Z"},{"versions":["3.0.0"],"id":"IN-MAL-2026-022984","import_time":"2026-11-22T03:14:06.694071951Z","modified_time":"2026-11-22T02:36:15Z","sha256":"1b84bc7b5bb0210320d3b8fd2c0dff7689feb6225cb57153fccee240cca53604","source":"amazon-inspector"},{"modified_time":"2026-11-22T02:36:22Z","sha256":"7071d219d86aec849bb7badb9c19e7f77195331dcca0982940121dc0916a1929","source":"amazon-inspector","versions":["1.1.0"],"id":"IN-MAL-2026-022985","import_time":"2026-11-22T03:14:06.812434735Z"},{"id":"IN-MAL-2026-022986","import_time":"2026-11-22T03:14:06.864234754Z","modified_time":"2026-11-22T02:36:28Z","sha256":"8976506d03f870cfbdce1524bfaccb9e737f49089c8367dc364ef2f5e269f1cc","source":"amazon-inspector","versions":["1.0.1"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/commerce/v/2.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/commerce/v/2.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/commerce/v/3.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/commerce/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/commerce/v/1.0.1"}],"affected":[{"package":{"name":"@c1-ease/commerce","ecosystem":"npm","purl":"pkg:npm/%40c1-ease/commerce"},"versions":["2.0.1","2.0.0","3.0.0","1.1.0","1.0.1"],"database_specific":{"cwes":[{"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"},{"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"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@c1-ease/commerce/MAL-2026-20324.json","indicators":{"evidence_files":[{"path":"beacon.cjs","sha256":"ed20bd2c6889adc3d80f1186abb0ccd683a58fe289b6c9f9f6f412ccf87095c2","tlsh":"c43172eba4e0e0189ee670d8c60f5409f27be0078505ab60fd5c82955f6193c33fa8dc"},{"path":"index.js","sha256":"a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d","tlsh":"2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee"}],"package_integrity":[{"filename":"commerce-2.0.1.tgz","hashes":{"sha512_sri":"sha512-8sUaZowPQUlWPT/h6by9u1V8JuN/YI/f99xgYjbsDqpPhtijCu/9xIzZnw+qdJH9u1B6Km+Sq8sTN/vUXLMKLQ==","sha1":"ef404062bed5fda9cd38e101c0c3912b8c709421"}}]}}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}