MAL-2026-20958: Malicious code in iter-9-smee (npm)

Published Dec 2, 2026
·
Updated

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

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

Affected Software

1 affected component
npm/iter-9-smee=99.9.9

Event History

Dec 2, 2026
Advisory Published
via OSV·07:08 AM
Data Sourced
via OSV·07:08 AM
DescriptionAffected Software

Frequently Asked Questions

1

What must occur for the package's code to run?

Its preinstall lifecycle hook runs automatically during npm install. The hook invokes node canary.js, and the use of || true means an error from that script will not stop the installation.

2

What systems are most relevant to assess for exposure?

Systems that installed the npm package iter-9-smee should be assessed, particularly environments where /flag.txt, /flag, or /app/flag.txt may exist. The script checks those local paths and reads the contents of the first applicable file.

3

What network activity should defenders look for?

Look for outbound plain-HTTP GET requests to 65.108.241.149 on port 8080, targeting the /canary path. The request reports the package name and whether a probed file was found.

4

What can be done if the package cannot immediately be removed?

Prevent outbound connectivity to 65.108.241.149:8080 and avoid installing the package in environments containing sensitive files at the probed paths. Because the behavior occurs at install time, controls should be applied before any npm install operation involving this package.

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