npm · Malicious package advisory
Malware@walknpm/todo-cli
GHSA-q4qv-538q-m27m
Malicious code in @walknpm/todo-cli (npm)
Details
**Severity:** Critical **Affected versions:** `= 2.0.1` @walknpm/[email protected] is a new release of a todo-list CLI and web app whose only change from 2.0.0 is a postinstall script, `sh scripts/miner.sh`, that runs on npm install. The script downloads a gzip carrier from amplify-gursha-dev-121835-deployment.s3.amazonaws.com to /tmp/.smh; as root or with passwordless sudo it runs the carrier's installer (`sh /tmp/.smi agent`), which installs an XMRig miner plus two helper daemons under random system-component names and persists them as systemd units or @reboot cron entries, and otherwise it extracts the bundled XMRig binary to ~/.local/lib/<random name>/ and mines Monero to networkservicesupp.flashhub.net:8443 over TLS with a hardcoded wallet. The npm account walknpm published the same scripts/miner.sh in [email protected] within 27 seconds of this version on 2026-10-26, and it is byte-identical to the one in @sudobility/testomniac_client (MAL-2026-18129).## Source: ossf-package-analysis (8c741f8bd0012bceb8789b8e2fc0ac836c5ccb88a348918365af4850f1576be4) The OpenSSF Package Analysis project identified '@walknpm/todo-cli' @ 2.0.1 (npm) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/eac9baa31aaebdf7ba1cb053549c9fcddb5bb60f/osv/malicious/npm/@walknpm/todo-cli/MAL-2026-18320.json)) **References:** - https://github.com/ossf/malicious-packages/blob/eac9baa31aaebdf7ba1cb053549c9fcddb5bb60f/osv/malicious/npm/@walknpm/todo-cli/MAL-2026-18320.json - https://osv.dev/vulnerability/MAL-2026-18129 - https://www.npmjs.com/package/@walknpm/todo-cli - https://github.com/ossf/malicious-packages/blob/4f27542fecd13e7f077489c04a2f3503d1189f32/osv/malicious/npm/@walknpm/todo-cli/MAL-2026-18320.json - https://www.npmjs.com/package/@walknpm/todo-cli/v/2.0.1 - https://github.com/advisories/GHSA-q4qv-538q-m27m
Compromised versions (1)
- = 2.0.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.