MAL-2026-12744

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-rest-client/MAL-2026-12744.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12744
Aliases
  • GHSA-p29c-x743-vhph
Published
2026-08-05T13:45:58Z
Modified
2026-08-06T01:20:34.279712578Z
Summary
Malicious code in devplatform-rest-client (npm)
Details

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

Source: amazon-inspector (b5813e9b97274c2eb3abd3459781550762baeea8c8fc0cec09603dac56a405d8)

On require('devplatform-rest-client'), index.js loads init.js which selects a platform-specific endpoint, downloads a binary from one of three 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 base64 fallback across four *.dl.wel1.ru subdomains, writes the payload to /tmp or %TEMP% under disguised names (dotnetdiag<rand>.exe on Windows,.cache<rand> on Unix), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hosts and filenames are runtime-assembled from split string arrays; a cache-stamp file is named.analyticsstate to mimic telemetry. A sibling module lib/telemetry.js (~81 KB, not referenced from index.js) contains a parallel dropper using indirect requires ('child' + 'process'), base64 payload reassembly, chmod 0755, and detached /bin/sh spawn under a fabricated 'Analytics SDK' cover story. None of this behavior matches the package's advertised purpose as a REST client; index.js is trivial.

Source: ghsa-malware (fbbcf53c505e7b9959afb047beac4365085ad239d61bae6098574e23f03a7771)

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": [
        {
            "modified_time": "2026-08-05T13:45:58Z",
            "id": "IN-MAL-2026-015030",
            "import_time": "2026-08-05T14:19:54.358506078Z",
            "versions": [
                "35.7.9"
            ],
            "source": "amazon-inspector",
            "sha256": "b5813e9b97274c2eb3abd3459781550762baeea8c8fc0cec09603dac56a405d8"
        },
        {
            "modified_time": "2026-08-05T17:56:54Z",
            "id": "GHSA-p29c-x743-vhph",
            "import_time": "2026-08-06T00:58:53.418883707Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "sha256": "fbbcf53c505e7b9959afb047beac4365085ad239d61bae6098574e23f03a7771"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-rest-client

Package

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

Affected ranges

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

Affected versions

35.*
35.7.9

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "devplatform-rest-client-35.7.9.tgz",
            "hashes": {
                "sha512_sri": "sha512-sYK3hjkYnAZ3/U5dRDyc1LfXp8yjG5Lx2DCIj+NdH1YwZhhsATQOng668IHlIsj1zOmh3onsUsxTeBkcVvFWGQ==",
                "sha1": "353de379512ca5f95ddbadb60ec55e946869efff"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "_init.js",
            "tlsh": "6ba1b79a02aa70084b709be5c6174c15f55af5633b81c2c4f75c69885fb352483b2efc",
            "sha256": "44e04d2d06ed6278f100f507347c00e6e934b1f74e97380aacaabd2cd6117f61"
        },
        {
            "path": "lib/telemetry.js",
            "tlsh": "70835056566a102186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffd",
            "sha256": "d6562a3ac1182899c1b36b67b650f99d1650f0bba16efe894444f89c09d065e4"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-rest-client/MAL-2026-12744.json"