MAL-2026-12747

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-s3-client/MAL-2026-12747.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12747
Aliases
  • GHSA-557v-9r2x-4vj7
Published
2026-08-05T13:44:44Z
Modified
2026-08-20T01:15:13Z
Summary
Malicious code in devplatform-s3-client (npm)
Details

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

Source: amazon-inspector (618b016d2ee8f333f47ee78c4ffe29b703a08ab7fca524ee072944394fb1301c)

On require of the package's main entry, bridge.js assembles Cloudflare Workers hostnames from string fragments via Array.join (e.g. 'oob-worker.cf102-baf.workers.dev', 'cf101-adf.workers.dev', 'cf99-9b3.workers.dev'), downloads a platform-specific binary via https.get, writes it to /var/tmp or %TEMP% under a decoy name (.cache on Unix, dotnet_diag_.exe on Windows), sets it executable with chmod 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. If HTTPS fetches fail, _bridge.js falls back to a DNS-TXT covert channel: it resolves TXT records at c. and numbered subdomains under an obfuscated 'sdk.dl.wel1.ru' family to reassemble a base64-encoded binary, then writes and executes it. A persistence-stamp file gates re-execution across imports. The hostnames are split into fragments to evade static grep, decoy filenames masquerade as OS diagnostic caches, and none of this behavior is part of an S3 client.

Source: ghsa-malware (0444ed96ef44a8f27c949949b5991b4bd5362584dc3016f4efb8c6c36d3d3ad8)

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": [
        {
            "id": "IN-MAL-2026-015022",
            "import_time": "2026-08-05T14:19:53.552526065Z",
            "modified_time": "2026-08-05T13:44:44Z",
            "sha256": "618b016d2ee8f333f47ee78c4ffe29b703a08ab7fca524ee072944394fb1301c",
            "source": "amazon-inspector",
            "versions": [
                "35.9.5"
            ]
        },
        {
            "id": "GHSA-557v-9r2x-4vj7",
            "import_time": "2026-08-20T01:06:54.052344022Z",
            "modified_time": "2026-08-19T16:18:47Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "0444ed96ef44a8f27c949949b5991b4bd5362584dc3016f4efb8c6c36d3d3ad8",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-s3-client

Package

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

Affected ranges

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

Affected versions

35.*
35.9.5

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "_bridge.js",
            "sha256": "773c32609fca91c53d24d8e9bf9c2eb78b616c77f485c7bee5f3a122dd591ee2",
            "tlsh": "21a1969a26aa70098bb0ebe486174416f657f6633380c5c4fb9c69941f7313482b2efc"
        }
    ],
    "package_integrity": [
        {
            "filename": "devplatform-s3-client-35.9.5.tgz",
            "hashes": {
                "sha1": "d227ab268814a80c66e48c3261166f9748eb53c8",
                "sha512_sri": "sha512-eQVLpFkW07poibpuwQl5lJhONqNj2ahNeGjCvoOeL75kFhrVX84/+u7Hjw50+kcT4IXfw87IQswRDRDlWMWTBw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-s3-client/MAL-2026-12747.json"