@wrenfield/viem
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-pm4g-83cj-7858
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @wrenfield/viem (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (8ef631151a9f361646ced489dc5cc912a455332dee753090cdb89b94ba74f2f7)
@wrenfield/viem republishes the viem codebase under an unrelated npm scope while keeping the upstream homepage (https://viem.sh) and repository (wevm/viem) metadata. The package itself contains no install lifecycle hooks and its CJS main is a pure re-export of viem's public API with no top-level side effects, network I/O, eval, child_process, or filesystem access. The notable change versus upstream is in package.json line 172, which rewrites the abitype dependency to npm:@wrenfield/[email protected] — a load-bearing transitive substituted with a same-scope sibling package. Consumers who install @wrenfield/viem (whether by name confusion against the legitimate viem package or via social engineering) silently pull in @wrenfield/abitype in place of the legitimate abitype, giving the @wrenfield scope owner control over a core ABI-encoding dependency used throughout viem. The conveyance shape (verbatim upstream code + sibling-scope dependency redirection + retained upstream branding) is the namespace-abuse pattern, but the actual payload, if any, lives in @wrenfield/abitype rather than this package. Routing to human review so a reviewer can inspect @wrenfield/abitype and decide whether to publish a coordinated advisory.
Source: ghsa-malware (ccd0dfbc1cb0be7cc737ea83ab5c160cc3276259c90981b966ec15f2479ac99a)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0