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.=-
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.
{
"iocs": {
"files": [
{
"digests": {
"sha256": "50161cf9698740916de36e2cbad39a7ef99b748962016edadfa388427e4a72c1"
},
"note": "canary.js of corsair-nav@99.9.9; GET http://65.108.241.149:8080/canary on install.",
"paths": [
"canary.js"
],
"source": "PACKAGE_ARCHIVE"
},
{
"digests": {
"sha256": "4363516cccbca5dfaa2c1c5c0de8b068a96d1ab2a897a5aca72bfeb3f62c750e"
},
"note": "preinstall runs `node canary.js || true`, which checks for CTF flag files and sends a GET to hxxp://65.108.241[.]149:8080/canary.",
"paths": [
"package.json"
],
"source": "PACKAGE_ARCHIVE"
},
{
"digests": {
"sha256": "50161cf9698740916de36e2cbad39a7ef99b748962016edadfa388427e4a72c1"
},
"note": "Executed by the preinstall script of corsair-nav@99.9.9.",
"paths": [
"canary.js"
],
"source": "PACKAGE_ARCHIVE"
}
],
"ips": [
"65.108.241.149"
],
"urls": [
"http://65.108.241.149:8080/canary"
]
},
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-023152",
"import_time": "2026-12-02T07:21:12.087620844Z",
"modified_time": "2026-12-02T07:09:07Z",
"sha256": "85f16c472919a4698db6cc1d442a519c56df59714efd8c816a6484261527eb5b",
"source": "amazon-inspector",
"versions": [
"99.9.9"
]
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"evidence_files": [
{
"path": "canary.js",
"sha256": "50161cf9698740916de36e2cbad39a7ef99b748962016edadfa388427e4a72c1",
"tlsh": "c0f0058473581705d5d04378d06f1785e2f3f0d09e854880a88c20c312385451aa68b8"
}
],
"package_integrity": [
{
"filename": "corsair-nav-99.9.9.tgz",
"hashes": {
"sha1": "ea3819ed85d8f331555bd5530c854470c1f429c8",
"sha512_sri": "sha512-l81A49BacynaP0HSd5dAc1ndKzF5H+iv27yhNaTXB2UblN+nHlAm0q5hBVSZfk/sWI9nbYhq/WxyRELDRPoYoA=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/corsair-nav/MAL-2026-20957.json"