Malicious code in sysnode (npm)
The npm package sysnode contained malicious code that deployed a Windows surveillance dropper, disguised as a system configuration tool. Upon invocation, it silently installed Python and surveillance libraries (keylogger, clipboard scraper, screen capture, UI automation), then executed an encrypted payload.
- Disclosed
- Last updated
- Blast radius
- Windows systems that installed and executed the sysnode package
- Ecosystems
- Attack vectors
- Affected entities
- sysnodenpm package containing malicious surveillance code
The npm package sysnode was identified as containing malicious code designed to establish a surveillance stack on Windows systems. The package self-described as a 'System binary configuration tool' but contained hidden malicious functionality triggered on CLI invocation or require() import.\n\nThe attack chain involved downloading and silently installing Python 3.12.3 via winget or direct curl from python.org, then using pip to install surveillance-related libraries: keyboard, pyperclip, mss, pyautogui, uiautomation, and comtypes. These libraries form a standard keylogging, clipboard scraping, screen capture, and UI automation toolkit.\n\nThe actual capture and exfiltration logic was obfuscated using pyarmor 9.2.4 trial encryption in a native.pyd module, preventing code review. The payload was executed with shell:false and explicit comments indicating intent to run without visible command windows, maximizing stealth.\n\nThe package metadata (generic keywords, placeholder author 'ABC') did not match the observed malicious behavior, indicating a deliberate cover story. The incident was identified and credited to the OpenSSF malicious-packages repository.
Indicators of compromise
- Packages
- sysnode
Remediation
- Immediately uninstall sysnode from all systems
- Audit npm package.json and lock files for sysnode dependency
- Scan Windows systems that may have executed sysnode for unauthorized Python installations and surveillance libraries
- Review system logs for unexpected Python installer execution and pip package installations
- Check for unauthorized keyboard, clipboard, screen capture, or UI automation activity
- Regenerate credentials and review clipboard history on affected systems
- Monitor for exfiltration of sensitive data from affected machines
- Implement npm package scanning and verification in CI/CD pipelines to detect malicious packages before installation
Sources
- GitHub Advisory GHSA-fc7r-grx4-fpr9 · GitHub Advisory Database
Cite this entry
"Malicious code in sysnode (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 27, 2026; last updated July 27, 2026. https://supplychainattack.org/incident/malicious-code-in-sysnode-npm-1m4k6q
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malicious code in @antv/g-webgl-compute (npm)
The npm account `atool` was compromised and used to publish 631 malicious versions across 314 npm packages, including @antv/g-webgl-compute, as part of the "Mini Shai-Hulud" supply chain attack campaign. Each malicious version injects a preinstall hook executing an obfuscated Bun script that exfiltrates credentials and establishes persistence via CI/CD workflow injection and system daemons.
npmOtherAccount takeoverCompromised packageMalicious commit - containedcritical
Malicious code in @antv/g2-ssr (npm)
The npm account `atool` was compromised and used to publish 631 malicious versions across 314 npm packages, including @antv/g2-ssr, in a 22-minute automated burst. Each malicious version injects a preinstall hook executing an obfuscated Bun script that exfiltrates credentials and establishes persistence via CI/CD workflow injection and system daemons.
npmAccount takeoverCompromised packageMalicious commit - containedcritical
Malicious code in @antv/g6-extension-3d (npm)
A threat actor compromised the npm account `atool` and published 631 malicious versions across 314 npm packages, including @antv/g6-extension-3d, in a 22-minute automated burst. Each malicious version injects a preinstall hook executing an obfuscated Bun script that exfiltrates credentials and establishes persistence via CI/CD workflow injection and system daemons.
npmOtherAccount takeoverCompromised packageMalicious commit - containedcritical
Malicious code in @antv/gi-assets-basic (npm)
A threat actor compromised the npm account 'atool' and published 631 malicious versions across 314 npm packages, including @antv/gi-assets-basic, in an automated 22-minute burst. Each malicious version injects a preinstall hook executing an obfuscated Bun script that exfiltrates credentials and establishes persistence via CI/CD workflow injection and system daemons.
npmOtherAccount takeoverCompromised packageMalicious commit