npm

encrypt-string-ttak @1.0.2

Vulnerability report · Last retrieved from osv.dev August 5, 2026 at 1:58 AM UTC

Malicious

OSV ID

MAL-2026-11011

Ecosystem

npm

Summary

The 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.

Source: amazon-inspector (cf72c81030b9346ff3d3dd6f2e5f3395a61d433def25e5e2ea2a7e52a6051999)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.