MAL-2026-20957: Malicious code in corsair-nav (npm)

Published Dec 1, 2026
·
Updated

corsair-nav@99.9.9 is a dependency-confusion package with no functional code, published at version 99.9.9 so that it outranks a same-named private package. Its preinstall script runs node canary.js || true on npm install, which checks whether /flag.txt, /flag or /app/flag.txt exists and sends an HTTP GET to hxxp://65.108.241[.]149:8080/canary with the package name and a found=yes/no flag in the query string, telling the publisher's server that the package was installed and whether a flag file is present. The npm account blabla123124 published corsair-nav and 2 sibling packages with the same script within four minutes on 2026-12-01.

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (85f16c472919a4698db6cc1d442a519c56df59714efd8c816a6484261527eb5b) 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 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.

Affected Software

1 affected component
npm/corsair-nav=99.9.9

Event History

Dec 2, 2026
Advisory Published
via OSV·07:09 AM
Data Sourced
via OSV·07:09 AM
DescriptionAffected Software
Dec 3, 2026
Updated
via OSV·05:45 AM
Description

Frequently Asked Questions

1

What conditions are required for the package's behavior to run?

The behavior runs during npm installation because corsair-nav@99.9.9 declares a preinstall lifecycle script. No application import or runtime use is required.

2

What information could be sent from an affected host?

The script checks for /flag.txt, /flag, and /app/flag.txt, then sends the probe outcome and a package marker to a hardcoded IP address over plain HTTP. The description states that file contents may also be confirmed to the endpoint operator.

3

Can this be disabled through package configuration?

No caller-configurable control is described. The outbound transmission is described as unconditional.

4

How can I determine whether an environment is affected?

Check dependency and lockfiles for corsair-nav version 99.9.9, including transitive dependencies. Review npm install activity and outbound HTTP requests to 65.108.241.149:8080/canary from systems where that version was installed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203