MAL-2026-10209: Malicious code in auto-debug-tool (npm)
The npm package 'auto-debug-tool' versions 1.0.0, 1.0.2, and 1.0.3 contains malicious code that executes automatically during installation on Windows systems. The package.json defines a postinstall hook that runs a hidden PowerShell command to download and execute an unsigned binary from a mutable branch of a personal GitHub repository. This execution is concealed by skipping non-Windows platforms and development environments, and by swallowing errors, allowing the payload to remain dormant on developer machines while activating on Windows installations and CI environments.
AI Analysis
Technical Summary
The 'auto-debug-tool' npm package versions 1.0.0, 1.0.2, and 1.0.3 includes a postinstall script that triggers a hidden PowerShell process on Windows to download and run an executable from an unverified source on GitHub. The downloaded binary's publisher does not match the npm package publisher, and no integrity checks are performed on the fetched executable. The malicious behavior is gated to avoid execution on non-Windows platforms and when NODE_ENV is set to development, with errors suppressed to conceal the activity. This design enables the payload to evade detection during development and activate only in targeted environments.
Potential Impact
The malicious postinstall script can lead to arbitrary code execution on Windows systems during package installation, potentially compromising the host system. Because the executable is downloaded from a mutable and untrusted source without verification, it may be replaced or updated by the attacker at any time, increasing the risk of persistent or evolving malicious payloads. The concealment techniques reduce the likelihood of detection during development or on non-Windows platforms, increasing the chance of successful compromise in production or CI environments.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing versions 1.0.0, 1.0.2, and 1.0.3 of 'auto-debug-tool'. Inspect package.json files for suspicious postinstall scripts, especially those invoking hidden PowerShell commands or downloading executables from untrusted sources. Consider removing or replacing this package with a trusted alternative. Monitor for updates from the package maintainer or vendor advisory for any official fixes or guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
MAL-2026-10209: Malicious code in auto-debug-tool (npm)
Description
The npm package 'auto-debug-tool' versions 1.0.0, 1.0.2, and 1.0.3 contains malicious code that executes automatically during installation on Windows systems. The package.json defines a postinstall hook that runs a hidden PowerShell command to download and execute an unsigned binary from a mutable branch of a personal GitHub repository. This execution is concealed by skipping non-Windows platforms and development environments, and by swallowing errors, allowing the payload to remain dormant on developer machines while activating on Windows installations and CI environments.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'auto-debug-tool' npm package versions 1.0.0, 1.0.2, and 1.0.3 includes a postinstall script that triggers a hidden PowerShell process on Windows to download and run an executable from an unverified source on GitHub. The downloaded binary's publisher does not match the npm package publisher, and no integrity checks are performed on the fetched executable. The malicious behavior is gated to avoid execution on non-Windows platforms and when NODE_ENV is set to development, with errors suppressed to conceal the activity. This design enables the payload to evade detection during development and activate only in targeted environments.
Potential Impact
The malicious postinstall script can lead to arbitrary code execution on Windows systems during package installation, potentially compromising the host system. Because the executable is downloaded from a mutable and untrusted source without verification, it may be replaced or updated by the attacker at any time, increasing the risk of persistent or evolving malicious payloads. The concealment techniques reduce the likelihood of detection during development or on non-Windows platforms, increasing the chance of successful compromise in production or CI environments.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing versions 1.0.0, 1.0.2, and 1.0.3 of 'auto-debug-tool'. Inspect package.json files for suspicious postinstall scripts, especially those invoking hidden PowerShell commands or downloading executables from untrusted sources. Consider removing or replacing this package with a trusted alternative. Monitor for updates from the package maintainer or vendor advisory for any official fixes or guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10209
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ae0768715ace438f8511
Added to database: 07/13/2026, 09:21:11 UTC
Last enriched: 07/13/2026, 09:57:40 UTC
Last updated: 07/13/2026, 19:03:00 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.