Malicious code in verify-contract-viem (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-15599
Published--- _-= 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: - The package communicates with a domain associated with malicious activity. - The package executes one or more commands associated with malicious behavior.
- Source published
- 30 Aug 2026 08:03:01 UTC
- Source modified
- 3 Sep 2026 06:00:07 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.