Malicious code in tset_racie (npm)
Description
The npm package tset_racie versions 1.0.1 and 1.0.3 contains embedded malicious code. It uses an obfuscated payload with RC4 encryption and runtime-assembled Function constructors to execute arbitrary code immediately upon requiring the package. The package metadata and structure indicate it is a disposable malicious upload with anti-debugging features. The exact malicious payload purpose is unclear, but the package compromises any system where it is installed.
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 tset_racie npm package versions 1.0.1 and 1.0.3 include a single obfuscated JavaScript file that contains a 551-entry RC4-encrypted string array and a base64+RC4 decoder. It employs anti-debugging techniques by regex-testing function toString outputs to detect debugging or beautification attempts. The code dynamically assembles and executes a payload using the Function constructor, resulting in immediate execution of arbitrary code upon requiring the package. The package metadata is minimal and suspicious, consistent with short-lived malicious packages. Although the exact payload function (e.g., exfiltration, credential theft, dropper) cannot be determined statically, the presence of encrypted runtime-executed code and anti-debugging confirms malicious intent.
Potential Impact
Any system that installs or runs the tset_racie package versions 1.0.1 or 1.0.3 is fully compromised. The malicious code executes immediately, potentially allowing attackers full control over the system. All secrets and keys stored on the compromised system should be considered exposed and must be rotated from a secure environment. Removing the package does not guarantee removal of all malicious artifacts or backdoors introduced by the code.
Defensive Guidance
Remove the tset_racie package versions 1.0.1 and 1.0.3 immediately from all systems. Rotate all secrets, credentials, and keys that were stored or used on affected systems from a different, uncompromised machine. Conduct a thorough investigation and remediation of the affected systems, as the package grants full control to attackers and may have installed additional malware. There is no official patch or fix; the package itself is malicious and should not be used.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14550
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-7978-5fh2-74q2"]
- Ecosystems
- ["npm"]
Threat ID: 6a905405acd9273b4969731a
Added to database: 08/27/2026, 15:13:09 UTC
Last enriched: 09/10/2026, 06:38:05 UTC
Last updated: 10/01/2026, 22:11:14 UTC
Views: 26
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.
External Links
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.