MAL-2026-12481

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/token-list-fetcher/MAL-2026-12481.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12481
Published
2026-08-05T13:04:37Z
Modified
2026-08-05T13:36:18.399440255Z
Summary
Malicious code in token-list-fetcher (npm)
Details

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

Source: amazon-inspector (e0c4aa27fc6318b8e3b7e2ec6718d3254147df0032799c5667dd8e88a24ca188)

On require, index.js schedules a delayed HTTPS POST that transmits the full process.env object along with os.hostname(), os.userInfo().username, and os.homedir() to the hardcoded third-party endpoint https://enjbyg3xk8l.x.pipedream.net/beacon. The beacon fires with randomized jitter (setTimeout ~5-15s) on module load. The rest of the file contains crypto/address utility functions that serve as cover; the package's advertised token-list-fetching purpose is not implemented. process.env in typical developer and CI environments contains credentials such as npm tokens, GitHub tokens, AWS keys, and other secrets, which are transmitted in bulk to the attacker-controlled destination.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-05T13:08:52.245600456Z",
            "sha256": "8b42910ab431aaf546eff412062b5dddcfe4053c305b5ad2a2cfa8b0b8ca0dfe",
            "modified_time": "2026-08-05T13:04:37Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-014872",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "import_time": "2026-08-05T13:08:52.654884431Z",
            "sha256": "e0c4aa27fc6318b8e3b7e2ec6718d3254147df0032799c5667dd8e88a24ca188",
            "modified_time": "2026-08-05T13:05:39Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-014879",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / token-list-fetcher

Package

Affected ranges

Affected versions

1.*
1.0.0
1.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/token-list-fetcher/MAL-2026-12481.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "6086dc2f6aa3fce37fdba1b740775acf62c7bc87915154083cb05f36eece88e5",
            "tlsh": "074131b56979b02846b351d888a9cd1fa7abe1523a03d4e4b75d28440fcae78d8f1da0",
            "path": "index.js"
        }
    ],
    "package_integrity": [
        {
            "filename": "token-list-fetcher-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-WzqjR/z1gpNOfrsw/T7OztmqMgZlHIW6ABsBZiMh2mdEYlulvg+gYiaZZYOPnooHl/paOGA/z/RRKvhJI7pmlw==",
                "sha1": "77f2e9f409b4164523fc939794a0b6d825848365"
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]