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…

MAL-2026-6984: Malicious code in @vite-ln/build-ts (npm)

0
Critical
Published: 07/08/2026 (07/08/2026, 15:04:55 UTC)
Source: GCVE Database
Product: @vite-ln/build-ts

Description

The npm package @vite-ln/build-ts is a malicious clone of the legitimate vite package, containing obfuscated code that executes attacker-controlled payloads. When developers run the vite CLI from this package, it dynamically retrieves and executes code from blockchain RPC endpoints, allowing persistent remote code execution with full developer privileges. The package's presence indicates a full compromise of the affected system, and secrets stored on the machine should be rotated immediately. Removal of the package alone does not guarantee eradication of the malicious code or persistence mechanisms.

Affected software

npmghsa
@vite-ln/build-ts
Affected versions
=5.15.10=5.17.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: 07/10/2026, 09:41:00 UTC

Technical Analysis

@vite-ln/build-ts is a malicious npm package impersonating the legitimate vite package by copying its manifest but published under an unofficial scope. Its tarball appends an obfuscated payload to the CLI entry point that dynamically fetches attacker-controlled code via HTTP(S) GET and JSON-RPC 2.0 POST requests from blockchain RPC endpoints. The retrieved payload is XOR-decoded and executed both via eval and as a detached hidden Node.js child process, enabling persistent remote code execution with developer-level privileges. Additional obfuscation patterns are present in other package files, indicating a sophisticated evasion technique. Any system running this package is considered fully compromised.

Potential Impact

Execution of attacker-controlled code with full developer privileges on any system running the malicious package. Persistent hidden processes may remain after initial execution, leading to full system compromise. All secrets and keys stored on the affected system are at risk and should be rotated. Removal of the package does not guarantee removal of all malicious artifacts or persistence mechanisms.

Mitigation Recommendations

No official patch or fix is available for this malicious package. The package should be immediately removed from all systems. All secrets and keys stored on affected machines must be rotated from a separate, trusted environment. Due to the high likelihood of full system compromise, a thorough incident response and system rebuild or forensic investigation is recommended. Monitor for any detached node processes and suspicious network activity related to blockchain RPC endpoints. Avoid installing packages from unofficial or suspicious scopes.

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-6984
Osv Schema Version
1.7.4
Aliases
["GHSA-p85w-qq28-35h6"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba5068715ace4357ebcb

Added to database: 07/10/2026, 09:24:32 UTC

Last enriched: 07/10/2026, 09:41:00 UTC

Last updated: 07/10/2026, 09:41:00 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