cdeops
Affected
- Versions:
13.5.31
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-4rxj-jcfq-cpm2
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in cdeops (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (77c3ae95718ec95602a9dc4de6bfee1d07bf2efb0b0c28441a458542798b5696)
The CJS entry points src/index.js, src/client.js, and src/server.js each run an IIFE at module load that uses a custom shuffle cipher (spin/peel) to reconstruct the string "constructor", retrieves the Function constructor via that decoded property name, and invokes it on a ~15KB cipher-decoded body — executing hidden code whenever a Node.js consumer require()s cdeops, cdeops/client, or cdeops/server. The package otherwise presents itself as a trivial module.exports = global.require('cdeops') passthrough shim and the ESM twin files are indeed one-line re-exports, so the ~15KB opaque executable body is confined to the default CJS resolution path. Custom non-standard string obfuscation of the identifier "constructor", of the global/require/module identifiers, and of the eval'd payload itself is used to defeat static inspection; the obfuscation hides the payload's behavior and its network destinations from reviewers.
Source: ghsa-malware (380de9c4bebb6dbe605106630c161af02376f67c9810af146258afeabbafb901)
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.
Not rated by the source.
13.5.31None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0