MAL-2026-20957: Malicious package corsair-nav

Malicious package. corsair-nav@99.9.9 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...

Malicious code, npm, CWE-506

Type
Malicious package
Ecosystem
npm
Packages named
1 package
What to do
Remove and rotate secrets
Reported
2 Dec 2026

Details

Weakness
CWE-506
Published
2 Dec 2026
Last change
2 Dec 2026

Malicious packages

Remove these from every system and rotate credentials

  • corsair-nav npm, Every published version is malicious. Remove it

Advisories

Vendor and security advisories

Related