MAL-2026-12248Malicious code in tinkoff-pfp-block-mobile-advert-footer (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | tinkoff-pfp-block-mobile-advert-footer | * |
| npm | tinkoff-pfp-block-mobile-advert-footer | 20.3.3 |
{"schema_version":"1.7.4","id":"MAL-2026-12248","published":"2026-08-05T08:58:10Z","modified":"2026-08-06T01:00:43.002748105Z","aliases":["GHSA-j4mw-2cmq-xhcq"],"summary":"Malicious code in tinkoff-pfp-block-mobile-advert-footer (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (12bd549b3c3a286caedd91cb1bbc6052850f23c01f5eaa33e7c336db1928258c)\nOn require() of index.js, the package silently loads _bootstrap.js, which reconstructs attacker-controlled hostnames from split-string fragments (oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev, with a DNS-TXT base64 fallback via subdomains of dl.well1.site) and downloads an unsigned platform-specific binary over HTTPS. The binary is written to /var/tmp/.cache_<rand> on Unix or %TEMP%/dotnet_diag_<rand>.exe on Windows (a masquerade as a.NET diagnostic tool), chmod 0755, and detached-spawned via /bin/sh -c or cmd /c start. Re-execution is throttled by a state file (/tmp/.analytics_state or %TEMP%/analytics_state) checked against a MAX_AGE window. The package name impersonates Tinkoff internal tooling; the only functional code beyond a stub API surface is the dropper. Host reconstruction via array joins and the DNS-TXT payload transport are anti-analysis evasion.\n\n## Source: ghsa-malware (fd67cad8ecac96684a8df48d315f1b4e3945b7c34244b40c9cfa32112f244683)\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":"tinkoff-pfp-block-mobile-advert-footer","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.3.3"],"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":"_bootstrap.js","sha256":"f1fb984ceec017cc4dd1af38193c02a836dffb31561d2946e27f24d71951949a","tlsh":"28a1b79a16a970194bb0dbe4ca174416f65bf6633390c2c4fb5ca9985f72124c3b2efc"},{"path":"index.js","sha256":"b9dccaa6b190483c571c2cd1393c27fc7afd517f45a81be50d760fc5c49824c6","tlsh":"25f02d9665deb853c2f067e2de620046f76284744a4740647ac850db1ea981412a9df9"}],"package_integrity":[{"filename":"tinkoff-pfp-block-mobile-advert-footer-20.3.3.tgz","hashes":{"sha1":"f2133cb6ba7b793b89d8c84d42e4eaec244dbd5a","sha512_sri":"sha512-l81SeXXOMWuPhzi/nTw8ql0GkDSEMJTMNPB1h5J7m+HLT8kAd1KmmcM0pAe85uDuhPuRX6mEz07OIyztTRHQaw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tinkoff-pfp-block-mobile-advert-footer/v/20.3.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j4mw-2cmq-xhcq"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014491","import_time":"2026-08-05T09:28:18.176925191Z","modified_time":"2026-08-05T08:58:10Z","sha256":"12bd549b3c3a286caedd91cb1bbc6052850f23c01f5eaa33e7c336db1928258c","source":"amazon-inspector","versions":["20.3.3"]},{"id":"GHSA-j4mw-2cmq-xhcq","import_time":"2026-08-06T00:58:53.394389332Z","modified_time":"2026-08-05T18:47:15Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"fd67cad8ecac96684a8df48d315f1b4e3945b7c34244b40c9cfa32112f244683","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0