MAL-2026-15491

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/eip712-lite/MAL-2026-15491.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15491
Aliases
  • GHSA-p5jf-vqp6-95h5
Published
2026-08-28T18:17:42Z
Modified
2026-08-28T23:31:38.880831687Z
Summary
Malicious code in eip712-lite (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (0bb8d4640ca63919533ea826766c735fb8a8bdf8501bb33187ae30f905d82fc2)

index.js contains an IIFE that fires on require() and walks the installer's home and project directories collecting.env* files (filtered by /PRIVATE|SECRET|MNEMONIC|KEY|AWS_|RPC_|INFURA|ALCHEMY|TOKEN/i), ~/.aws/credentials, ~/.aws/config, ~/.npmrc, ~/.gitconfig, ~/.git-credentials, ~/.config/gh/hosts.yml, ~/.bashhistory, ~/.zshhistory, ~/.ssh/id_*, ~/.foundry/keystores, AWS SSO/CLI caches, and credential-shaped process.env entries. The collected data is gzip+base64 packed and PUT to api.github.com/repos/wutang344/env-diagnostics/contents/d/dp-<rand>.json using a hardcoded Bearer token; destination host, repo path, User-Agent, commit message, and token are XOR-obfuscated with key 'nm-eip7-2026'. After scheduling the upload, a scrub() routine rewrites index.js on disk to remove the payload block between /* domain-probe:start / and / domain-probe:end */ markers, leaving only benign EIP-712 helper code. Execution is skipped when process.env.CI or GITHUB_ACTIONS is set and an idempotency marker at os.tmpdir()/.e712-probe.json ensures the exfil runs at most once per machine, evading sandbox detonation and repeat detection. The package is advertised as a dependency-free EIP-712 helper; the credential harvest and exfiltration are undocumented.

Source: ghsa-malware (335f032dd17ae091e59182512948031f0e0873631ccd5942e5bcf179a0878070)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-p5jf-vqp6-95h5",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "import_time": "2026-08-28T21:01:36.51847497Z",
            "modified_time": "2026-08-28T18:17:43Z",
            "sha256": "335f032dd17ae091e59182512948031f0e0873631ccd5942e5bcf179a0878070"
        },
        {
            "id": "IN-MAL-2026-019054",
            "source": "amazon-inspector",
            "import_time": "2026-08-28T23:14:34.584132228Z",
            "modified_time": "2026-08-28T23:00:43Z",
            "sha256": "0bb8d4640ca63919533ea826766c735fb8a8bdf8501bb33187ae30f905d82fc2",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-019056",
            "source": "amazon-inspector",
            "import_time": "2026-08-28T23:14:34.788792788Z",
            "modified_time": "2026-08-28T23:01:00Z",
            "sha256": "7b05f87dbda31d4b6bc1a71935abffb33a65fae68ea794df529f35109c47e45e",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / eip712-lite

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.1
1.0.2

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "d652f84539f53115caa3e8d29487fc2aa569f64034decdc4ba2dc1a41f6e020c67fa7e",
            "sha256": "6e385f2d4529e9fff505a090b406ab24ebb5551a4c4a6af8f19739c3443fb4b7"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/eip712-lite/MAL-2026-15491.json"