Malicious package · npm
Malicious code in @c1-ease/commerce (npm)
1.0.11.1.02.0.02.0.13.0.0No safe version. Remove it.What it does
@c1-ease/commerce is a dependency-confusion package: its description is "Compatibility shim." and its README calls it an "authorized dependency-confusion test" by "Kero (@0xWise)". Each listed version has a postinstall script that runs node beacon.cjs on npm install, and index.js runs the same code when the package is imported; it POSTs the hostname, install path and current working directory to https://vmi3699893.contaboserver.net:8787/_ah/dc with TLS certificate checks turned off, and index.js exports a Proxy of no-op functions so builds that import the real package keep running. The npm account ppblpp1 published @c1-ease/commerce and 7 other packages with the same beacon on 2026-11-21 between 21:34 and 22:09 UTC.
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.
Reported by ghsa-malware Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
No fix · Remove and contain
npm uninstall @c1-ease/commerceSources