Malicious code in @wrenfield/abitype (npm)
The npm package @wrenfield/abitype impersonates the legitimate wevm/abitype library by copying its README and repository metadata. It contains obfuscated malicious code that executes automatically when the package is imported or required. This code downloads and executes attacker-controlled payloads on the victim's machine, posing a severe security risk. Versions 1.2.6 and 1.2.7 of @wrenfield/abitype are affected.
AI Analysis
Technical Summary
The @wrenfield/abitype package is a malicious impersonation of the well-known wevm/abitype library. It copies legitimate documentation and metadata to appear authentic but includes an obfuscated payload in two import-reachable files. This payload uses RC4-decoded strings, control-flow flattening, and anti-debugging techniques to dynamically load Node.js http/https modules, fetch a remote payload via HTTP GET with custom User-Agent headers, follow redirects, write the payload to disk with executable permissions, and execute it detached from the parent process. Because the malicious code is reachable through the package's main entry and marked as sideEffects in package.json, it triggers automatically upon import or require, resulting in arbitrary code execution on the host system.
Potential Impact
Installing or importing the affected versions (1.2.6 and 1.2.7) of @wrenfield/abitype results in execution of attacker-controlled code on the victim's machine. This can lead to full system compromise, unauthorized code execution, and potential persistence. The malicious payload downloads and runs arbitrary binaries, which can evade detection and operate detached from the parent process.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Users should immediately avoid installing or importing @wrenfield/abitype versions 1.2.6 and 1.2.7. Remove these versions if already installed. Prefer using the legitimate wevm/abitype package from trusted sources. Monitor package dependencies carefully to detect and block impersonation or typosquatting attacks. Check vendor advisories or trusted security sources for updates or remediation guidance.
Malicious code in @wrenfield/abitype (npm)
Description
The npm package @wrenfield/abitype impersonates the legitimate wevm/abitype library by copying its README and repository metadata. It contains obfuscated malicious code that executes automatically when the package is imported or required. This code downloads and executes attacker-controlled payloads on the victim's machine, posing a severe security risk. Versions 1.2.6 and 1.2.7 of @wrenfield/abitype are affected.
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 @wrenfield/abitype package is a malicious impersonation of the well-known wevm/abitype library. It copies legitimate documentation and metadata to appear authentic but includes an obfuscated payload in two import-reachable files. This payload uses RC4-decoded strings, control-flow flattening, and anti-debugging techniques to dynamically load Node.js http/https modules, fetch a remote payload via HTTP GET with custom User-Agent headers, follow redirects, write the payload to disk with executable permissions, and execute it detached from the parent process. Because the malicious code is reachable through the package's main entry and marked as sideEffects in package.json, it triggers automatically upon import or require, resulting in arbitrary code execution on the host system.
Potential Impact
Installing or importing the affected versions (1.2.6 and 1.2.7) of @wrenfield/abitype results in execution of attacker-controlled code on the victim's machine. This can lead to full system compromise, unauthorized code execution, and potential persistence. The malicious payload downloads and runs arbitrary binaries, which can evade detection and operate detached from the parent process.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Users should immediately avoid installing or importing @wrenfield/abitype versions 1.2.6 and 1.2.7. Remove these versions if already installed. Prefer using the legitimate wevm/abitype package from trusted sources. Monitor package dependencies carefully to detect and block impersonation or typosquatting attacks. Check vendor advisories or trusted security sources for updates or remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10529
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff6168715ace432f1afe
Added to database: 07/14/2026, 09:20:33 UTC
Last enriched: 07/14/2026, 09:31:54 UTC
Last updated: 07/29/2026, 04:55:05 UTC
Views: 19
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.