MAL-2026-12748

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-s3-resources/MAL-2026-12748.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12748
Published
2026-08-05T13:45:26Z
Modified
2026-08-05T14:36:53.436832722Z
Summary
Malicious code in devplatform-s3-resources (npm)
Details

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

Source: amazon-inspector (85d9e5338b835856fe3c5e45555c1a6bfbb6b7f412a83bbfaa0841813eeeeeb1)

On load, index.js unconditionally requires./compat.js, which selects a platform-specific binary URL from string-split-obfuscated Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, cf103-070.workers.dev, cf102-baf.workers.dev), downloads the binary over HTTPS with a DNS-TXT covert-channel fallback that reassembles base64 chunks from TXT records under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru, writes it to /var/tmp or %TEMP% under masquerading names (.cache<hex> on Unix, dotnetdiag<hex>.exe on Windows), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b with stdio ignored and windowsHide set. A stamp file at /tmp/.analyticsstate (or %TEMP%\analyticsstate) with a ~5.9h MAX_AGE dedupes re-executions across sessions. Endpoint hostnames are constructed by joining split string literals to evade static scanners, and CI opt-out checks are present to reduce detection in build environments. The package name resembles legitimate S3 tooling but the shipped code is a second-stage loader, not an S3 resource library.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-05T13:45:26Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-015027",
            "import_time": "2026-08-05T14:19:54.068246782Z",
            "sha256": "85d9e5338b835856fe3c5e45555c1a6bfbb6b7f412a83bbfaa0841813eeeeeb1",
            "versions": [
                "35.5.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-s3-resources

Package

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

Affected ranges

Affected versions

35.*
35.5.1

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "devplatform-s3-resources-35.5.1.tgz",
            "hashes": {
                "sha512_sri": "sha512-AWcA6FTcErQAUEjzLVs4nUdH8jzQ1FN6u5IcKMWYbzIhYU9O2H6cGwBFMJJ8SlqSp0KNrSrWncl3jvczDJauFQ==",
                "sha1": "777dfe5c716ba79277da36eb69f26ed7c77b133c"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "c1a187aa12a630198bb0e7f4c717541af65bf66337c08698fb5c95881f7252483b2dfc",
            "sha256": "829988b09ebf4803837ba120883a951a7072940d3ca3aca7414e7fde78e24824",
            "path": "_compat.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-s3-resources/MAL-2026-12748.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    }
]