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 ts-wross (npm)

0
Critical
Published: 06/23/2026 (06/23/2026, 06:22:06 UTC)
Source: GCVE Database
Product: ts-wross

Description

The ts-wross npm package is a malicious package impersonating the legitimate big.js library. It contains injected code that loads and executes a dependency called node-slot at import time, which can run attacker-controlled code silently. Installing this package can lead to full compromise of the affected system, requiring immediate secret and key rotation and removal of the package.

Affected software

npmghsa
ts-wross
Affected versions
=0.0.8=0.0.7

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/09/2026, 10:04:37 UTC

Technical Analysis

The ts-wross package is a malicious npm package masquerading as the legitimate big.js arbitrary-precision arithmetic library. While its source code is mostly a verbatim copy of big.js v7.0.1, it contains an injected try/catch block that requires and executes the node-slot package at module load time. This injected code runs silently due to error swallowing, enabling execution of attacker-controlled code on any system that imports or requires ts-wross. The package metadata falsely claims authorship and repository information to appear legitimate. The legitimate big.js package has no dependencies and no such code, making ts-wross a lure to drop malicious code on consumers who mistakenly install it.

Potential Impact

Any system that installs or runs the ts-wross package is considered fully compromised. The malicious code executes at import time, potentially giving attackers full control over the affected machine. All secrets and keys stored on the compromised system should be rotated immediately from a separate, trusted machine. Removing the package alone may not eliminate all malicious artifacts or backdoors introduced by the attacker.

Mitigation Recommendations

No official patch or fix is available for this malicious package. The recommended mitigation is to immediately remove the ts-wross package from all affected systems. Additionally, rotate all secrets, credentials, and keys that were stored or used on the compromised machines from a secure environment. Exercise caution when installing npm packages and verify package authenticity to avoid supply chain attacks.

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-6278
Osv Schema Version
1.7.4
Aliases
["GHSA-53h7-mc3v-w73c"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a4f6c6168715ace4315a078

Added to database: 07/09/2026, 09:39:45 UTC

Last enriched: 07/09/2026, 10:04:37 UTC

Last updated: 07/21/2026, 17:18:00 UTC

Views: 16

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