Skip to main content
Menu
Advisories

Malicious code in @c1-ease/card (npm)

MAL-2026-20327Published Updated OpenSSFMalware

Description

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 versions

References