{"id":"MAL-2026-20327","summary":"Malicious code in @c1-ease/card (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cf1ed7404d29e131f0f3008773ffedf222e2df2d27753bd0e35655762dfc5821)\nThe package publishes under the scoped name `@c1-ease/card` with no legitimate functionality: `index.js` exports a Proxy that returns a no-op function for any property access, allowing a victim build that resolves this public package instead of an internal `@c1-ease/*` dependency to continue without crashing. `package.json` declares a `postinstall` hook that runs `node beacon.cjs`, and the same beacon is invoked on `require()` of the module. `beacon.cjs` collects host identifiers — `os.hostname()`, `__dirname` (install path), `process.cwd()`, and `process.version` — and POSTs them as JSON to the hardcoded endpoint `https://vmi3699893.contaboserver.net:8787/_ah/dc`, with TLS certificate validation explicitly disabled via `rejectUnauthorized: false`. The combination of a scoped-namespace squat shim, an install-time and import-time outbound beacon to a third-party Contabo VPS, and disabled TLS validation is the standard dependency-confusion exfiltration shape.\n","modified":"2026-11-22T03:30:03.556864297Z","published":"2026-11-22T02:36:35Z","database_specific":{"malicious-packages-origins":[{"sha256":"02622ce9a80099c22c772035552d75ae32f25a764b3f5a257f98d17c67ea8b63","source":"amazon-inspector","versions":["0.0.1"],"id":"IN-MAL-2026-022991","import_time":"2026-11-22T03:14:07.130070412Z","modified_time":"2026-11-22T02:37:02Z"},{"source":"amazon-inspector","versions":["99.0.1"],"id":"IN-MAL-2026-022990","import_time":"2026-11-22T03:14:07.08573724Z","modified_time":"2026-11-22T02:36:56Z","sha256":"2e54959a209812e8d29749741a39a54dcbe976ed2da3d4656e42743a7117868d"},{"sha256":"9fe5bd338f9bfaa20b229543c0064003d5a2dc0f85aef27c5a4976fcd1793e8f","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-022994","import_time":"2026-11-22T03:14:07.297700953Z","modified_time":"2026-11-22T02:37:22Z"},{"versions":["1.1.0"],"id":"IN-MAL-2026-022989","import_time":"2026-11-22T03:14:07.040196608Z","modified_time":"2026-11-22T02:36:49Z","sha256":"b0ec839b1dbbb3af2663ea9ed041483b96113388531143b019bd37f0637edff1","source":"amazon-inspector"},{"sha256":"cf1ed7404d29e131f0f3008773ffedf222e2df2d27753bd0e35655762dfc5821","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-022988","import_time":"2026-11-22T03:14:06.965714468Z","modified_time":"2026-11-22T02:36:43Z"},{"import_time":"2026-11-22T03:14:06.916058715Z","modified_time":"2026-11-22T02:36:35Z","sha256":"d75c227e858217a87e1ffba814d0a7e8bae6f2bcd8dc9af294435a49b49dff37","source":"amazon-inspector","versions":["2.0.1"],"id":"IN-MAL-2026-022987"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/card/v/0.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/card/v/99.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/card/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/card/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/card/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@c1-ease/card/v/2.0.1"}],"affected":[{"package":{"name":"@c1-ease/card","ecosystem":"npm","purl":"pkg:npm/%40c1-ease/card"},"versions":["0.0.1","99.0.1","1.0.1","1.1.0","1.0.0","2.0.1"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"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"},{"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"}],"indicators":{"evidence_files":[{"sha256":"e7b4c12971d28e703516b4f808a9fc757c7ef15922049d0db67b449644c6ade0","tlsh":"083172eba4e0e0589ea670d8c60f5409f27be0078505ab50fd5c82955f6193c33fa8dc","path":"beacon.cjs"},{"tlsh":"2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee","path":"index.js","sha256":"a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d"}],"package_integrity":[{"hashes":{"sha512_sri":"sha512-6ySlE1IEn9vZb46iNiMb/xyl10xIPFsH/n9Ps50W4i4Yl6+72+1Vz8fa7H6CJ/xMQu70NZPgqrQ0uhS5DzoLCg==","sha1":"3e7939ac23ae35a47be135769d26a9513481f2b5"},"filename":"card-0.0.1.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@c1-ease/card/MAL-2026-20327.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}