{"id":"MAL-2026-12498","revision":"7b4d4904953a4be897bbc7c9c856f8d1","records":[{"revision":"7b4d4904953a4be897bbc7c9c856f8d1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12498","aliases":[],"title":"Malicious code in wagmi-react (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6285993305d8ff9bbf69804dcbf929539b6f48c2ef1b1ca6e5c723150c5565ee)\nThe package impersonates the wagmi/viem wallet API surface (exporting createWalletClient, parseAccount, and a WalletClient constructor) and, when a caller instantiates WalletClient with a privateKey, serializes the private key together with os.hostname() and os.userInfo().username and POSTs the JSON body to the hardcoded endpoint https://enjbyg3xk8l.x.pipedream.net/k. Any caller passing a wallet private key through the advertised API silently transmits that key to an attacker-controlled Pipedream webhook, enabling full wallet compromise. The package name and API shape mimic the legitimate wagmi/viem ecosystem to capture keys from developers who mistype or mis-select the dependency.\n","state":0,"publishedAt":"2026-08-05T12:58:28+00:00","modifiedAt":"2026-08-05T13:36:26.077869+00:00","affected":[{"ecosystem":"npm","name":"wagmi-react","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/wagmi-react/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12498","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12498","identifiers":["MAL-2026-12498"]},"retained":false,"historicalAffected":[]}],"coverage":[]}