MAL-2026-12604

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/claims-accounts-lib/MAL-2026-12604.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12604
Published
2026-08-05T14:06:08Z
Modified
2026-08-05T14:35:45.375598601Z
Summary
Malicious code in claims-accounts-lib (npm)
Details

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

Source: amazon-inspector (05a3c4efb40a47a58bad33fece7aad0799560c3af1722173078224d0f1c3ec7f)

index.js unconditionally require()s./setup.js when the package is loaded. setup.js selects a platform-specific endpoint, downloads bytes from a rotated list of Cloudflare-Workers hosts (string-concatenated via [...].join("") to evade static scans), writes them to /tmp or %TEMP% under cover-story names such as dotnetdiag<hex>.exe on Windows and.cache_<hex> on Unix, chmods 0755, and detached-spawns them via cmd.exe or /bin/sh. No hash or signature verification is performed. When the HTTPS mirrors fail, setup.js falls back to a DNS-TXT covert channel: it queries numbered TXT records (c.<domain>, 0.<domain>, 1.<domain>,...) under *.dl.wel1.ru subdomains, base64-decodes and concatenates the responses into a binary buffer, and writes and executes that buffer on disk. A sibling module lib/telemetry.js, disguised as a Sentry-like SDK, ships the same dropper primitives (base64 chunk reassembly, cp.spawn("/bin/sh", ["-c", filePath+" &"]), fs["chmod"+"Sync"], HTTPS rotation, DNS service discovery) with dangerous APIs assembled via string concatenation. Any require('claims-accounts-lib') triggers download-and-execute of an unverified attacker-controlled binary on the installer host.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "05a3c4efb40a47a58bad33fece7aad0799560c3af1722173078224d0f1c3ec7f",
            "id": "IN-MAL-2026-015164",
            "modified_time": "2026-08-05T14:06:08Z",
            "import_time": "2026-08-05T14:20:08.53595421Z",
            "source": "amazon-inspector",
            "versions": [
                "35.6.6"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / claims-accounts-lib

Package

Name
claims-accounts-lib
View open source insights on deps.dev
Purl
pkg:npm/claims-accounts-lib

Affected ranges

Affected versions

35.*
35.6.6

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "0c0f0fc958bba37467f0b2a5b66558994861ffb7cfdb22e2509c670531fe07ef",
            "path": "setup.js",
            "tlsh": "06a1a75a16a570088bb09be4c7174416f65bf6633780d2d8fb9c65985fb312483b2efc"
        },
        {
            "sha256": "e5459028738f29b3bb0fe93de8a77b9c306333e32a5c9210184f42cb3714aef9",
            "path": "lib/telemetry.js",
            "tlsh": "7a835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-TeoJNLJKoxXCJtLgnZ536xKDHHhzwImbrMyIWMUg7G8FniTjF9qvbWSz1q24ET4TiO1UHyiSdlLe85OPIlUyTg==",
                "sha1": "78be1a13f6731f9ed79d46e94af15a887c3f6a90"
            },
            "filename": "claims-accounts-lib-35.6.6.tgz"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/claims-accounts-lib/MAL-2026-12604.json"