MAL-2026-20327: Malicious code in @c1-ease/card (npm)
- Source:
- OSV.dev
- Published:
- Fetched:
- Updated:
- Affects:
- @c1-ease/card
https://osv.dev/vulnerability/MAL-2026-20327 ↗
Malicious code in @c1-ease/card (npm) --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (cf1ed7404d29e131f0f3008773ffedf222e2df2d27753bd0e35655762dfc5821) The 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. Affected: npm:@c1-ease/card No fixed version published yet References: https://www.npmjs.com/package/@c1-ease/card/v/0.0.1 https://www.npmjs.com/package/@c1-ease/card/v/99.0.1 https://www.npmjs.com/package/@c1-ease/card/v/1.0.1 https://www.npmjs.com/package/@c1-ease/card/v/1.1.0 https://www.npmjs.com/package/@c1-ease/card/v/1.0.0 https://www.npmjs.com/package/@c1-ease/card/v/2.0.1