legacy-web3-extension (npm) · Malicious Code
Affects legacy-web3-extensionSource GCVE Database
Malicious package : remove legacy-web3-extension and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 12:20 UTC
Malicious package
Published to npm · OSV MAL-2024-2602
What to do
Remove legacy-web3-extension from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmlegacy-web3-extensionpkg:npm/legacy-web3-extensionOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The legacy-web3-extension npm package version 1.0.0 contains malicious code. This threat involves a malicious package distributed via the npm ecosystem, potentially impacting users who install this specific version.