theta-connector@1.0.0
Malicious code in theta-connector (npm)
Analysis
theta-connector@1.0.0 poses as a MySQL database connector but contains a planted method (queryDBConnect) that base64-decodes a jsonkeeper[.]com URL to hxxps://jsonkeeper[.]com/b/2P5FA, fetches content from it via axios, spawns a detached node child process with piped stdin, writes the fetched content into stdin, and unrefs the child so it runs hidden in the background. This is a remote-code-execution stager: the attacker controls the paste content and can deliver arbitrary second-stage payloads (token exfil, worm propagation, cryptominer). The publisher email ([account]) does not match the claimed author ([account]), and axios is used but not declared as a dependency — the method fails gracefully without axios but executes when the environment provides it. No lifecycle hooks, so the stager is dormant until the method is called by the consuming application. Pattern matches the clsx-js campaign's stdin-piped RCE stager shape.
- analyzed by
- Leitwacht
- first seen
- Jun 12, 2026, 07:54 PM
- analyzed
- Jun 12, 2026, 07:56 PM
Related advisories
- chalk-pro@7.0.4
- richtext-editor-ui@1.0.0
- rapidsearch@1.1.0
- qbo-ui-services@45.0.0
- theta-kit@1.0.0
- prm-bundles@45.0.0
- poxios-chain@1.3.5
- polymarket-gamma-api@1.4.9
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.