eip712-lite (npm) · Malicious Code
Affects eip712-liteSource GCVE Database
Malicious package : remove eip712-lite and rotate any secrets on hosts that installed it.
Data as of 9 Sep 2026, 20:53 UTC
Malicious package
Published to npm · OSV MAL-2026-15491
What to do
Remove eip712-lite 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 |
|---|---|---|
| npmeip712-lite | 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 eip712-lite npm package versions 1.0.1 and 1.0.2 contain malicious code that executes upon requiring the package. This code collects sensitive credential files and environment variables from the user's system, compresses and encodes the data, and exfiltrates it to a GitHub repository using a hardcoded and obfuscated bearer token. After exfiltration, the malicious payload in the package file is overwritten to hide its presence. The package falsely advertises itself as a dependency-free EIP-712 helper. Execution is designed to evade detection by running only once per machine and skipping execution in CI or GitHub Actions environments. Any system with this package installed should be considered fully compromised, and all secrets should be rotated immediately from a different machine.