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 Software
Event History
Frequently Asked Questions
Which environments are most exposed to this package?
Projects that expect an internal @c1-ease/* dependency but resolve the public @c1-ease/card package are exposed. The package is designed to let builds continue by returning no-op functions for property access rather than failing immediately.
When does the outbound activity occur?
The beacon runs during installation through the postinstall hook and again when the module is loaded with require(). Either event can trigger a POST request to the hardcoded endpoint.
What evidence can be used to investigate possible exposure?
Look for outbound HTTPS requests to vmi3699893.contaboserver.net:8787/_ah/dc from build, installation, or Node.js runtime systems. The transmitted JSON includes the hostname, package install path, current working directory, and Node.js version.
Does TLS validation prevent interception of the beacon traffic?
No. The beacon explicitly disables TLS certificate validation by setting rejectUnauthorized to false, so it accepts untrusted TLS certificates for its outbound connection.