MAL-2026-12052Malicious code in tramvai-tinkoff-module-legacy-popup (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | tramvai-tinkoff-module-legacy-popup | * |
| npm | tramvai-tinkoff-module-legacy-popup | 20.4.9 |
{"schema_version":"1.7.4","id":"MAL-2026-12052","published":"2026-08-05T01:17:47Z","modified":"2026-08-06T01:00:43.071223992Z","aliases":["GHSA-x6vc-4q97-5qw4"],"summary":"Malicious code in tramvai-tinkoff-module-legacy-popup (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (06c940ade7f46d36a0ef00f120e2c6422c6ebc810c36429935ffd538da25bf1b)\nOn 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.<domain> and reassembles N base64 TXT chunks from 0.<domain>, 1.<domain>,... 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.\n\n## Source: ghsa-malware (403dc95546dd17628694e08ee1b1f5c33a9639f4003893ebe07698db870a9422)\nAny 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.\n","affected":[{"package":{"name":"tramvai-tinkoff-module-legacy-popup","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["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=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tramvai-tinkoff-module-legacy-popup/v/20.4.9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x6vc-4q97-5qw4"}],"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"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0