Malicious package · npm
Malicious code in web3-mev-error-decoder (npm)
0.1.0No safe version. Remove it.What it does
package.json declares the package's sole runtime dependency as "multicall-error-decoder": "github:outgoingyang/multicall-error-decoder" — a bare GitHub source with no commit SHA and no integrity check. On npm install, npm fetches whatever is currently at that repository's default branch HEAD and executes any lifecycle scripts (preinstall/install/postinstall/prepare) it contains. The resolved contents are mutable: the owner of that repository can change what gets installed at any time, after this package has been published, with no corresponding change to this package's registry artifact or version. The installed package itself ships only a thin wrapper, so the effective behavior on install is governed entirely by code pulled from the external repo.
Reported by ghsa-malware 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.
No fix · Remove and contain
npm uninstall web3-mev-error-decoderSources