NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

trailservernpm

Advisory published Updated

trailserver is a confirmed malicious npm package (MAL-2026-12484) that steals credentials and exfiltrates sensitive data (malicious version 1.0.5). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in trailserver (npm)

MAL-2026-12484
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall trailserver

What this malware does

The package's declared main entry launcher.js invokes launch() at top level, so require('trailserver') triggers system-level installation of Python (via winget, or by downloading python-3.12.3-amd64.exe from python.org and running the installer silently), pip-installs pyperclip/keyboard/pyautogui/pillow/requests, and spawns a bundled Python script (client/noderzero.py). That script continuously monitors the clipboard and captures full-screen screenshots (plus OCR-selected regions) and POSTs the raw text and base64-encoded JPEG images to the hardcoded URL https://trailserver.vercel.app/api; the destination is not caller-configurable. The Python payload additionally registers global keyboard hooks, hides its UI via overrideredirect and a transparent-color topmost overlay, auto-types content into other applications through pyautogui, and exposes a ctrl+q panic-exit. Installing or importing this package delivers a stealth clipboard/screen/keystroke surveillance agent to the installer's machine and streams its output to an author-controlled endpoint.

Malicious versions

1 flagged
1.0.5

Indicators of compromise (SHA-256)

93c4162f378d4eac522f50de4af9ac836cd0ec727ea90a33633a3cd36e29211e

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for trailserver (version 1.0.5).

  2. If you installed it — respond

    trailserver is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If trailserver was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. trailserver on npm has been identified as a malicious package (version 1.0.5 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-014897

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks trailserver-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

trailserver (npm) malicious package — MAL-2026-12484 | O3 Security