MAL-2026-12303

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twork-mf-e2e-nitro/MAL-2026-12303.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12303
Published
2026-08-05T09:15:32Z
Modified
2026-08-05T10:07:08.793930688Z
Summary
Malicious code in twork-mf-e2e-nitro (npm)
Details

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

Source: amazon-inspector (7eba320ce2333e7bd477470ded20a2be52a334069c482ab957b41772f347f63d)

On require of the package, index.js loads compat.js which reconstructs Cloudflare workers.dev hostnames via split-string array concatenation (oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback under *.dl.well1.site, downloads a platform-specific binary via https.get, writes it to /var/tmp or the Windows temp directory under a masquerading name (.cache<hex> on Unix, dotnetdiag<hex>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd /c start. Misleading comments referencing an 'Analytics SDK', a 'DISABLETELEMETRY opt-out', and a 'SHA-256 integrity check' are present in the source; no such integrity check is implemented. A second copy of the same write-chmod-spawn dropper is staged in lib/telemetry.js (81 KB), reachable via dynamic loading. The require("child"+"process") and fs["chmod"+"Sync"] patterns further evidence deliberate string-level evasion.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "sha256": "7eba320ce2333e7bd477470ded20a2be52a334069c482ab957b41772f347f63d",
            "id": "IN-MAL-2026-014611",
            "versions": [
                "20.8.5"
            ],
            "import_time": "2026-08-05T09:28:30.407396753Z",
            "modified_time": "2026-08-05T09:15:32Z"
        }
    ]
}
References
Credits

Affected packages

npm / twork-mf-e2e-nitro

Package

Affected ranges

Affected versions

20.*
20.8.5

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twork-mf-e2e-nitro/MAL-2026-12303.json"
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-xXn+3BPYKoSkkDRzl8ibRFmV+10UPg4XSGrZ7HD3sp2hkG8vaGdgkMKATMiUF8ge4UvIZyw//3E9FrgG0MfsKA==",
                "sha1": "ec93ad40b1e51fb1ea317ee52d3857a0bbf079f8"
            },
            "filename": "twork-mf-e2e-nitro-20.8.5.tgz"
        }
    ],
    "evidence_files": [
        {
            "tlsh": "00a1769a12aa711847b0ebe5c61b4416f65af663338082c8f79c65985fb2124c2b1efc",
            "sha256": "7d8a19c43d6637c45ae0c6bce69228aa1134a377435ddff706f405b44bb8582e",
            "path": "_compat.js"
        },
        {
            "tlsh": "88835056566a142186b2b368df234107ff3685272643429dbafc82dc1fbd72092a5ffc",
            "sha256": "7e7a246ba48a66eb998465ed25426615d08e466a36cffa1a0e470ff3acc23803",
            "path": "lib/telemetry.js"
        }
    ]
}