Skip to main content
MalwarePublished Updated

chain-sdk-js (npm) · Malicious Code

Affects chain-sdk-jsSource GCVE Database

0

Malicious package : remove chain-sdk-js and rotate any secrets on hosts that installed it.

Data as of 17 Sep 2026, 17:06 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10608

What to do

Remove chain-sdk-js from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmchain-sdk-jsAffected
  • 1.0.2 – 1.0.6
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

chain-sdk-js is a malicious typosquatting npm package impersonating the legitimate @thetalabs/theta-js SDK. It decrypts and executes attacker-controlled code upon import, potentially compromising any system that installs it. The malicious payload is hidden in a separate dependency and performs outbound network activity. This package targets Theta blockchain developers who manage sensitive wallet and private-key data. Systems with this package installed should be considered fully compromised, and all secrets should be rotated immediately.

References

Community reviews

Loading reviews…