MAL-2026-12285

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tramvai-module-feature-toggle/MAL-2026-12285.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12285
Aliases
  • GHSA-x32c-hhrc-xrc7
Published
2026-08-05T09:09:20Z
Modified
2026-08-06T01:21:39.002403581Z
Summary
Malicious code in tramvai-module-feature-toggle (npm)
Details

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

Source: amazon-inspector (d8841208443b6595c8389bfac3e1cdb59a65ad0bc05a8dd3e01ca5c661287e56)

On require() of the package, index.js loads setup.js which downloads a platform-specific binary from hardcoded Cloudflare Workers hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev), writes it to a hidden temp path, chmods it 0755, and spawns it detached via /bin/sh. Destination hostnames are assembled at runtime via array split-join to evade string scanning, with benign-looking identifiers ('analyticsstate', 'dotnetdiag_', '.cache_') and cover-story comments referencing 'telemetry' and 'CDN compatibility'. If the HTTPS fetch fails, setup.js reassembles a base64 payload from numbered DNS TXT records under attacker-controlled *.dl.well1.site domains (tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, win.dl.well1.site) as a covert delivery channel. Execution is gated by opt-out environment variables and a ~20912s lockfile cooldown. The package name resembles the legitimate tramvai ecosystem but ships no real functionality — the only effect of installation is the drop-and-execute pipeline.

Source: ghsa-malware (374869b2bb894469c89d1f158bb270ca74f2422d28d9cd00bf807ae918bdd205)

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",
            "modified_time": "2026-08-05T09:09:20Z",
            "sha256": "d8841208443b6595c8389bfac3e1cdb59a65ad0bc05a8dd3e01ca5c661287e56",
            "id": "IN-MAL-2026-014568",
            "versions": [
                "20.5.3"
            ],
            "import_time": "2026-08-05T09:28:26.400261452Z"
        },
        {
            "import_time": "2026-08-06T00:58:53.476605424Z",
            "modified_time": "2026-08-05T20:38:56Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-x32c-hhrc-xrc7",
            "sha256": "374869b2bb894469c89d1f158bb270ca74f2422d28d9cd00bf807ae918bdd205",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / tramvai-module-feature-toggle

Package

Name
tramvai-module-feature-toggle
View open source insights on deps.dev
Purl
pkg:npm/tramvai-module-feature-toggle

Affected ranges

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

Affected versions

20.*
20.5.3

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "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."
    }
]
indicators
{
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-VWw2TkG8X9oElpkIFFicMt6bFlU6zY8RNiyiJ2eRVVKZ/hKypVe8F6arNNmHZFvlIouHy1zkac2WheJzJ5af+w==",
                "sha1": "b85cac06ee2d4b0ddd98f69805f2cb701b380d33"
            },
            "filename": "tramvai-module-feature-toggle-20.5.3.tgz"
        }
    ],
    "evidence_files": [
        {
            "path": "setup.js",
            "sha256": "d92d46bf72563af9c4c0d74e3b757974c196b5f3677864902e9d698dd4c302fa",
            "tlsh": "6ba1b79a06b6701d47b0ebf48717441af65be26323808194f76ce9944f7212483b2efc"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tramvai-module-feature-toggle/MAL-2026-12285.json"