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

corsair-navnpm

Advisory published Updated

corsair-nav is a confirmed malicious npm package (MAL-2026-20957) that opens a backdoor for remote access (malicious version 99.9.9). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in corsair-nav (npm)

MAL-2026-20957
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall corsair-nav

What this malware does

[email protected] declares a preinstall lifecycle script that runs canary.js on npm install. The script checks for specific filesystem paths (/flag.txt, /flag, /app/flag.txt) using fs.existsSync/fs.readFileSync and then issues an http.request to http://65.108.241.149:8080/canary with the probe outcome and a package marker as query data. The destination is a hardcoded bare IP reached over plain HTTP, unrelated to any registry or declared publisher infrastructure, and the transmission is unconditional and not caller-configurable. index.js is an empty stub, so the install-time filesystem probe and outbound beacon are the package's entire behavior. The result is unconsented host reconnaissance: installing the package confirms host reachability, file presence, and file contents to the operator of that endpoint. The implausibly high version number (99.9.9) is consistent with a resolution-winning placeholder rather than a real release line.

Malicious versions

1 flagged
99.9.9

Indicators of compromise (SHA-256)

85f16c472919a4698db6cc1d442a519c56df59714efd8c816a6484261527eb5b

Detection & response playbook

Backdoor / remote access
  1. Find it

    Search your lockfiles and build artifacts for corsair-nav (version 99.9.9).

  2. If you installed it — respond

    corsair-nav establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.

  3. Did it already run?

    If corsair-nav 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. corsair-nav on npm has been identified as a malicious package (version 99.9.9 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023152

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks corsair-nav-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.

Explore

corsair-nav (npm) malicious package — MAL-2026-20957 | O3 Security