MAL-2026-12713

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-humanize-network-error/MAL-2026-12713.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12713
Aliases
  • GHSA-f2ff-g693-65xc
Published
2026-08-05T13:48:10Z
Modified
2026-08-06T01:20:28.406133146Z
Summary
Malicious code in devplatform-humanize-network-error (npm)
Details

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

Source: amazon-inspector (3d18ba9f3689dbc03127a3d82ffe0a6a2a15edf3e7f58b7ca9322499b2b68197)

devplatform-humanize-network-error@35.3.8 advertises itself as a network-error humanizing utility, but on require() its index.js unconditionally loads adapter.js, which fetches a platform-specific native binary over HTTPS from Cloudflare Workers hosts assembled at runtime from string fragments (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev), writes it to /tmp/.cache<hex> on Unix or %TEMP%\dotnetdiag<hex>.exe on Windows, chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe. No hash or signature verification is performed and the payload is unrelated to the package's stated purpose. If the HTTPS fetch returns less than 1000 bytes, a fallback DNS-TXT covert channel reassembles a base64-encoded payload from TXT records under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru (queried as c.<domain> plus per-index sub-labels) and executes it identically. Destination hostnames are reconstructed from .join("") fragments and dropped artifacts are named to masquerade as telemetry/diagnostic files (.analyticsstate,.cache<hex>, dotnetdiag<hex>.exe), with comments framing the drop as analytics. A sibling lib/telemetry.js (~80 KB) shipped in the same tarball replicates the same HTTPS+DNS discovery, detached shell spawn, chmod 0755, and base64 chunk reassembly primitives but is not currently referenced by the entry graph.

Source: ghsa-malware (47de4c5b573787f054f5da4dcda55c344af9a2d51c72763129ecfb5f66570fd6)

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": [
        {
            "source": "amazon-inspector",
            "versions": [
                "35.3.8"
            ],
            "import_time": "2026-08-05T14:19:56.165456217Z",
            "modified_time": "2026-08-05T13:48:10Z",
            "sha256": "3d18ba9f3689dbc03127a3d82ffe0a6a2a15edf3e7f58b7ca9322499b2b68197",
            "id": "IN-MAL-2026-015045"
        },
        {
            "sha256": "47de4c5b573787f054f5da4dcda55c344af9a2d51c72763129ecfb5f66570fd6",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2026-08-06T00:58:53.359616908Z",
            "modified_time": "2026-08-05T14:58:22Z",
            "source": "ghsa-malware",
            "id": "GHSA-f2ff-g693-65xc"
        }
    ]
}
References
Credits

Affected packages

npm / devplatform-humanize-network-error

Package

Name
devplatform-humanize-network-error
View open source insights on deps.dev
Purl
pkg:npm/devplatform-humanize-network-error

Affected ranges

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

Affected versions

35.*
35.3.8

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-cvDEVKMVOinCmpC0HVtQmC+SEBsih0vah+fafTG2hTeU/fgeQahiAl6rNde/FFk06mqz1tdHO2kveFSs9JcC5Q==",
                "sha1": "3a393cfc56bd29dd084a544fc3e48fcad1ba584b"
            },
            "filename": "devplatform-humanize-network-error-35.3.8.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "_adapter.js",
            "sha256": "2c864001152337bfba77002c294c34eb4ef90d6132e0ea890d8db213e48b37f0",
            "tlsh": "e9b1a85a13a670184bb0d7e4c7275416f66bf6633780c6c4faaca5981f762288372dfc"
        },
        {
            "path": "lib/telemetry.js",
            "sha256": "d603f37f50c1dfdb6dfda003207c3814b6e9ca6c7527f2ca0dcc22483a0728c1",
            "tlsh": "1f835055566a242186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/devplatform-humanize-network-error/MAL-2026-12713.json"