Malicious code in test-agency-assignment (npm)
The npm package 'test-agency-assignment' version 1.0.2 contains malicious code that executes automatically on Windows hosts during installation. It uses a postinstall script to run a Visual Basic Script (VBS) that decrypts and loads a PowerShell payload designed for process hollowing, enabling arbitrary code execution. The package masquerades as a benign telemetry tool but functions solely as a dropper for attacker-controlled code.
AI Analysis
Technical Summary
The 'test-agency-assignment' npm package version 1.0.2 declares a postinstall lifecycle script that executes 'wscript.exe 4444.vbs' on Windows systems. This VBS file contains a complex multi-layer decoder involving Base64, XOR-masked AES S-box, and ChaCha20-IETF encryption to reconstruct a PowerShell loader. The loader is written to a randomly named file in the %TEMP% directory and executed via powershell.exe. Comments in the code indicate the PowerShell payload performs process hollowing. The package's apparent purpose as a 'Device Telemetry Aggregator' is a cover story; its sole function is to drop and execute malicious code during installation.
Potential Impact
Installing this package on a Windows host results in arbitrary attacker-controlled code execution with the privileges of the installing user. This can lead to system compromise, persistence, and further malicious activity. The malicious payload uses advanced obfuscation and process hollowing techniques to evade detection.
Mitigation Recommendations
No official patch or remediation is provided. Users should avoid installing version 1.0.2 of the 'test-agency-assignment' package. Verify package integrity and source before installation, especially on Windows systems. Consider using package auditing tools to detect malicious postinstall scripts.
Malicious code in test-agency-assignment (npm)
Description
The npm package 'test-agency-assignment' version 1.0.2 contains malicious code that executes automatically on Windows hosts during installation. It uses a postinstall script to run a Visual Basic Script (VBS) that decrypts and loads a PowerShell payload designed for process hollowing, enabling arbitrary code execution. The package masquerades as a benign telemetry tool but functions solely as a dropper for attacker-controlled code.
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 'test-agency-assignment' npm package version 1.0.2 declares a postinstall lifecycle script that executes 'wscript.exe 4444.vbs' on Windows systems. This VBS file contains a complex multi-layer decoder involving Base64, XOR-masked AES S-box, and ChaCha20-IETF encryption to reconstruct a PowerShell loader. The loader is written to a randomly named file in the %TEMP% directory and executed via powershell.exe. Comments in the code indicate the PowerShell payload performs process hollowing. The package's apparent purpose as a 'Device Telemetry Aggregator' is a cover story; its sole function is to drop and execute malicious code during installation.
Potential Impact
Installing this package on a Windows host results in arbitrary attacker-controlled code execution with the privileges of the installing user. This can lead to system compromise, persistence, and further malicious activity. The malicious payload uses advanced obfuscation and process hollowing techniques to evade detection.
Mitigation Recommendations
No official patch or remediation is provided. Users should avoid installing version 1.0.2 of the 'test-agency-assignment' package. Verify package integrity and source before installation, especially on Windows systems. Consider using package auditing tools to detect malicious postinstall scripts.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17239
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6abb4187f7a7c54106cc2f8f
Added to database: 09/29/2026, 04:41:43 UTC
Last enriched: 09/29/2026, 04:47:49 UTC
Last updated: 09/29/2026, 10:16:31 UTC
Views: 3
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.