Malicious code in tsihealth-client (npm)
The tsihealth-client npm package contains malicious code that establishes a persistent remote shell connection to a attacker's server. The package's main module uses a self-decoding function that XOR-decodes an obfuscated payload and executes it at load time. This payload cannot be audited without execution and creates a network-to-shell control channel, allowing full command execution on the host. The package versions 1.0.0 through 1.0.3 are affected. No official patch or remediation guidance is provided, and no known exploits in the wild have been reported.
AI Analysis
Technical Summary
The tsihealth-client npm package (versions 1.0.0, 1.0.1, 1.0.2, and 1.0.3) contains a top-level self-decoding Immediately Invoked Function Expression (IIFE) that XOR-decodes a URI-encoded payload keyed on the function's own source code. This decoded payload is executed via eval() at module load time. The decoder includes anti-tampering logic that aborts execution if the source is modified. The package metadata describes it as a client for a remote control server that maintains a persistent connection to receive and execute commands. The exported provider function establishes a network-to-shell control channel, spawning a local ChildProcess shell that allows full command execution by whoever controls the remote server URL. This behavior constitutes malicious code embedded in the package, enabling remote code execution under the control of an attacker.
Potential Impact
The malicious code enables an attacker controlling the remote server URL to execute arbitrary commands on the host running the tsihealth-client package. This results in a full remote shell with persistent network access, effectively compromising the host system. The impact includes unauthorized control, potential data theft, system manipulation, and further malware deployment. No known exploits in the wild have been reported, but the presence of such a backdoor represents a critical security risk.
Mitigation Recommendations
No official patch or remediation guidance is provided for this malicious package. Users should immediately remove tsihealth-client versions 1.0.0 through 1.0.3 from their environments and avoid installing this package. Investigate any systems where this package was used for signs of compromise. Consider blocking the package from internal repositories and monitoring for attempts to install it. Since this is a malicious package, remediation involves removal and prevention rather than patching.
Malicious code in tsihealth-client (npm)
Description
The tsihealth-client npm package contains malicious code that establishes a persistent remote shell connection to a attacker's server. The package's main module uses a self-decoding function that XOR-decodes an obfuscated payload and executes it at load time. This payload cannot be audited without execution and creates a network-to-shell control channel, allowing full command execution on the host. The package versions 1.0.0 through 1.0.3 are affected. No official patch or remediation guidance is provided, and no known exploits in the wild have been reported.
Affected software
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
Technical Analysis
The tsihealth-client npm package (versions 1.0.0, 1.0.1, 1.0.2, and 1.0.3) contains a top-level self-decoding Immediately Invoked Function Expression (IIFE) that XOR-decodes a URI-encoded payload keyed on the function's own source code. This decoded payload is executed via eval() at module load time. The decoder includes anti-tampering logic that aborts execution if the source is modified. The package metadata describes it as a client for a remote control server that maintains a persistent connection to receive and execute commands. The exported provider function establishes a network-to-shell control channel, spawning a local ChildProcess shell that allows full command execution by whoever controls the remote server URL. This behavior constitutes malicious code embedded in the package, enabling remote code execution under the control of an attacker.
Potential Impact
The malicious code enables an attacker controlling the remote server URL to execute arbitrary commands on the host running the tsihealth-client package. This results in a full remote shell with persistent network access, effectively compromising the host system. The impact includes unauthorized control, potential data theft, system manipulation, and further malware deployment. No known exploits in the wild have been reported, but the presence of such a backdoor represents a critical security risk.
Defensive Guidance
No official patch or remediation guidance is provided for this malicious package. Users should immediately remove tsihealth-client versions 1.0.0 through 1.0.3 from their environments and avoid installing this package. Investigate any systems where this package was used for signs of compromise. Consider blocking the package from internal repositories and monitoring for attempts to install it. Since this is a malicious package, remediation involves removal and prevention rather than patching.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13404
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a74cf8ebf8831d5391ae9d7
Added to database: 08/06/2026, 18:16:46 UTC
Last enriched: 08/06/2026, 18:37:29 UTC
Last updated: 08/06/2026, 18:37:29 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.