MAL-2026-12476

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tcb-web-header/MAL-2026-12476.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12476
Aliases
  • GHSA-v68w-vmp6-9p6v
Published
2026-08-05T12:48:48Z
Modified
2026-08-06T01:21:25.979449835Z
Summary
Malicious code in tcb-web-header (npm)
Details

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

Source: amazon-inspector (115bda849ee7aff33e1ccc649f492e892e31243bfb026eea8048c158c885bdf0)

On require() of tcb-web-header, platform.js selects an OS/arch-specific endpoint, downloads a binary from Cloudflare workers.dev hosts whose names are reconstructed at runtime by joining split string fragments (e.g. oob-worker.cf99-9b.3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev), writes the payload to /var/tmp or %TEMP% under a deceptive name (dotnetdiag<tag>.exe on Windows,.cache<tag> on Unix), fs.chmodSync to 0o755, and spawns it detached via /bin/sh -c "<path> &" or cmd.exe /c start /b. A base64-encoded chunked DNS TXT retrieval channel over c.<domain>/N.<domain> under tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site serves as a covert fallback transport when HTTPS is blocked. The package's declared purpose is a web header helper and there is no build/native-addon rationale for downloading and executing an unverified binary at import time; destination hosts are attacker-controlled, string-reassembled to defeat static scanners, and a token-gated DISABLE_TELEMETRY flag is used as a cover story.

Source: ghsa-malware (77922987a2e7e78e43a4eda61cd08125e62f1bcb4d74fbe3c39abcb5c63be148)

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": [
        {
            "versions": [
                "20.5.7"
            ],
            "id": "IN-MAL-2026-014771",
            "import_time": "2026-08-05T13:08:45.19410855Z",
            "modified_time": "2026-08-05T12:48:48Z",
            "source": "amazon-inspector",
            "sha256": "115bda849ee7aff33e1ccc649f492e892e31243bfb026eea8048c158c885bdf0"
        },
        {
            "modified_time": "2026-08-05T16:42:12Z",
            "id": "GHSA-v68w-vmp6-9p6v",
            "import_time": "2026-08-06T00:58:53.456564608Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "sha256": "77922987a2e7e78e43a4eda61cd08125e62f1bcb4d74fbe3c39abcb5c63be148"
        }
    ]
}
References
Credits

Affected packages

npm / tcb-web-header

Package

Affected ranges

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

Affected versions

20.*
20.5.7

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": "tcb-web-header-20.5.7.tgz",
            "hashes": {
                "sha512_sri": "sha512-JCvT3+vZ/wjJLYgPtI5z4VYaQdXVVwOsxeXEnBpk6tpyVIDGLNH7t2rLkzSVuDnGvhlRDaQAkO9HK5Cl36G1OA==",
                "sha1": "3a97f19adc715e015a234c606c04d499a3150632"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "_platform.js",
            "tlsh": "eaa197961665302d8bb0a7f487079419f65be2633780c2d0fbac64842fb716483b2efc",
            "sha256": "6dc3bdddfdb87d9e6d1ab5b10d26d8dd01f21326eb3a1b0a4854c54fe32a6194"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tcb-web-header/MAL-2026-12476.json"