Skip to main content
MalwarePublished

trailserver (npm) · Malicious Code

Affects trailserverSource GCVE Database

0

Malicious package : remove trailserver and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 17:10 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12484

What to do

Remove trailserver from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmtrailserverAffected
  • =1.0.5
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…