Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in trailserver (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:08:20 UTC)
Source: GCVE Database
Product: trailserver

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

npmghsa
trailserver
Affected versions
=1.0.5

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

AILast updated: 08/05/2026, 17:10:55 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses