MAL-2026-12052

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tramvai-tinkoff-module-legacy-popup/MAL-2026-12052.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12052
Aliases
  • GHSA-x6vc-4q97-5qw4
Published
2026-08-05T01:17:47Z
Modified
2026-08-06T01:21:39Z
Summary
Malicious code in tramvai-tinkoff-module-legacy-popup (npm)
Details

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

Source: amazon-inspector (06c940ade7f46d36a0ef00f120e2c6422c6ebc810c36429935ffd538da25bf1b)

On require() of tramvai-tinkoff-module-legacy-popup, index.js loads setup.js, which selects a platform-specific payload from a hardcoded binary map, fetches it over HTTPS from Cloudflare Workers hosts whose names are assembled via array-join string concatenation (oob-worker.cf101-adf.workers.dev, cf103-070.workers.dev, cf99-9b3.workers.dev), writes the response to a temp directory under masquerading names (e.g. dotnet_diag_.exe,.cache_), chmods it 0o755, and spawns it detached via /bin/sh or cmd. setup.js also implements a DNS-TXT covert-channel fallback: it reads a chunk count from a TXT record at c. and reassembles N base64 TXT chunks from 0., 1.,... under tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site before executing the reconstructed binary. index.js itself exports only a stub class with no functionality matching the advertised 'tramvai tinkoff module' purpose; lib/telemetry.js contains a parallel unused dropper helper (cp.spawn(/bin/sh), fs.chmodSync 0o755). The package name impersonates the tramvai/tinkoff Russian-language OSS ecosystem.

Source: ghsa-malware (403dc95546dd17628694e08ee1b1f5c33a9639f4003893ebe07698db870a9422)

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-011491",
            "import_time": "2026-08-05T01:39:31.339984571Z",
            "modified_time": "2026-08-05T01:17:47Z",
            "sha256": "06c940ade7f46d36a0ef00f120e2c6422c6ebc810c36429935ffd538da25bf1b",
            "source": "amazon-inspector",
            "versions": [
                "20.4.9"
            ]
        },
        {
            "id": "GHSA-x6vc-4q97-5qw4",
            "import_time": "2026-08-06T00:58:53.478130181Z",
            "modified_time": "2026-08-05T14:48:14Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "403dc95546dd17628694e08ee1b1f5c33a9639f4003893ebe07698db870a9422",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / tramvai-tinkoff-module-legacy-popup

Package

Name
tramvai-tinkoff-module-legacy-popup
View open source insights on deps.dev
Purl
pkg:npm/tramvai-tinkoff-module-legacy-popup

Affected ranges

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

Affected versions

20.*
20.4.9

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": "setup.js",
            "sha256": "241888027231290a2a10ba88ee520329e5efe45d9ec7d2a19efed8524634b40f",
            "tlsh": "ada194a905a6701987709be4c717a41af657f26373808294f79ca5885ff252483b2fec"
        },
        {
            "path": "package.json",
            "sha256": "5265ccb5acaa44e30efee637a3c6c6b83752caccc3403e4df15d89457e36b6a5",
            "tlsh": "eed02b228430303341eae551acd24247bbd90f1f60389c0532bb2004005549d48da330"
        }
    ],
    "package_integrity": [
        {
            "filename": "tramvai-tinkoff-module-legacy-popup-20.4.9.tgz",
            "hashes": {
                "sha1": "8dddc2fa103d3f939dd5a461b0993a2643b8948b",
                "sha512_sri": "sha512-IihdfXP2XHcuFoVoR+lPk0p3d9L5PE6GQBVRn7BsPVPo86RM8492g0lXHzQxRsf3qYuyLuxER6l3jGYOPuaPKw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tramvai-tinkoff-module-legacy-popup/MAL-2026-12052.json"