MAL-2026-13261

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-plugin-s3-router/MAL-2026-13261.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13261
Aliases
  • GHSA-h72c-g9pj-cr88
Published
2026-08-05T15:04:38Z
Modified
2026-08-06T01:20:38.889201296Z
Summary
Malicious code in devplatform-spa-plugin-s3-router (npm)
Details

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

Source: amazon-inspector (8d2d2addbad66de5b68e55eb91db20968268ed1f7a951835a35aef1159e4af41)

On require() of devplatform-spa-plugin-s3-router, index.js loads helpers.js which runs a bootstrap routine at module load. The code assembles Cloudflare Workers hostnames (oob-worker.cf10-0-416.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev) via string-splitting and.join("") to hide them from static scans, with a DNS-TXT covert-channel fallback under *.dl.wel1.ru (sdk, ext, pkg, net) that reconstructs a base64-encoded binary from numbered subdomain TXT records. The retrieved binary is written to /tmp or the Windows temp directory under a disguised name mimicking Microsoft dotnet diagnostics (dotnetdiag<hex>.exe or.cache<hex>), chmod 0755'd, and spawned detached via /bin/sh -c or cmd /c start. A.analytics_state file rate-limits re-execution. A sibling lib/telemetry.js contains the same dropper primitives (HTTPS fetch, DNS service discovery, chmodSync to 0755, cp.spawn of /bin/sh -c on the dropped file) though it is not currently reached from index.js. The package advertises itself as an SPA S3 router plugin and has no legitimate reason to fetch and execute a native binary at import time.

Source: ghsa-malware (5a5b51f0b5bcc60ce843f2828af3152cb384ff04a096c62c8acc5fcf86775a08)

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": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T15:30:54Z",
            "sha256": "8d2d2addbad66de5b68e55eb91db20968268ed1f7a951835a35aef1159e4af41",
            "id": "IN-MAL-2026-015728",
            "versions": [
                "35.1.3"
            ],
            "import_time": "2026-08-05T16:13:36.935136331Z"
        },
        {
            "import_time": "2026-08-06T00:58:53.385784444Z",
            "modified_time": "2026-08-05T15:04:39Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-h72c-g9pj-cr88",
            "sha256": "5a5b51f0b5bcc60ce843f2828af3152cb384ff04a096c62c8acc5fcf86775a08",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-spa-plugin-s3-router

Package

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

Affected ranges

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

Affected versions

35.*
35.1.3

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_helpers.js",
            "sha256": "b003c0bd1046d1ebc54b8cbed2dddde813b5ddd91c5e371202c03695dfdafd4f",
            "tlsh": "ffa1a65e027670098bb0d7e087175416f6abf6633680c194fb6c69980f7216883b2efc"
        },
        {
            "path": "lib/telemetry.js",
            "sha256": "768b726dceff9e42fa36616a894eab49ad09feff31084b7ff97fc8ab0f8ee423",
            "tlsh": "6e835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-spa-plugin-s3-router/MAL-2026-13261.json"