theta-connector
This report shows the evidence for theta-connector@1.0.0, the only known version.
OpenSSF/OSV Malicious Advisory
imported 4mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-5705 confirms this npm version as malicious.
Advisory
MAL-2026-5705
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in theta-connector (npm)
Details
The package advertises itself as a MySQL connector but `index.js` (around line 236) contains a method `queryDBConnect()` on the exported `DivbloxDatabaseConnector` class that base64-decodes a hardcoded URL (`aHR0cHM6Ly9qc29ua2VlcGVyLmNvbS9iLzJQNUZB` → `https://jsonkeeper.com/b/2P5FA`, an anonymous, mutable JSON-paste host), fetches the `.data.content` field via `axios.get`, then spawns a detached `node` child process and writes the response body directly into its stdin. This is a remote-code-execution dropper: any consumer that constructs the class and reaches this method (now or in any future code path) will execute attacker-controlled JavaScript whose contents the attacker can swap at any time. Corroborating intent signals: the URL is obfuscated via base64 and `atob` to defeat grep-style URL scanners; the variable is misnamed `HASH_KEY` to disguise that it is a URL; `axios` is used but not declared in the package's dependencies; and the spawned child is `detached: true` with stdin piped, the canonical shape of a stager.
## Source: ghsa-malware (7c95cece679b4ee82a7441f2ed422c648507a603e1b94ddac32255998298b026) 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.
References
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to theta-connector@1.0.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing theta-connector@1.0.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.