MAL-2026-4207

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/eth-wallet-sentinel/MAL-2026-4207.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4207
Aliases
  • GHSA-7r6r-hqg7-f6mq
Published
2026-05-21T00:00:00Z
Modified
2026-05-26T06:02:29.752397612Z
Summary
Malicious code in eth-wallet-sentinel (npm)
Details

A coordinated supply-chain attack comprising 10 npm packages published by maintainer ddjidd5640 (1623682356@qq.com) within a 48-hour window (2026-05-19T03:55Z – 2026-05-21T04:31Z). All packages masquerade as legitimate Web3/DeFi developer security tools (MCP servers) while silently exfiltrating credentials, wallet keys, shell history, SSH keys, and environment variables on install and on every MCP tool invocation. The postinstall hook fetches a dynamic C2 webhook URL from https://ddjidd564.github.io/defi-security-best-practices/config.json (hardcoded fallback: https://webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233). At runtime, scanner.js performs a recursive credential sweep on every MCP tool call targeting cryptocurrency wallets (~/.ethereum, ~/.bitcoin, ~/.solana), SSH keys, dotfiles, and environment variables. MCP tool handlers in index.js are named to solicit private key material directly from the user or AI agent (e.g., verify_key_format: “Private key or key material to validate”).

eth-wallet-sentinel presents itself as an Ethereum wallet monitoring MCP server. No clean prior version is known; version 1.0.9 carries the malicious postinstall hook and scanner.js payload from first publication.


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

Source: amazon-inspector (3f0a8cda02089521fefdaa92b8e658628300a5b2df2419b5d01ca1b51f4231bd)

Package advertises itself as a local Ethereum wallet activity monitor published by 'DeFi Security Alliance'. In reality, every MCP tools/call handler invocation in index.js (lines 71-79) routes the tool name, the full caller-supplied arguments (Ethereum addresses and transaction hashes), and host identifiers (os.hostname(), os.userInfo().username, arch, total memory, presence of GPGKEY and SSHAUTHSOCK env vars) via axios POST to a webhook destination. The destination is loaded dynamically at runtime by getWebhook(), which fetches https://ddjidd564.github.io/defi-security-best-practices/config.json (index.js:7-15) and uses data.webhook as the POST target, with a fallback to https://webhook.site/8d334534-1c63-4f4f-a0d7-95c446c8b233. The GitHub Pages user 'ddjidd564' has no relationship to the claimed publisher, and the configuration JSON is mutable, providing a classic C2 indirection that lets the operator rotate the exfiltration endpoint at any time without republishing the package. The tool's user-visible output is hardcoded mock data (fake 'recentevents', placeholder 0x... addresses, fabricated risk scores) — the advertised functionality is a façade; the package's real and only function is harvesting wallet addresses and host context from operators who use it. wallet.json additionally ships bait fields (a Uniswap router address with a 'mnemonic' and a malformed 'privatekey'), reinforcing the deceptive profile. This is a silent-relay / active-attack supply-chain payload targeting wallet-security operators.

Source: ghsa-malware (ada5127f7b4f01e57e85ceb9104abf24a36588ef740b092a27509766e4c6658f)

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": [
        {
            "source": "ghsa-malware",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "sha256": "ada5127f7b4f01e57e85ceb9104abf24a36588ef740b092a27509766e4c6658f",
            "modified_time": "2026-05-22T02:43:00Z",
            "id": "GHSA-7r6r-hqg7-f6mq",
            "import_time": "2026-05-22T03:24:54.633205158Z"
        },
        {
            "source": "amazon-inspector",
            "sha256": "17ddaa9a220790ae56841039efcd19f37774dd0c9e9047f7f1db0d0b6fd3f650",
            "modified_time": "2026-05-21T18:48:31Z",
            "import_time": "2026-05-26T05:51:43.445902354Z",
            "id": "IN-MAL-2026-003992",
            "versions": [
                "2.1.2"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "1d9be6c6d56d96c56b0f78f4bf754df19fd523bab57fdc2d01786f4e9dccde65",
            "modified_time": "2026-05-21T16:19:24Z",
            "import_time": "2026-05-26T05:51:31.3578477Z",
            "id": "IN-MAL-2026-003889",
            "versions": [
                "2.0.1"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "3f0a8cda02089521fefdaa92b8e658628300a5b2df2419b5d01ca1b51f4231bd",
            "modified_time": "2026-05-21T02:54:47Z",
            "import_time": "2026-05-26T05:51:09.767727641Z",
            "id": "IN-MAL-2026-003711",
            "versions": [
                "1.0.8"
            ]
        },
        {
            "sha256": "4c22aa0e482e95cec0fd78de5bf3df2a96ac87c42e69bc2bd3eca4cc4fd9bfc3",
            "source": "amazon-inspector",
            "modified_time": "2026-05-21T22:48:45Z",
            "import_time": "2026-05-26T05:51:51.56729478Z",
            "id": "IN-MAL-2026-004059",
            "versions": [
                "2.1.7"
            ]
        },
        {
            "sha256": "9f30486af5356054f2c477239b2f083db2a67179e44f30d8fb2454dee021285f",
            "source": "amazon-inspector",
            "modified_time": "2026-05-21T14:08:45Z",
            "import_time": "2026-05-26T05:51:27.502239636Z",
            "id": "IN-MAL-2026-003856",
            "versions": [
                "2.0.0"
            ]
        },
        {
            "sha256": "c34102a5feede6d95cee05f7eed95cf1c41cdebb24b526d4c036e3584899b1b2",
            "source": "amazon-inspector",
            "modified_time": "2026-05-21T23:12:28Z",
            "import_time": "2026-05-26T05:51:54.457367085Z",
            "id": "IN-MAL-2026-004085",
            "versions": [
                "2.1.9"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "376874b9bc505271987415a4b4898a9db3122cf7116241e8fa4b81f04fdcda14",
            "modified_time": "2026-05-21T16:41:11Z",
            "import_time": "2026-05-26T05:51:34.979788337Z",
            "id": "IN-MAL-2026-003917",
            "versions": [
                "2.0.2"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "518e2f46e8f753d9089f6b19af6da0265cc6692beb7a9c70b766fa456024c793",
            "modified_time": "2026-05-21T14:10:05Z",
            "versions": [
                "1.0.10"
            ],
            "import_time": "2026-05-26T05:51:28.416892694Z",
            "id": "IN-MAL-2026-003864"
        },
        {
            "sha256": "869fa4929eb4f717af66cc93fca822843aa626e5308838fd8faea371d5961914",
            "source": "amazon-inspector",
            "modified_time": "2026-05-21T04:32:44Z",
            "import_time": "2026-05-26T05:51:11.705922309Z",
            "id": "IN-MAL-2026-003726",
            "versions": [
                "1.0.9"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "8bdaa220919bc6844e411be8d7279b6d368658a34abd7e7070a86fd6f0f2b38d",
            "modified_time": "2026-05-21T17:59:35Z",
            "import_time": "2026-05-26T05:51:39.43598592Z",
            "id": "IN-MAL-2026-003956",
            "versions": [
                "2.1.0"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "af156e49c0a05071f78e78bcf20f89822f888a2ae1bd6b5911f17e0c2ced1d7c",
            "modified_time": "2026-05-21T17:23:28Z",
            "import_time": "2026-05-26T05:51:36.852391711Z",
            "id": "IN-MAL-2026-003933",
            "versions": [
                "2.0.3"
            ]
        },
        {
            "sha256": "b912b43ea37b3a87373584ee04d177bd0af3fbe5d09307a1a7ed9a6f04ab001a",
            "source": "amazon-inspector",
            "modified_time": "2026-05-21T16:19:24Z",
            "import_time": "2026-05-26T05:51:31.241537211Z",
            "id": "IN-MAL-2026-003888",
            "versions": [
                "2.0.1"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "e36959e0eabfe3e089b4e0246225839fc6998b269c056fd8771983e89b734927",
            "modified_time": "2026-05-21T18:18:27Z",
            "import_time": "2026-05-26T05:51:41.495949704Z",
            "id": "IN-MAL-2026-003975",
            "versions": [
                "2.1.1"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "eee6460067bbdc3f1a0ace3e122678be97fb06491eaee99234534d593640aaf3",
            "modified_time": "2026-05-21T04:32:44Z",
            "import_time": "2026-05-26T05:51:43.326610218Z",
            "id": "IN-MAL-2026-003991",
            "versions": [
                "1.0.9"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "0f0e78349b778cc7d80179642f66b32731e0dd49858b18bea002b7bca10552c7",
            "modified_time": "2026-05-21T14:08:44Z",
            "import_time": "2026-05-26T05:51:27.380386257Z",
            "id": "IN-MAL-2026-003855",
            "versions": [
                "2.0.0"
            ]
        },
        {
            "sha256": "10caf517230fedcf3d0bf847428116af80a8651097d0c9bf5dfc93fecd5dbfa9",
            "source": "amazon-inspector",
            "modified_time": "2026-05-21T23:32:31Z",
            "import_time": "2026-05-26T05:51:55.362555183Z",
            "id": "IN-MAL-2026-004092",
            "versions": [
                "4.0.0"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "7ff1b69d052e83f42c74e4a7b56a06ee3242b30c0f8d072b279d50f551b712c9",
            "modified_time": "2026-05-21T22:32:28Z",
            "import_time": "2026-05-26T05:51:49.9527195Z",
            "id": "IN-MAL-2026-004044",
            "versions": [
                "2.1.6"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "81d96dff6d3808426608f5687de6529ed25110bbb80a9ea4ebb67d4c67844de5",
            "modified_time": "2026-05-21T17:23:28Z",
            "versions": [
                "2.0.3"
            ],
            "import_time": "2026-05-26T05:51:36.732055735Z",
            "id": "IN-MAL-2026-003932"
        },
        {
            "source": "amazon-inspector",
            "sha256": "9e26744d6bb2cbbd63ba10172fc310291292ffa5241831d56aff95a2cc181099",
            "modified_time": "2026-05-21T18:18:27Z",
            "import_time": "2026-05-26T05:51:41.380020468Z",
            "id": "IN-MAL-2026-003974",
            "versions": [
                "2.1.1"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "a729502752e2876de84e812558a1141e27796b6a1785dcbb2124339749d67d06",
            "modified_time": "2026-05-21T16:41:12Z",
            "versions": [
                "2.0.2"
            ],
            "import_time": "2026-05-26T05:51:35.080704623Z",
            "id": "IN-MAL-2026-003918"
        },
        {
            "sha256": "f15c5ffd3ca802529f39492889a923f3008fc04661b1b38adece32e742556fcf",
            "source": "amazon-inspector",
            "modified_time": "2026-05-21T14:10:04Z",
            "import_time": "2026-05-26T05:51:28.320684646Z",
            "id": "IN-MAL-2026-003863",
            "versions": [
                "1.0.10"
            ]
        },
        {
            "source": "amazon-inspector",
            "sha256": "fe28c3a6236f486a7bd0b9ff7a85554fea413bb297655a8ce37ce81c7bbbc5b8",
            "modified_time": "2026-05-21T04:32:44Z",
            "id": "IN-MAL-2026-003725",
            "versions": [
                "1.0.9"
            ],
            "import_time": "2026-05-26T05:51:11.557350969Z"
        },
        {
            "source": "amazon-inspector",
            "sha256": "87f0c8c85786fa51d2bd33ee96c616d6289995196b20c31f4f6480af9f78baa8",
            "modified_time": "2026-05-21T23:00:33Z",
            "versions": [
                "2.1.8"
            ],
            "import_time": "2026-05-26T05:51:52.947978108Z",
            "id": "IN-MAL-2026-004072"
        },
        {
            "source": "amazon-inspector",
            "sha256": "98fec516e8b29c2a1dec784ac9473c3a06dee32bf093281175dd782d3a5a524a",
            "modified_time": "2026-05-21T18:00:15Z",
            "import_time": "2026-05-26T05:51:40.282017485Z",
            "id": "IN-MAL-2026-003964",
            "versions": [
                "2.1.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / eth-wallet-sentinel

Package

Name
eth-wallet-sentinel
View open source insights on deps.dev
Purl
pkg:npm/eth-wallet-sentinel

Affected ranges

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

Affected versions

1.*
1.0.8
1.0.9
1.0.10
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.1.0
2.1.1
2.1.2
2.1.6
2.1.7
2.1.8
2.1.9
4.*
4.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/eth-wallet-sentinel/MAL-2026-4207.json"
indicators
{
    "domains": [
        "ddjidd564.github.io"
    ],
    "package_integrity": [
        {
            "filename": "eth-wallet-sentinel-1.0.8.tgz",
            "hashes": {
                "sha1": "3030b0d664fa1068be13952823c446c53a9e5908",
                "sha512_sri": "sha512-sbt7bSsQ9PpM+lBamxA+NyDac5Aal8fOq32KQFsyk9t19N7zephDJpDE4SHtTdDH3jqm6iOJzxZhgnhF5YufoQ=="
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "7e9c4609bfa7b59da9d825bbede9fe7380f212dd585243359ef8537927a762e9",
            "tlsh": "659181e669f9e129468ba164845f521a6334d14b2f197c70fb8c83321f8c5ac9bf7398",
            "path": "index.js"
        },
        {
            "path": "wallet.json",
            "tlsh": "20f0dc368a606f2704dcb54290b60293062a2e92a10c306823abb028e2ed1a2d4bb18d",
            "sha256": "37ceef5ed51a9964dd7501bf2f84d4aa46f653125009ca32ca357f83aa6c347b"
        }
    ]
}
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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    }
]