# GHSA-4W4W-PHQM-JFPM: Malicious code in @c1-ease/commerce (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-22
- Modified: 2026-11-22

## Affected versions

- @c1-ease/commerce (npm): 2.0.1
- @c1-ease/commerce (npm): 2.0.0
- @c1-ease/commerce (npm): 3.0.0
- @c1-ease/commerce (npm): 1.1.0
- @c1-ease/commerce (npm): 1.0.1

## Description

## 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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6f345a37e909d1a5d831f5d290ca394b0aad1f70/osv/malicious/npm/@c1-ease/commerce/MAL-2026-20324.json))

## References

- https://github.com/ossf/malicious-packages/blob/6f345a37e909d1a5d831f5d290ca394b0aad1f70/osv/malicious/npm/@c1-ease/commerce/MAL-2026-20324.json
- https://www.npmjs.com/package/@c1-ease/commerce/v/1.0.1
- https://www.npmjs.com/package/@c1-ease/commerce/v/1.1.0
- https://www.npmjs.com/package/@c1-ease/commerce/v/2.0.0
- https://www.npmjs.com/package/@c1-ease/commerce/v/2.0.1
- https://www.npmjs.com/package/@c1-ease/commerce/v/3.0.0
- https://github.com/advisories/GHSA-4w4w-phqm-jfpm

Page: https://cve.now/GHSA-4W4W-PHQM-JFPM

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
