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 nano-perf (npm)

0
Critical
Published: 06/17/2026 (06/17/2026, 19:01:25 UTC)
Source: GCVE Database
Product: nano-perf

Description

The nano-perf npm package versions 1.0.0 through 2.2.0 contain malicious code that installs a persistent background daemon during installation. This daemon silently collects system fingerprint and telemetry data and periodically sends it encrypted to a remote command-and-control server. It also polls for remote tasks to execute, including CPU benchmarking and system probing. The package advertises itself as a performance monitoring tool but does not disclose this covert behavior. Systems with this package installed should be considered fully compromised.

Affected software

npmghsa
nano-perf
Affected versions
=2.2.0=2.0.1=2.1.0=2.0.0=1.0.1=1.1.0=1.0.0

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/20/2026, 14:29:19 UTC

Technical Analysis

Versions 1.0.0, 1.0.1, 1.1.0, 2.0.0, 2.0.1, 2.1.0, and 2.2.0 of the npm package nano-perf include a postinstall script that launches a detached daemon process (daemon.js) which survives npm install completion. This daemon reconstructs an obfuscated Supabase endpoint and sends persistent node identifiers and system telemetry (CPU count, memory, platform info, heartbeat) to a remote table named stealth_heartbeats. It also polls a stealth_tasks table for commands, performing CPU benchmarking and system probing. The package silently exfiltrates host fingerprint and resource telemetry hourly via an AES-256-GCM encrypted POST to a hardcoded endpoint (https://ly-distilled-node.vercel.app/api/heartbeat). The encryption key is derived from the hostname, allowing the receiver to decrypt the data. The README does not disclose this behavior, which is enabled by default without opt-in. The package effectively acts as a covert command-and-control beacon and task agent rather than a legitimate performance utility.

Potential Impact

Any system with nano-perf installed or running is considered fully compromised. The malicious daemon provides persistent remote access and telemetry exfiltration capabilities to the attacker. This includes system fingerprinting, resource usage monitoring, and remote task execution. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a separate, trusted system. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.

Defensive Guidance

No official patch or fix is available. The package should be immediately removed from all affected systems. All credentials, secrets, and keys stored on compromised systems must be rotated from a different, secure environment. Due to the persistent and covert nature of the malware, affected systems should be treated as fully compromised and undergo thorough incident response and remediation.

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-11204
Osv Schema Version
1.7.4
Aliases
["GHSA-4236-g67q-42fc"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a870a72acd9273b49b58a1f

Added to database: 08/20/2026, 14:08:50 UTC

Last enriched: 08/20/2026, 14:29:19 UTC

Last updated: 08/20/2026, 14:29:19 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