GHSA-mch6-wqpx-2cc2
Malicious code in cxpher-linux-arm32 (npm)
Impact
## Source: amazon-inspector (cd6c14d2899b638880b25bf1c35973ed1c9cf6fcb99331447e3da7c2478124c7) The package's `main` is an ARM ELF binary that, when loaded, mkdtemp's a working directory under `/dev/shm/.cxpher.XXXXXX` or `/tmp/.cxpher.XXXXXX`, writes an unpacked JavaScript file (`a.js` and `/tmp/.cxpher-wrap.%d.js`), locates `node` at `/usr/local/bin/node` or `/usr/bin/node`, and execvp's node against the unpacked file. The bytes that ultimately run are decoded from an opaque high-entropy blob inside the ELF and are not human-auditable from the published tarball — equivalent to `eval(decode(blob))` but in native form. The same binary reads `/proc/self/status` and parses the `TracerPid:` field, the canonical Linux anti-ptrace anti-debug check; legitimate native addons do not need this. Package metadata is placeholder (no author, homepage, repository, or README; description is the generic string "Native binary for cxpher on linux-arm32"), and the binary references an alternate environment-variable prefix (`AGPK_AUDIO_FD` alongside `CXPHER_AUDIO_FD`) suggesting it was renamed/repurposed from a different project. No documentation describes what code is unpacked and run on the installer's machine. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/924e3cfb512a9097299503a28807f7cbe55b2975/osv/malicious/npm/cxpher-linux-arm32/MAL-2026-4547.json))
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | cxpher-linux-arm32 | = 2.0.22 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-mch6-wqpx-2cc2
- https://github.com/ossf/malicious-packages/blob/924e3cfb512a9097299503a28807f7cbe55b2975/osv/malicious/npm/cxpher-linux-arm32/MAL-2026-4547.json
- https://www.npmjs.com/package/cxpher-linux-arm32/v/2.0.22
- https://github.com/ossf/malicious-packages/blob/4012598c9b06e58935bd8883f7a0cd37c3130664/osv/malicious/npm/cxpher-linux-arm32/MAL-2026-4547.json
- https://github.com/ossf/malicious-packages/blob/78792aee23e5c759f309a3d2e9397caf2439773e/osv/malicious/npm/cxpher-linux-arm32/MAL-2026-4547.json