canary-ci-test (npm) · Malicious Code
Affects canary-ci-testSource GCVE Database
Malicious package : remove canary-ci-test and rotate any secrets on hosts that installed it.
Data as of 15 Jul 2026, 12:55 UTC
Malicious package
Published to npm · OSV MAL-2026-5972
What to do
Remove canary-ci-test from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmcanary-ci-test | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'canary-ci-test' version 1.0.0 contains malicious code that executes during installation. Its postinstall script collects host identifiers such as hostname, username, current working directory, platform, and DNS resolution results, then silently sends this data to a hardcoded external URL without user consent. This behavior is unrelated to the package's declared purpose and constitutes install-time data exfiltration. Any system with this package installed should be considered fully compromised, and all secrets and keys on that system should be rotated. Removal of the package does not guarantee full remediation due to potential further compromise.