@csc-protocol/token-saver npm package is malware — full machine compromise, rotate all secrets
Severity: critical · Patch status: no-fix-needed · Since 2026-12-02
GitHub's advisory database published GHSA-rvwc-p6fv-6x7f on 2026-12-02 flagging the npm package @csc-protocol/token-saver as embedded malicious code (CWE-506). Every published version (= 0) is affected and no patched version exists, so the package cannot be safely used at any version. GitHub's guidance states that any computer with the package installed or running should be considered fully compromised, implying the malware grants outside actors full control of the host. Anyone who installed it — directly or transitively — should treat all secrets and keys on that machine as stolen. The package reportedly sees ~3,725 downloads per month. Removal of the package alone is not guaranteed to remove the malicious software it installed. No CVE is assigned; this is a malware takedown-style advisory rather than a fixable vulnerability.
What to do
- Rotate all secrets, keys, tokens and credentials stored on or accessible from any machine where the package was installed, using a clean machine
- Remove @csc-protocol/token-saver from all projects and lockfiles and audit for transitive dependency on it
- Rebuild affected machines from trusted images; do not assume uninstalling the package removed the malware
- Review logs and accounts for signs of misuse of exfiltrated credentials
- Block the package in internal registries and CI pipelines
Sources
All live incidents on Threat Watch