MAL-2026-13498

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ded-pwa-ded-pwa-core/MAL-2026-13498.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13498
Published
2026-08-07T12:14:25Z
Modified
2026-08-07T12:35:28.128216273Z
Summary
Malicious code in ded-pwa-ded-pwa-core (npm)
Details

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

Source: amazon-inspector (97666216930384a372fdf45c3c6a5d744e61de4b8e5c01f82a6ffe5688b168e7)

On require('ded-pwa-ded-pwa-core'), index.js unconditionally loads adapter.js, which selects a platform-specific target path (%TEMP%/dotnetdiag<hex>.exe on Windows, /tmp/.cache<hex> on POSIX), fetches an opaque binary over HTTPS from author-controlled Cloudflare Workers endpoints, writes it to disk, chmods 0755, and detached-spawns it via cp.spawn('/bin/sh', ['-c', fp+' &'], {detached:true}) or cmd. The destination hostnames are reconstructed at runtime from split-string arrays (e.g. ['oob-worker.cf100-416.workers.','dev'].join('') and ['sdk.','dl','.wel1','.r','u'].join('') yielding sdk.dl.wel1.ru) to evade static grepping, and identifier lookups such as require('child_'+'process') and fs['chmod'+'Sync'] are similarly split. A DNS-TXT chunked-base64 fallback via *.dl.wel1.ru is present. Staged filenames masquerade as.NET diagnostics tooling or hidden cache files, and DONOTTRACK / ANALYTICSOPTOUT env checks provide a telemetry cover story despite the executed content being an opaque author-controlled binary with no version pinning and no hash verification. Installing or requiring the package results in arbitrary code execution on the installer's host.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-07T12:14:25Z",
            "source": "amazon-inspector",
            "sha256": "97666216930384a372fdf45c3c6a5d744e61de4b8e5c01f82a6ffe5688b168e7",
            "import_time": "2026-08-07T12:23:26.211591351Z",
            "id": "IN-MAL-2026-016896",
            "versions": [
                "35.6.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / ded-pwa-ded-pwa-core

Package

Name
ded-pwa-ded-pwa-core
View open source insights on deps.dev
Purl
pkg:npm/ded-pwa-ded-pwa-core

Affected ranges

Affected versions

35.*
35.6.3

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "ded-pwa-ded-pwa-core-35.6.3.tgz",
            "hashes": {
                "sha512_sri": "sha512-bncLlKmsyKP7gUyHMG/UOrr+1zslr7bNyw3speA+62A48zSsSt783jsctN7dXnUAWoET1elX6pQDrr73IV9SBQ==",
                "sha1": "eea9bdcb76dd4babd64cf42d7c43ae46e1b0cbf8"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "8da1a9aa12a670084bb0e7f4c71b5415f656f6633381c298fb5c69985f7712883b1efc",
            "sha256": "16514f1a9f742642e7c4a61037a28f605fc136dc37c54b95578b28201998f68d",
            "path": "_adapter.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ded-pwa-ded-pwa-core/MAL-2026-13498.json"
cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]