Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in chain-sdk-js (npm)

0
Unknown
Published: 07/14/2026 (07/14/2026, 17:54:13 UTC)
Source: GCVE Database
Product: chain-sdk-js

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

npmghsa
chain-sdk-js
Affected versions
=1.0.3=1.0.5=1.0.4=1.0.2=1.0.6

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses