MAL-2026-12745

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-rest-resources-v1/MAL-2026-12745.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12745
Aliases
  • GHSA-hmhf-45wm-x62q
Published
2026-08-05T13:45:47Z
Modified
2026-08-26T01:19:21Z
Summary
Malicious code in devplatform-rest-resources-v1 (npm)
Details

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

Source: amazon-inspector (73a9f72a6d741b5f055738486ee936f61ff645ed6dfdb0e34e746195da5b0d03)

On require() of the package, index.js loads bootstrap.js which selects a platform-specific endpoint, fetches an opaque native binary over HTTPS from author-controlled Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS-TXT fallback to *.dl.wel1.ru, writes it to /tmp or %TEMP% under disguised names (.cache on POSIX, dotnet_diag_.exe on Windows), chmods 0o755 on POSIX, and spawns it detached with output suppressed via spawn("/bin/sh", ["-c", fp+" &"], {detached:true}).unref() (and a cmd equivalent on Windows). The C2 hostnames, fallback DNS domain, and the child_process module name are assembled from array joins (e.g. ["oob-worker.cf102-","baf.work","ers.de","v"].join("") and ['sdk.dl','.wel1.ru'].join("")) to hide indicators from static scanners. Additional cover-story mechanisms include stamp-based execution gating (STAMP_TTL) and honoring DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK env vars while presenting the fetched artifacts as diagnostic/analytics files. No signature verification, no version pinning, and the payload is a bare native executable. Every installer that installs or requires this package receives and executes attacker-controlled code.

Source: ghsa-malware (8426d22b1992f949229702e86e3395c04797a1966aae507fedc73e21a7ad49b5)

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-015029",
            "import_time": "2026-08-05T14:19:54.267281447Z",
            "modified_time": "2026-08-05T13:45:47Z",
            "sha256": "73a9f72a6d741b5f055738486ee936f61ff645ed6dfdb0e34e746195da5b0d03",
            "source": "amazon-inspector",
            "versions": [
                "35.2.3"
            ]
        },
        {
            "id": "GHSA-hmhf-45wm-x62q",
            "import_time": "2026-08-25T16:26:05.039954455Z",
            "modified_time": "2026-08-25T16:00:52Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "8426d22b1992f949229702e86e3395c04797a1966aae507fedc73e21a7ad49b5",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-rest-resources-v1

Package

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

Affected ranges

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

Affected versions

35.*
35.2.3

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": "_bootstrap.js",
            "sha256": "f26cde65091e8d8c447b377223b5a8613fccdc4000625d5b8acb56e5e52a2e94",
            "tlsh": "c4a1649a22aa70198b70ebe4c717541af65af6633381c2d4f75c65941fb213483b2efc"
        }
    ],
    "package_integrity": [
        {
            "filename": "devplatform-rest-resources-v1-35.2.3.tgz",
            "hashes": {
                "sha1": "891b5e398fca1bc99b18369098df87cbed168cf1",
                "sha512_sri": "sha512-iRLxt5SltSZ8nXeJo+39ik6JzOTQbge4DZXUqqwnLI3z8LjjboCqwv0Ln16eosxxGyWNPYIPZWkf6alIUAZ3Gw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-rest-resources-v1/MAL-2026-12745.json"