目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

encrypt-string-ttak

MAL-2026-11011
2026-08-04 22:32:03
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in encrypt-string-ttak (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
201
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmencrypt-string-ttak*
npmencrypt-string-ttak1.0.0
npmencrypt-string-ttak1.0.1
npmencrypt-string-ttak1.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11011","published":"2026-07-22T20:39:04Z","modified":"2026-08-04T22:32:02.648015088Z","aliases":["GHSA-mpgp-492w-x7xj"],"summary":"Malicious code in encrypt-string-ttak (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cf72c81030b9346ff3d3dd6f2e5f3395a61d433def25e5e2ea2a7e52a6051999)\nThe package is published as a UniApp 'encryptString' helper but its single shipped module dist/encrypt-string.js is heavily obfuscated (obfuscator.io rotated string-array + base64 decoder + self-defending checksum loop) to hide a credential harvester. The exported handleEncryptResponse/encryptString APIs branch on URL substrings for login, register, pay, wallet, and profile endpoints, extract cleartext values including login password (p), pay password (pp), Google Authenticator secret (googleCodeSecretKey), real name (rn), KYC image URLs (u1/u2), and wallet balances (b/b1/b2/usdt) from the intercepted request/response bodies, XOR-obfuscate the payload with key 0x2537, and POST it via uni.request to a hardcoded JSONBin.io bin at api.jsonbin.io/v3/b using an author-owned X-Master-Key with X-Bin-Private:true. Records are keyed per end-user id. The obfuscation conceals both the destination host and the master API key so the exfiltration is not visible in the source. The 'encrypt-string' naming and API surface are a cover story for bulk capture of authentication factors and KYC identity data belonging to the end users of any UniApp application that integrates this module.\n\n## Source: ghsa-malware (bb8d4c8e562697925ed58fe79611f3adaeb70f5143c2b78ac1dce0c5e501c441)\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":"encrypt-string-ttak","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.0","1.0.2"],"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"},{"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":"dist/encrypt-string.js","sha256":"34d2de06ae441acdbec877044e4ed8a3c9f46e1825f6c89fb53d93e880c6b6c8","tlsh":"027285453fc078481bab87e5b32bb0d2f19a04be29984a4ed411fd6136e463afbf1531"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mpgp-492w-x7xj"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/encrypt-string-ttak/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/encrypt-string-ttak/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/encrypt-string-ttak/v/1.0.2"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-mpgp-492w-x7xj","import_time":"2026-07-22T23:02:09.280989424Z","modified_time":"2026-07-22T20:39:05Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"bb8d4c8e562697925ed58fe79611f3adaeb70f5143c2b78ac1dce0c5e501c441","source":"ghsa-malware"},{"id":"IN-MAL-2026-011008","import_time":"2026-08-04T21:33:13.36621258Z","modified_time":"2026-08-04T21:19:01Z","sha256":"cf72c81030b9346ff3d3dd6f2e5f3395a61d433def25e5e2ea2a7e52a6051999","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-011085","import_time":"2026-08-04T21:33:16.316646036Z","modified_time":"2026-08-04T21:30:23Z","sha256":"d0e76e07b9481e48aed15c8c742efdd04842416151389e53a82d2f7d925f0607","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-011172","import_time":"2026-08-04T22:30:03.204033666Z","modified_time":"2026-08-04T21:42:55Z","sha256":"14d7f5ee3a1a66813ae093b96a6713382f629b5b63351c67a3f3187e5c1dafc5","source":"amazon-inspector","versions":["1.0.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0