NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

canary-ci-testnpm

Advisory published Updated

canary-ci-test is a confirmed malicious npm package (MAL-2026-5972) that steals credentials and exfiltrates sensitive data (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in canary-ci-test (npm)

MAL-2026-5972
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall canary-ci-test

What this malware does

On npm install, the package's postinstall lifecycle script (postinstall.js) collects installer-side host identifiers — os.hostname(), os.userInfo().username, process.cwd(), platform, and a DNS resolution result — and POSTs them as JSON to the hardcoded endpoint https://opgelost.nu/ (BEACON_URL declared at postinstall.js:15; HTTPS request constructed at line 31; POST issued at line 33; payload assembled at lines 58-66). The fetch fires automatically with no opt-in, and errors are silently swallowed so installers see no indication of the outbound beacon. The behavior is unrelated to any documented package purpose and matches a classic install-time phone-home exfiltration pattern. The package's own metadata declares it to be a scanner test fixture; the executed code, however, is functional exfiltration that runs against any machine that installs it.

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.

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

a572fd7ffa39ecc1ba62c71d1dfe31722bfbe0c4118b7ab8400c1d5f4a61ba0f
5a67984713228b20760c5a4518327079b80f5b0f378b3ff71b1c4d592bffff6f

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for canary-ci-test (version 1.0.0).

  2. If you installed it — respond

    canary-ci-test is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If canary-ci-test was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. canary-ci-test on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-006885GHSA-6p9p-wp4g-8546

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks canary-ci-test-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

canary-ci-test (npm) malicious package — MAL-2026-5972 | O3 Security