Malicious code in chain-sdk-js (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (cb94ce743d92fe81015db70380ba325e78e4271b78689a9a6998cda4e6bdc038) chain-sdk-js is a typosquat of @thetalabs/theta-js (package name, description, author 'Theta Labs', and bundle filenames thetajs.cjs.js/thetajs.umd.js all mimic the legitimate SDK). The package's main entry, executed on require/import in cjs, esm, and umd builds, DES-decrypts an opaque blob (`rsa.db`) loaded from the co-installed dependency `thedata` (^1.0.1) using the hardcoded password 'hydra', then spawns a `node` child process and pipes the decrypted bytes into its stdin for execution (`child_process.spawn('node', [], {...}); rsa_exec.stdin.write(String(rsaDecrypted))`). Splitting the loader from the encrypted payload into a separately-published dependency (`node_modules/thedata/apps/docs/app/rsa.db` and `des.db`) hides the actual code that runs from static inspection of this tarball. The dist bundles also contain hardcoded POST/fetch call sites consistent with outbound network activity from the executed payload. Any consumer that installs and imports this package runs attacker-controlled code with the installer's privileges; the typosquat targets Theta blockchain developers who handle wallet and private-key material. ## Source: ghsa-malware (f713f26f148a489ba3a8a242faf3bcb4963cd513eb94c02a74d2877f92fc162a) Any 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.
Malicious code in chain-sdk-js (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (cb94ce743d92fe81015db70380ba325e78e4271b78689a9a6998cda4e6bdc038) chain-sdk-js is a typosquat of @thetalabs/theta-js (package name, description, author 'Theta Labs', and bundle filenames thetajs.cjs.js/thetajs.umd.js all mimic the legitimate SDK). The package's main entry, executed on require/import in cjs, esm, and umd builds, DES-decrypts an opaque blob (`rsa.db`) loaded from the co-installed dependency `thedata` (^1.0.1) using the hardcoded password 'hydra', then spawns a `node` child process and pipes the decrypted bytes into its stdin for execution (`child_process.spawn('node', [], {...}); rsa_exec.stdin.write(String(rsaDecrypted))`). Splitting the loader from the encrypted payload into a separately-published dependency (`node_modules/thedata/apps/docs/app/rsa.db` and `des.db`) hides the actual code that runs from static inspection of this tarball. The dist bundles also contain hardcoded POST/fetch call sites consistent with outbound network activity from the executed payload. Any consumer that installs and imports this package runs attacker-controlled code with the installer's privileges; the typosquat targets Theta blockchain developers who handle wallet and private-key material. ## Source: ghsa-malware (f713f26f148a489ba3a8a242faf3bcb4963cd513eb94c02a74d2877f92fc162a) Any 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10608
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-2p8p-vrrr-9f6c"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5a00a391ae9bcd3f7ef013
Added to database: 07/17/2026, 10:14:59 UTC
Last updated: 07/26/2026, 23:32:29 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.