MAL-2026-12761

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-plugin-auth/MAL-2026-12761.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12761
Published
2026-08-05T13:43:39Z
Modified
2026-08-05T14:36:58.944129289Z
Summary
Malicious code in devplatform-spa-plugin-auth (npm)
Details

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

Source: amazon-inspector (697c6ca9c6aa1474e725b8f1c7d64c0b1809131ce1c8a856253db8d480791ff0)

The package's main entry loads helpers.js which auto-invokes a start() routine on require. That routine selects a platform-specific asset path, retrieves an opaque native binary over HTTPS from one of four Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev), with a DNS-TXT base64-chunk fallback via sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The fetched bytes are written to /var/tmp/.cache<rand> on Unix or %TEMP%/dotnetdiag<rand>.exe on Windows, chmod 0755'd, and spawned detached via /bin/sh or cmd.exe. Hostnames and sensitive API references are assembled at runtime from string arrays (['oob-worker.cf100','-416.workers.de','v'].join(''); require('child_'+'process')), a '.analytics_state' marker file suppresses repeat runs, and stderr is silenced through a no-op writer. The package is advertised as an SPA auth-token plugin and has no legitimate reason to fetch and execute a native binary at load time. The delivered code is attacker-controlled and unverified, granting full-host code execution to whoever operates the Workers/DNS infrastructure on any machine that requires this module.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015015",
            "import_time": "2026-08-05T14:19:52.837324779Z",
            "sha256": "697c6ca9c6aa1474e725b8f1c7d64c0b1809131ce1c8a856253db8d480791ff0",
            "modified_time": "2026-08-05T13:43:39Z",
            "versions": [
                "35.4.5"
            ],
            "source": "amazon-inspector"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-spa-plugin-auth

Package

Name
devplatform-spa-plugin-auth
View open source insights on deps.dev
Purl
pkg:npm/devplatform-spa-plugin-auth

Affected ranges

Affected versions

35.*
35.4.5

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-DdeEqERfO0D4+R+4+ifd5JCnWCCS+xFs7qyIX1WI/qfyyyVxFFo9jDJ50eeez5bzLv8nh60PVXSaPx2aAI5jtg==",
                "sha1": "fdc01eac96f736ab31f222403c8fa46794e5751a"
            },
            "filename": "devplatform-spa-plugin-auth-35.4.5.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_helpers.js",
            "sha256": "ff04256c31aa9ba1f4311beeb0413e779f76f9fda5caed66b10174c0febb9aa9",
            "tlsh": "fea1c79a167a70098b709be4cb274829f56bf6633380c295fb5ca5845f735248371efc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-plugin-auth/MAL-2026-12761.json"