Malicious code in sotqa-test (npm)
The npm package 'sotqa-test' version 20.3.8 contains malicious code that, upon loading, reconstructs command-and-control hostnames and downloads a platform-specific native binary without verification. This binary is saved under disguised filenames and executed detached from the main process. Additionally, a second obfuscated module acts as a dropper for another payload, also executed stealthily. The package effectively compromises any system on which it is installed, potentially giving full control to an attacker.
AI Analysis
Technical Summary
The 'sotqa-test' npm package (version 20.3.8) includes malicious functionality where, upon requiring the package, it loads a bootstrap script that reconstructs C2 hostnames from split strings and uses a DNS TXT covert channel fallback. It downloads a native binary over HTTPS, saves it to temporary directories with disguised filenames, sets executable permissions, and spawns it detached using shell commands. A secondary obfuscated dropper module ('lib/telemetry.js') masquerades as an Analytics SDK, dynamically resolves 'child_process', decodes a base64 payload, sets executable permissions, and executes it detached. There is no integrity verification of downloaded binaries, and endpoints are mutable, increasing risk. This behavior results in full system compromise.
Potential Impact
Any system with this package installed or running should be considered fully compromised. The attacker may gain full control over the system, including the ability to execute arbitrary native code. All secrets and keys stored on the compromised system are at risk and should be rotated immediately from a secure environment. Simply removing the package does not guarantee removal of all malicious artifacts or backdoors.
Mitigation Recommendations
Immediate removal of the 'sotqa-test' package version 20.3.8 is recommended. All secrets and keys stored on the affected system should be rotated from a different, trusted machine. Due to the nature of the compromise, a full system forensic investigation and potential rebuild may be necessary to ensure complete remediation. No official patch or fix is currently available. Monitor vendor advisories for updates.
Malicious code in sotqa-test (npm)
Description
The npm package 'sotqa-test' version 20.3.8 contains malicious code that, upon loading, reconstructs command-and-control hostnames and downloads a platform-specific native binary without verification. This binary is saved under disguised filenames and executed detached from the main process. Additionally, a second obfuscated module acts as a dropper for another payload, also executed stealthily. The package effectively compromises any system on which it is installed, potentially giving full control to an attacker.
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 'sotqa-test' npm package (version 20.3.8) includes malicious functionality where, upon requiring the package, it loads a bootstrap script that reconstructs C2 hostnames from split strings and uses a DNS TXT covert channel fallback. It downloads a native binary over HTTPS, saves it to temporary directories with disguised filenames, sets executable permissions, and spawns it detached using shell commands. A secondary obfuscated dropper module ('lib/telemetry.js') masquerades as an Analytics SDK, dynamically resolves 'child_process', decodes a base64 payload, sets executable permissions, and executes it detached. There is no integrity verification of downloaded binaries, and endpoints are mutable, increasing risk. This behavior results in full system compromise.
Potential Impact
Any system with this package installed or running should be considered fully compromised. The attacker may gain full control over the system, including the ability to execute arbitrary native code. All secrets and keys stored on the compromised system are at risk and should be rotated immediately from a secure environment. Simply removing the package does not guarantee removal of all malicious artifacts or backdoors.
Defensive Guidance
Immediate removal of the 'sotqa-test' package version 20.3.8 is recommended. All secrets and keys stored on the affected system should be rotated from a different, trusted machine. Due to the nature of the compromise, a full system forensic investigation and potential rebuild may be necessary to ensure complete remediation. No official patch or fix is currently available. Monitor vendor advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12071
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-p4jc-5f83-6g8m"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8c740eacd9273b49d5cf6f
Added to database: 08/24/2026, 16:40:46 UTC
Last enriched: 08/24/2026, 16:53:56 UTC
Last updated: 08/25/2026, 00:05:31 UTC
Views: 4
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.