MAL-2026-15595
Dashboard / Malicious Package / MAL-2026-15595
MAL-2026-15595
Summary: Malicious code in generate-schema-viem (npm)
Details: Source: amazon-inspector (82b43ea1e723ebd0c0ef5c4cd564b106089f9b5f9fd119dcac26dc1e130a14bf) Package publishes as `generate-schema-viem` but exposes a bin named `generate-schema-ethers` (a dependency-confusion / typosquat shape against the `generate-schema-*` namespace). On CLI invocation, `bin/cli.js` executes `whoami`, reads `os.hostname()` and platform, and POSTs `{pkg, whoami, hostname, platform}` to the hardcoded endpoint `https://oobme.kunalsharma0553.workers.dev/r/7bq6fz3l15r9`. The manifest's own description self-labels the package as an OOB callback. Installer identity is leaked to an external attacker-controlled endpoint whenever the tool is invoked on a developer machine or CI runner. Source: ghsa-malware (3596a322804d1a06706535be278de7c35e3b15c323a59c03cccc5b1b3ba143f2) 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 (6300576c16b112520e6a4cde256e38ce14736ec575b8c94e58a0a9163c7dad78) The OpenSSF Package Analysis project identified 'generate-schema-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.
References: https://www.npmjs.com/package/generate-schema-viem/v/1.0.0, https://github.com/advisories/GHSA-72cf-ghpg-mj8h
Affected packages
Package
Name: generate-schema-viem
Purl: pkg:npm/generate-schema-viem
Affected ranges
Type: SEMVER
Events:
