verify-contract-viem
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-rhm2-cc4p-vfxq
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in verify-contract-viem (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (d1037ebeeb5eff8da3b46c8275a09151604157ddc24db244d76d27d97bfdddad)
bin/cli.js executes whoami and reads os.hostname() / os.userInfo() / os.platform(), then POSTs those values to the hardcoded endpoint https://oobme.kunalsharma0553.workers.dev/r/7bq6fz3l15r9. The destination is an author-controlled Cloudflare Workers URL unrelated to any legitimate contract-verification purpose implied by the package name. The behavior fires when the CLI is invoked (e.g. via npx verify-contract-viem), transmitting installer host identifiers to a third party with no consent, disclosure, or opt-out. The shape matches an out-of-band reconnaissance beacon commonly used in dependency-confusion / typosquat campaigns.
Source: ghsa-malware (96088ea03c9a9a4cb367f7e12257fcb71a50de9e3499af33886f1aea873691fc)
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.
Source: ossf-package-analysis (3996f3daf2ae95942dab5a1961f8e5c1c267aa093c073002b5771860fe826d66)
The OpenSSF Package Analysis project identified 'verify-contract-viem' @ 1.0.0 (npm) as malicious.
It is considered malicious because:
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