MAL-2026-10549

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/abi-encode/MAL-2026-10549.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10549
Published
2026-07-14T05:21:03Z
Modified
2026-07-14T18:49:32Z
Summary
Malicious code in abi-encode (npm)
Details

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

Source: amazon-inspector (afc61427f74a028242a032b9436c09c43b1df60fef5688aa5389ef107e899259)

The package advertises ABI encoding but on require() schedules a 37-second timer that decodes test/fixtures/keypairs.dat (base64-encoded stealer, staged to look like cryptographic test data) into ~/.cache-db/.node-sync/syncd.js with mode 0700 and spawns it detached under node. Persistence is installed by appending a crontab entry (Linux) that re-runs the dropped script every 12 hours, or by registering a scheduled task named WinNodeSync (Windows). The decoded payload walks the installer's home directory for files matching wallet/seed/credential extensions and keywords (.env,.key,.keystore,.pem, seed, mnemonic, wallet, private, metamask, phantom, ledger, trezor, PRIVATE_KEY, MNEMONIC, SECRET, TOKEN), RSA-encrypts matches, and uploads them to attacker-controlled IPFS via api.pinata.cloud using an embedded Pinata API key/secret, with three hardcoded IPFS CID dead drops as fetch fallbacks. The 37-second delay, fake-fixture staging, hidden home-directory drop path, and cross-platform persistence together confirm evasive malicious intent unrelated to ABI encoding.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-010398",
            "import_time": "2026-07-14T05:49:19.756277329Z",
            "modified_time": "2026-07-14T05:21:12Z",
            "sha256": "9f6a627f36e6f2a50a631e6e3acd882dd77a6ab722a83f156dba8d2f3af9cc81",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-010397",
            "import_time": "2026-07-14T05:49:19.631598116Z",
            "modified_time": "2026-07-14T05:21:03Z",
            "sha256": "afc61427f74a028242a032b9436c09c43b1df60fef5688aa5389ef107e899259",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-010399",
            "import_time": "2026-07-14T05:49:19.843555873Z",
            "modified_time": "2026-07-14T05:21:21Z",
            "sha256": "cb701af1570caa4be98dc0c57d547ce9d04f3ce12cfe126d7ecd7d80b5a5f621",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-010537",
            "import_time": "2026-07-14T18:28:27.264860776Z",
            "modified_time": "2026-07-14T17:54:54Z",
            "sha256": "2942c9be2d842ce31808ede5c18a0a3a225ea1b9e6df5b760f72475c9e9dc9fb",
            "source": "amazon-inspector",
            "versions": [
                "1.0.3"
            ]
        },
        {
            "id": "IN-MAL-2026-010539",
            "import_time": "2026-07-14T18:28:27.520707037Z",
            "modified_time": "2026-07-14T17:55:12Z",
            "sha256": "33251c3218d3117a4da78d8c7f8065173a9f5971402c560e89f16c081082e9d7",
            "source": "amazon-inspector",
            "versions": [
                "1.0.4"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / abi-encode

Package

Affected ranges

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "464fe455f640ff325eb2f924512ee5d921948e3fe54687ebcce8f38af697f799",
            "tlsh": "ba61675a39e323624b66b0f9856b5818a5fbb0031344ca5d764c81d51f4483c4ffbfb4"
        }
    ],
    "package_integrity": [
        {
            "filename": "abi-encode-1.0.2.tgz",
            "hashes": {
                "sha1": "e6d6042c30c5ba0b84cf58d9115ba770c2faf8ff",
                "sha512_sri": "sha512-LKdvmCZCxI8BSQwED/0YYAqwjx6KZNtFzKxhkDW0nmmdP+2uoWJWhMq5nNKE7vGIqfdnButKfW/71InYOFtI6w=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/abi-encode/MAL-2026-10549.json"