cti-defense npm package: malicious code compromises hosts and exposes secrets
Severity: critical · Patch status: no-fix-needed · Since 2026-11-22
The npm package cti-defense version 1.0.0 was published to the GitHub Advisory Database as malware under GHSA-c4c4-vhh9-j3h4. The advisory states that any computer with this package installed or running should be considered fully compromised, with possible full control given to an outside entity. Secrets and keys stored on affected machines should be rotated immediately from a different computer. Removing the package is recommended, but the advisory warns that removal may not eliminate all malicious software installed as a result. No patched versions are listed, and the package has no known source code. The advisory was published and reviewed on 2026-11-22 and is classified as CWE-506 Embedded Malicious Code.
What to do
- Immediately identify and remove cti-defense 1.0.0 from all developer machines, build systems, CI/CD runners, and production environments.
- Isolate any host where cti-defense was installed or run and treat it as fully compromised pending forensic review.
- From a different, trusted computer, rotate all secrets, API keys, tokens, SSH keys, and credentials that were accessible on affected hosts.
- Audit npm dependency trees, lockfiles, caches, and CI logs for cti-defense 1.0.0 and any unexpected install scripts or outbound connections.
- Review affected systems for persistence mechanisms and additional malicious software before returning them to service.
- Notify security and incident response teams, and monitor for credential misuse or unauthorized access originating from affected environments.
Sources
All live incidents on Threat Watch