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 mdb-vite (npm)

0
Critical
Published: 07/10/2026 (07/10/2026, 16:12:23 UTC)
Source: GCVE Database
Product: mdb-vite

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d24ffe7ac6e64aab50d9ba84f5b06ffd1047663698d25071770749b36afe6543) The package's default export `getPlugin` performs an HTTPS fetch to https://svganchordev.net/icons/107 with URL components split across `protocol`, `domain`, `separator`, and `path` variables to disguise the destination, then passes the response's `credits` field to `new Function('require','module',...,data.credits)` and invokes it with full Node capabilities (require, module, process, Buffer, global, __dirname=process.cwd()). Any consumer that imports the package and invokes the default export runs attacker-controlled code with the installer's Node privileges — enabling arbitrary payload delivery, credential theft, persistence, or downstream compromise. Additional misdirection: the package name `mdb-vite` evokes MDBootstrap/Vite tooling, keywords are `react, helper, svg`, the README titles itself `polymarket-clob-api`, and package.json describes it as a Polymarket CLOB SDK — none of which match the code, which only fetches and evals remote JavaScript. A `bearrtoken: 'logo'` header and an unused CDN-provider map (cloudflare/fastly/akamai/cloudfront) are decoys to make the loader appear CDN-related. ## Source: ghsa-malware (5e2c6b3eff8c409ee862db83e5d1211582cd14238384a89c0bc6b31b16fbead7) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected software

npmghsa
mdb-vite

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/11/2026, 10:05:58 UTC

Technical Analysis

The 'mdb-vite' package in the npm ecosystem is identified as malicious software. Installation or execution of this package results in a full system compromise, potentially granting an attacker complete control over the affected machine. Due to the severity of the compromise, simply uninstalling the package may not remove all malicious artifacts. The advisory recommends rotating all secrets and keys from a separate, uncompromised system to mitigate ongoing risk.

Potential Impact

Any system with the 'mdb-vite' package installed or running should be considered fully compromised. Attackers may have gained full control, risking exposure or theft of all stored secrets and keys. The integrity and confidentiality of the affected system cannot be assured until remediation steps are taken.

Mitigation Recommendations

Remove the 'mdb-vite' package immediately. Rotate all secrets and keys stored on the compromised system from a different, secure computer. Because the system may remain compromised even after removal, consider rebuilding or thoroughly cleaning the affected machine to ensure all malicious software is eradicated. No official patch or fix is available as this is a malicious package rather than a vulnerability in legitimate software.

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-10144
Osv Schema Version
1.7.4
Aliases
["GHSA-w572-cxjv-46jc"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a520ee168715ace43917a12

Added to database: 07/11/2026, 09:37:37 UTC

Last enriched: 07/11/2026, 10:05:58 UTC

Last updated: 07/28/2026, 16:55:24 UTC

Views: 26

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