Skip to main content
MalwarePublished Updated

mdb-vite (npm) · Malicious Code

Affects mdb-viteSource GCVE Database

0

Malicious package : remove mdb-vite and rotate any secrets on hosts that installed it.

Data as of 12 Sep 2026, 18:31 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10144

What to do

Remove mdb-vite from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmmdb-viteAffected–Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'mdb-vite' contains malicious code that fetches and executes attacker-controlled JavaScript code with full Node.js privileges on any system that imports and runs its default export. The package masquerades as a legitimate SDK related to Polymarket and Vite tooling but instead performs a remote code execution via dynamic evaluation of fetched code. This allows an attacker to deliver arbitrary payloads, steal credentials, maintain persistence, or compromise downstream systems.

References

Community reviews

Loading reviews…