GHSA-j5h6-446w-9q9c
Malicious code in @c1-ease/card (npm)
Impact
## 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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6f345a37e909d1a5d831f5d290ca394b0aad1f70/osv/malicious/npm/@c1-ease/card/MAL-2026-20327.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | @c1-ease/card | = 0.0.1 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-j5h6-446w-9q9c
- https://github.com/ossf/malicious-packages/blob/6f345a37e909d1a5d831f5d290ca394b0aad1f70/osv/malicious/npm/@c1-ease/card/MAL-2026-20327.json
- https://www.npmjs.com/package/@c1-ease/card/v/0.0.1
- https://www.npmjs.com/package/@c1-ease/card/v/1.0.0
- 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/2.0.1
- https://www.npmjs.com/package/@c1-ease/card/v/99.0.1
- https://github.com/ossf/malicious-packages/blob/0730aa902aca078a6d9faa89bcf7b86fb9816157/osv/malicious/npm/@c1-ease/card/MAL-2026-20327.json