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
Aliases
  • GHSA-3x7v-w9ww-h4vm
Published
2026-08-05T09:15:32Z
Modified
2026-08-26T01:21:16Z
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 on Unix, dotnet_diag_.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd /c start. Misleading comments referencing an 'Analytics SDK', a 'DISABLE_TELEMETRY 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.

Source: ghsa-malware (3c78c39b3463beb1a218d783fb7bf3ce5a21092ae6fb1a1a4e6631e60fae4ea7)

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": [
        {
            "id": "IN-MAL-2026-014611",
            "import_time": "2026-08-05T09:28:30.407396753Z",
            "modified_time": "2026-08-05T09:15:32Z",
            "sha256": "7eba320ce2333e7bd477470ded20a2be52a334069c482ab957b41772f347f63d",
            "source": "amazon-inspector",
            "versions": [
                "20.8.5"
            ]
        },
        {
            "id": "GHSA-3x7v-w9ww-h4vm",
            "import_time": "2026-08-25T17:25:28.065852522Z",
            "modified_time": "2026-08-25T16:31:27Z",
            "sha256": "3c78c39b3463beb1a218d783fb7bf3ce5a21092ae6fb1a1a4e6631e60fae4ea7",
            "source": "ghsa-malware",
            "versions": [
                "20.8.5"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / twork-mf-e2e-nitro

Package

Name
twork-mf-e2e-nitro
View open source insights on deps.dev
Purl
pkg:npm/twork-mf-e2e-nitro

Affected ranges

Affected versions

20.*
20.8.5

Database specific

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