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-6468: Malicious code in ts-opus (npm)

0
Critical
Published: 06/25/2026 (06/25/2026, 18:11:49 UTC)
Source: GCVE Database
Product: ts-opus

Description

The ts-opus npm package version 0.0.8 contains malicious code that injects a require call to an undeclared external module 'node-slot' inside files mimicking the legitimate big.js library. This causes execution of potentially arbitrary code from an external source at require-time, with all errors silently suppressed. This is a supply-chain attack targeting consumers expecting the genuine big.js package. Any system with this package installed should be considered fully compromised, and secrets should be rotated immediately.

Affected software

npmghsa
ts-opus
Affected versions
=0.0.8

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: 06/26/2026, 22:35:49 UTC

Technical Analysis

The ts-opus package version 0.0.8 ships an unmodified copy of the legitimate big.js library but injects additional top-level code inside big.js and big.mjs that requires an undeclared module named 'node-slot'. This module is not listed in package.json dependencies, allowing the package to load an external module resolved at install time, which is outside the control of the ts-opus tarball. The injected code calls doc.from_str() on the required module, and all synchronous errors and promise rejections are caught and ignored, hiding any failure from the user. This behavior constitutes a targeted supply-chain attack, misleading consumers who believe they are using the authentic big.js library. The malicious code executes at require-time, potentially compromising the host system.

Potential Impact

Any computer with ts-opus version 0.0.8 installed or running is considered fully compromised. The malicious code executes arbitrary external code silently, potentially allowing an attacker full control over the system. All secrets and keys stored on the compromised computer should be considered exposed and must be rotated immediately from a secure, unaffected device. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors introduced by this compromise.

Mitigation Recommendations

No official patch or fix is currently available for ts-opus version 0.0.8. Users should immediately remove this package from their systems. Because the package executes undeclared external code and silently suppresses errors, any system with this package installed should be treated as fully compromised. All secrets and credentials on the affected system must be rotated from a different, secure computer. Monitor for any unusual activity and consider rebuilding affected systems from known good backups.

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-6468
Osv Schema Version
1.7.4
Aliases
["GHSA-xr76-fgrm-h52p"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a3ef7c927e9c7971900023c

Added to database: 06/26/2026, 22:06:01 UTC

Last enriched: 06/26/2026, 22:35:49 UTC

Last updated: 06/26/2026, 22:35:49 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