Malicious code in nano-perf (npm)
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.
AI Analysis
Technical Summary
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.
Mitigation Recommendations
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.
Malicious code in nano-perf (npm)
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
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
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.
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 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.
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.