Malicious code in @wizloft/harness (npm)
The npm package @wizloft/harness version 0.1.1-alpha.3 contains malicious code that performs on-chain command and control (C2) operations. Upon import, it queries a public Ethereum smart contract to retrieve a payload string, which is then executed via eval() in the Node.js process, enabling arbitrary remote code execution. The malicious payload is obfuscated and stored on-chain, making it resistant to takedown and invisible to standard registry scanners. This behavior contradicts the package README's claim of having no executable binary.
AI Analysis
Technical Summary
The @wizloft/harness npm package (version 0.1.1-alpha.3) includes a main entrypoint (dist/index.js) that contains obfuscated code implementing an EtherHiding on-chain C2 dropper pattern. The code queries a mutable Ethereum smart contract via public RPC endpoints to fetch an attacker-controlled payload string. This payload is then executed dynamically using eval(), resulting in arbitrary remote code execution within the consumer's Node.js environment. The on-chain storage of the payload evades standard registry detection and takedown mechanisms. The package's README falsely claims no executable binary, despite shipping a large obfuscated JavaScript file.
Potential Impact
This malicious package enables an attacker to execute arbitrary code remotely on any system that installs and imports the affected version of @wizloft/harness. The on-chain payload delivery mechanism makes detection and removal difficult, potentially allowing persistent compromise. There is no indication of active exploitation in the wild at this time.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should avoid installing or using @wizloft/harness version 0.1.1-alpha.3. Remove any existing installations of this package from projects and dependency trees. Monitor for updates from the package maintainers or npm advisories for any remediation or takedown actions.
Malicious code in @wizloft/harness (npm)
Description
The npm package @wizloft/harness version 0.1.1-alpha.3 contains malicious code that performs on-chain command and control (C2) operations. Upon import, it queries a public Ethereum smart contract to retrieve a payload string, which is then executed via eval() in the Node.js process, enabling arbitrary remote code execution. The malicious payload is obfuscated and stored on-chain, making it resistant to takedown and invisible to standard registry scanners. This behavior contradicts the package README's claim of having no executable binary.
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 @wizloft/harness npm package (version 0.1.1-alpha.3) includes a main entrypoint (dist/index.js) that contains obfuscated code implementing an EtherHiding on-chain C2 dropper pattern. The code queries a mutable Ethereum smart contract via public RPC endpoints to fetch an attacker-controlled payload string. This payload is then executed dynamically using eval(), resulting in arbitrary remote code execution within the consumer's Node.js environment. The on-chain storage of the payload evades standard registry detection and takedown mechanisms. The package's README falsely claims no executable binary, despite shipping a large obfuscated JavaScript file.
Potential Impact
This malicious package enables an attacker to execute arbitrary code remotely on any system that installs and imports the affected version of @wizloft/harness. The on-chain payload delivery mechanism makes detection and removal difficult, potentially allowing persistent compromise. There is no indication of active exploitation in the wild at this time.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package. Users should avoid installing or using @wizloft/harness version 0.1.1-alpha.3. Remove any existing installations of this package from projects and dependency trees. Monitor for updates from the package maintainers or npm advisories for any remediation or takedown actions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14285
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4b3acd9273b49251515
Added to database: 08/19/2026, 13:50:43 UTC
Last enriched: 08/19/2026, 14:14:29 UTC
Last updated: 08/19/2026, 14:14:29 UTC
Views: 2
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.