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 tramvai-module-feature-toggle (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 09:09:20 UTC)
Source: GCVE Database
Product: tramvai-module-feature-toggle

Description

The npm package tramvai-module-feature-toggle version 20.5.3 is a malicious package that drops and executes a platform-specific binary from attacker-controlled Cloudflare Workers hosts. It uses obfuscation techniques to evade detection, including runtime assembly of hostnames and fallback to covert DNS TXT record payload delivery. The package does not provide legitimate functionality and its installation results in full system compromise.

Affected software

npmghsa
tramvai-module-feature-toggle
Affected versions
=20.5.3

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/06/2026, 19:20:49 UTC

Technical Analysis

The tramvai-module-feature-toggle package (version 20.5.3) is a malicious npm package that, upon require(), loads a setup script which downloads a platform-specific binary from hardcoded Cloudflare Workers domains. This binary is saved to a hidden temporary path, given executable permissions, and executed detached via /bin/sh. The package uses obfuscation by assembling destination hostnames at runtime and employs a fallback covert channel via DNS TXT records if HTTPS fetch fails. Execution is controlled by opt-out environment variables and a cooldown lockfile. The package mimics the legitimate tramvai ecosystem but contains no real functionality beyond the drop-and-execute behavior. Any system with this package installed should be considered fully compromised.

Potential Impact

Installation of this package results in full compromise of the affected system. The attacker gains the ability to execute arbitrary code via the downloaded binary. All secrets and keys stored on the compromised system are at risk and should be rotated immediately from a different, uncompromised system. Removing the package alone does not guarantee removal of all malicious components or persistence mechanisms.

Defensive Guidance

Remove the tramvai-module-feature-toggle package version 20.5.3 immediately. Rotate all secrets and keys that may have been exposed on the compromised system from a separate, secure environment. Conduct a thorough investigation for additional persistence or malware installed by the attacker. There is no official patch or fix available; remediation requires removal and incident response.

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-12285
Osv Schema Version
1.7.4
Aliases
["GHSA-x32c-hhrc-xrc7"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a74cfacbf8831d5391b2180

Added to database: 08/06/2026, 18:17:16 UTC

Last enriched: 08/06/2026, 19:20:49 UTC

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