MAL-2026-20324: Malicious code in @c1-ease/commerce (npm)
--- -= Per source details. Do not edit below this line.=-
Source: amazon-inspector (bfd04dd69116b1d123a66e4b145a0a2c8a75070d8d250f5de931184b1f0ab58f) The package is a near-empty compatibility shim whose only real behavior is a callback beacon. package.json declares a postinstall hook that runs node beacon.cjs, and the main entry index.js invokes beacon.fire() as a top-level side effect on require. beacon.cjs POSTs host identifiers — os.hostname(), the install path (dirname), process.cwd(), and process.version — to the hardcoded endpoint https://vmi3699893.contaboserver.net:8787/ah/dc with TLS verification explicitly disabled (rejectUnauthorized: false). The rest of the module surface is a Proxy returning no-op functions so a consuming build does not crash. The destination is not associated with the @c1-ease scope's publisher, the beacon fires without caller opt-in on both install and import, and an in-source comment frames a completed build-with-callback as evidence of reach — consistent with a dependency-confusion / namespace-squat probe against internal @c1-ease/ package names.
Affected Software
Event History
Frequently Asked Questions
What actions trigger the outbound beacon?
The beacon runs during installation through the package's postinstall hook, which executes node beacon.cjs. It also runs when the package is imported or required because index.js invokes beacon.fire() as a top-level side effect.
What information is sent from an affected environment?
The beacon POSTs the host name, the package install path, the current working directory, and the Node.js process version. The destination is a hardcoded external endpoint: https://vmi3699893.contaboserver.net:8787/_ah/dc.
Could an application continue operating while the beacon runs?
Yes. The package exposes a Proxy that returns no-op functions, apparently allowing consuming builds to avoid crashing while the beacon executes. This means successful builds or imports do not indicate that no callback occurred.
Is certificate validation enforced for the beacon request?
No. The beacon explicitly disables TLS certificate verification by setting rejectUnauthorized to false.
Which published package versions are identified in the available references?
The references list @c1-ease/commerce versions 2.0.0, 2.0.1, and 3.0.0.