Malicious code in trailserver (npm)
The trailserver npm package version 1.0.5 contains malicious code that, when installed or imported, silently installs Python and several Python libraries, then runs a Python script that monitors clipboard content, captures screenshots including OCR-selected regions, and records keystrokes. The collected data is sent to a hardcoded remote server controlled by the attacker. The malicious payload also hides its user interface and can auto-type content into other applications, with a hidden panic-exit feature.
AI Analysis
Technical Summary
The trailserver npm package (version 1.0.5) includes a malicious main entry script (launcher.js) that triggers a system-level Python installation if not present, installs Python packages (pyperclip, keyboard, pyautogui, pillow, requests), and executes a bundled Python script (client/noderzero.py). This script continuously monitors the clipboard, captures full-screen and OCR-selected screenshots, registers global keyboard hooks, and auto-types content into other applications. All captured data (text and images) is exfiltrated via HTTP POST requests to a hardcoded URL (https://trailserver.vercel.app/api), which is not configurable by the user. The payload hides its UI using transparent overlays and provides a hidden panic-exit via ctrl+q. This behavior constitutes a stealthy surveillance agent delivered upon installation or import of the package.
Potential Impact
Installation or import of the trailserver package version 1.0.5 results in a stealthy surveillance agent on the victim's machine that can capture sensitive clipboard data, screenshots (including OCR-processed regions), and keystrokes. This data is exfiltrated to an attacker-controlled server, potentially leading to significant confidentiality breaches and privacy violations. The attacker gains remote access to sensitive user input and screen content without user consent or awareness.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should avoid installing or importing trailserver version 1.0.5. Remove any existing installations of this package and scan affected systems for the presence of the Python payload and related artifacts. Monitor network traffic for connections to https://trailserver.vercel.app/api and block this domain at network perimeter controls. Since this is a malicious package, the best mitigation is to avoid use and remove it if found. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Malicious code in trailserver (npm)
Description
The trailserver npm package version 1.0.5 contains malicious code that, when installed or imported, silently installs Python and several Python libraries, then runs a Python script that monitors clipboard content, captures screenshots including OCR-selected regions, and records keystrokes. The collected data is sent to a hardcoded remote server controlled by the attacker. The malicious payload also hides its user interface and can auto-type content into other applications, with a hidden panic-exit feature.
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 trailserver npm package (version 1.0.5) includes a malicious main entry script (launcher.js) that triggers a system-level Python installation if not present, installs Python packages (pyperclip, keyboard, pyautogui, pillow, requests), and executes a bundled Python script (client/noderzero.py). This script continuously monitors the clipboard, captures full-screen and OCR-selected screenshots, registers global keyboard hooks, and auto-types content into other applications. All captured data (text and images) is exfiltrated via HTTP POST requests to a hardcoded URL (https://trailserver.vercel.app/api), which is not configurable by the user. The payload hides its UI using transparent overlays and provides a hidden panic-exit via ctrl+q. This behavior constitutes a stealthy surveillance agent delivered upon installation or import of the package.
Potential Impact
Installation or import of the trailserver package version 1.0.5 results in a stealthy surveillance agent on the victim's machine that can capture sensitive clipboard data, screenshots (including OCR-processed regions), and keystrokes. This data is exfiltrated to an attacker-controlled server, potentially leading to significant confidentiality breaches and privacy violations. The attacker gains remote access to sensitive user input and screen content without user consent or awareness.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should avoid installing or importing trailserver version 1.0.5. Remove any existing installations of this package and scan affected systems for the presence of the Python payload and related artifacts. Monitor network traffic for connections to https://trailserver.vercel.app/api and block this domain at network perimeter controls. Since this is a malicious package, the best mitigation is to avoid use and remove it if found. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12484
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735742bf8831d5391598da
Added to database: 08/05/2026, 15:31:14 UTC
Last enriched: 08/05/2026, 17:10:55 UTC
Last updated: 08/05/2026, 17:10:55 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.
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.