MAL-2026-10608

    Dashboard / Malicious Package / MAL-2026-10608

    MAL-2026-10608

    Published: 14 Jul 2026Last Modified: 17 Jul 2026Aliases: 
    GHSA-2p8p-vrrr-9f6c

    Summary: Malicious code in chain-sdk-js (npm)

    Details: 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 packages

    Package

    Name: chain-sdk-js

    Purl: pkg:npm/chain-sdk-js

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    1.0.3
    1.0.5
    1.0.4
    1.0.2
    1.0.6
    MAL-2026-10608 | CVE-DB