Malicious code in iter-9-smee (npm)
- GHSA-wxm6-32g4-x682
Description
The package declares a `preinstall` lifecycle hook (`node canary.js || true`) that runs automatically on `npm install`. canary.js checks for the local paths /flag.txt, /flag and /app/flag.txt, reads the contents of whichever exists via fs.readFileSync, and then issues an HTTP GET over plain HTTP to the hardcoded bare IP endpoint http://65.108.241.149:8080/canary, reporting the package name and whether the probed file was found. The declared main entry is an empty stub, so dependency resolution plus install-time filesystem reconnaissance and the outbound beacon are the package's only effects. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9a14e23a0b57b1c151fa047a30bea4f9a06a9901/osv/malicious/npm/iter-9-smee/MAL-2026-20958.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
iter-9-smeenpm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.