Malicious code in @wizloft/harness-kernel (npm)
The @wizloft/harness-kernel npm package version 0.1.1-alpha.3 contains malicious code that executes an obfuscated loader on import. This loader queries Ethereum blockchain endpoints to retrieve a transaction that encodes IP addresses used to fetch XOR-encrypted payloads from attacker-controlled servers. These payloads are decrypted and executed dynamically, enabling remote code execution. The use of on-chain command and control infrastructure makes takedown difficult and the payload contents opaque and attacker-controlled.
AI Analysis
Technical Summary
The malicious code in @wizloft/harness-kernel (version 0.1.1-alpha.3) includes an obfuscated asynchronous immediately-invoked function expression (IIFE) that runs upon module import. It queries Ethereum JSON-RPC endpoints for the latest transaction from a hardcoded address, extracting two IPv4 addresses from the transaction's 'to' field. It then fetches XOR-encrypted payloads from HTTP endpoints at these IPs, decrypts them, and executes the resulting JavaScript code via eval and a detached Node.js process. The obfuscation techniques conceal the network fetch and execution chain behind benign exports. The on-chain command and control mechanism allows the attacker to change the payload delivery endpoints dynamically, making mitigation and takedown challenging. The payloads are attacker-controlled and their contents are not disclosed.
Potential Impact
This malicious package enables remote code execution on any system that imports the affected version, potentially allowing attackers to run arbitrary code. The dynamic retrieval of payloads from attacker-controlled infrastructure and the use of blockchain-based command and control increase the difficulty of detection and remediation. This can lead to system compromise, data exfiltration, or further malware deployment.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately remove and avoid using @wizloft/harness-kernel version 0.1.1-alpha.3. Verify the integrity of dependencies and use trusted sources. Monitor for any suspicious activity related to this package. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Malicious code in @wizloft/harness-kernel (npm)
Description
The @wizloft/harness-kernel npm package version 0.1.1-alpha.3 contains malicious code that executes an obfuscated loader on import. This loader queries Ethereum blockchain endpoints to retrieve a transaction that encodes IP addresses used to fetch XOR-encrypted payloads from attacker-controlled servers. These payloads are decrypted and executed dynamically, enabling remote code execution. The use of on-chain command and control infrastructure makes takedown difficult and the payload contents opaque and attacker-controlled.
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 malicious code in @wizloft/harness-kernel (version 0.1.1-alpha.3) includes an obfuscated asynchronous immediately-invoked function expression (IIFE) that runs upon module import. It queries Ethereum JSON-RPC endpoints for the latest transaction from a hardcoded address, extracting two IPv4 addresses from the transaction's 'to' field. It then fetches XOR-encrypted payloads from HTTP endpoints at these IPs, decrypts them, and executes the resulting JavaScript code via eval and a detached Node.js process. The obfuscation techniques conceal the network fetch and execution chain behind benign exports. The on-chain command and control mechanism allows the attacker to change the payload delivery endpoints dynamically, making mitigation and takedown challenging. The payloads are attacker-controlled and their contents are not disclosed.
Potential Impact
This malicious package enables remote code execution on any system that imports the affected version, potentially allowing attackers to run arbitrary code. The dynamic retrieval of payloads from attacker-controlled infrastructure and the use of blockchain-based command and control increase the difficulty of detection and remediation. This can lead to system compromise, data exfiltration, or further malware deployment.
Mitigation Recommendations
No official patch or remediation is currently available for this malicious package version. Users should immediately remove and avoid using @wizloft/harness-kernel version 0.1.1-alpha.3. Verify the integrity of dependencies and use trusted sources. Monitor for any suspicious activity related to this package. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14287
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a85b4b3acd9273b49251511
Added to database: 08/19/2026, 13:50:43 UTC
Last enriched: 08/19/2026, 14:14:06 UTC
Last updated: 08/19/2026, 23:55:15 UTC
Views: 3
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.