MAL-2026-12252Malicious code in tinkoff-pwa-confac-types (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | tinkoff-pwa-confac-types | * |
| npm | tinkoff-pwa-confac-types | 20.7.7 |
{"schema_version":"1.7.4","id":"MAL-2026-12252","published":"2026-08-05T09:03:45Z","modified":"2026-08-25T16:28:08.088004945Z","aliases":["GHSA-6rh3-gcq9-vmhv"],"summary":"Malicious code in tinkoff-pwa-confac-types (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fdebc9c281924002edabc3f53a796ac4a5a5e78d64fbb70974b2c3597de7f84d)\nThe package advertises itself as a types interface but its main entry silently requires _adapter.js inside a try/catch. On require, _adapter.js assembles obfuscated Cloudflare Workers hostnames by array-join (oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev) with a DNS-TXT chunked base64 fallback across tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site, downloads a platform-specific binary, writes it to /var/tmp (hidden dot-file name) or %TEMP% (disguised as dotnet_diag_*.exe), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. child_process is required lazily inside the activation path and the dropper honors DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK as a cover story. No native source ships in the tarball and the behavior is unrelated to any 'types' functionality. An unreferenced 81 KB lib/telemetry.js is present as additional staging.\n\n## Source: ghsa-malware (4afd9b0f4251e8f1984300da1467018532f55ae853ac6c5322720329cfefea2f)\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-pwa-confac-types","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.7.7"],"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":"_adapter.js","sha256":"3eed0559d23827018b0df4b55ccdfd64256dd075b4cbc16b3b503bfacf4a4d79","tlsh":"e9a1a99a12a5701c4bb0ebf4c61b5815f65af26337818294f79c65885f7352483b2efc"},{"path":"index.js","sha256":"252686aafd6d457c3170b80e2ee80f602202f4fba89eb54388f8822170786adc","tlsh":"caf081cb35deb4228370e2e3ce634051f6318d340b5781547acc40ee0fa441442d8fb9"}],"package_integrity":[{"filename":"tinkoff-pwa-confac-types-20.7.7.tgz","hashes":{"sha1":"27cfd9e7f4c740cd41a2c16d77033193adff2b3d","sha512_sri":"sha512-YsJZ0AlN8Rm/K8GQaT7Qc0LIhnk1LOowd51RTpPrOuSJOjq0eCDfRwrzvtgUuHuqqlQC+91s5Z856iohoW7qvQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tinkoff-pwa-confac-types/v/20.7.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6rh3-gcq9-vmhv"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014528","import_time":"2026-08-05T09:28:22.36592508Z","modified_time":"2026-08-05T09:03:45Z","sha256":"fdebc9c281924002edabc3f53a796ac4a5a5e78d64fbb70974b2c3597de7f84d","source":"amazon-inspector","versions":["20.7.7"]},{"id":"GHSA-6rh3-gcq9-vmhv","import_time":"2026-08-25T16:26:05.011911676Z","modified_time":"2026-08-25T15:55:15Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"4afd9b0f4251e8f1984300da1467018532f55ae853ac6c5322720329cfefea2f","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0