Malicious package · npm
Malicious code in vcdxg-eavtg-util (npm)
1.0.1No safe version. Remove it.What it does
vcdxg-eavtg-util@1.0.1 ships a near-empty public API (module.exports = {}) alongside a 1.1 MB opaque sibling file .pkg_config. On require(), index.js reads .pkg_config and XOR-decodes every byte with the single-byte key 0x96 inside a swallowed try/catch, producing a 1.1 MB in-memory buffer. The package metadata is minimal (description utility package, random-looking name, no author or repository), and the exported surface is empty — so the package has no legitimate functional purpose that a require-time decrypt of a large opaque blob would serve. The decoded buffer's length is read but no eval/Function/subprocess/write sink for it is visible in the shipped index.js. The combination of a hollow module, an undocumented large encoded sibling payload, and a trivial XOR obfuscation executed automatically on require is the staged-dropper shape: the decoded bytes are opaque and cannot be confirmed benign, and the require-time decrypt stub has no stated use.
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 vcdxg-eavtg-utilSources