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…

MAL-2026-10135: Malicious code in theta-sdk-js (npm)

0
High
Published: 07/10/2026 (07/10/2026, 16:15:18 UTC)
Source: GCVE Database
Product: theta-sdk-js

Description

The npm package theta-sdk-js versions 1.2.14, 1.2.15, 1.2.16, and 1.2.17 contain malicious code hidden in the src/ directory. This code decrypts encrypted payloads using a hardcoded password and executes them in detached child Node.js processes, enabling a hidden execution channel. The main distributed entrypoint is clean, but importing subpaths or using bundlers that resolve src/index.js triggers the malicious behavior. This evasion technique indicates deliberate malicious intent rather than legitimate SDK functionality.

Affected software

npmghsa
theta-sdk-js
Affected versions
=1.2.16=1.2.15=1.2.14=1.2.17

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/11/2026, 09:52:28 UTC

Technical Analysis

The theta-sdk-js npm package versions 1.2.14 through 1.2.17 include malicious code in the src/decrypt.js and src/providers/BaseProvider.js files. On module load, decrypt.js reads encrypted blobs from a sibling package (tchain-api) and decrypts them with a hardcoded password 'hydra'. BaseProvider.js then spawns detached Node.js child processes, feeding the decrypted payload for execution and detaching the child process to outlive the parent. The main entrypoint file is clean, but the malicious code is triggered when consumers import subpaths or use bundlers that resolve the src/index.js file. This design, including encrypted payloads in a runtime dependency and execution in detached processes, is a clear evasion tactic and malicious behavior.

Potential Impact

This malicious code enables execution of hidden payloads on systems that install and import the affected theta-sdk-js package versions in a way that triggers the src code (e.g., subpath imports or certain bundlers). This can lead to unauthorized code execution, persistence via detached child processes, and potential compromise of the host environment. No known exploits in the wild have been reported yet.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing or using theta-sdk-js versions 1.2.14, 1.2.15, 1.2.16, and 1.2.17. Remove these versions from projects and replace them with trusted alternatives. Monitor for updates or advisories from the package maintainers or npm registry for any official fixes or removals. Since this is a malicious package, consider scanning existing environments for its presence and removing it.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10135
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a520eb968715ace438f5674

Added to database: 07/11/2026, 09:36:57 UTC

Last enriched: 07/11/2026, 09:52:28 UTC

Last updated: 07/11/2026, 09:52:28 UTC

Views: 2

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

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

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