Skip to main content
MalwarePublished Updated

ddok-modal (npm) · Malicious Code

Affects ddok-modalSource GCVE Database

0

Malicious package : remove ddok-modal and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 15:56 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10497

What to do

Remove ddok-modal 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
npmddok-modalAffected
  • =1.0.0
Fixed in–

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

Description

The ddok-modal npm package is a malicious React component that impersonates wallet connection modals for popular cryptocurrency wallets such as MetaMask, Phantom, Rabby, TronLink, Bitget, Coinbase, and Solflare. It captures user credentials including passwords and secret recovery phrases by sending them to attacker-controlled endpoints. The package collects additional user information like IP address and geolocation to enhance the attack. This malicious behavior occurs in version 1.0.0 of ddok-modal. Any web application embedding this component risks exposing its users' sensitive wallet credentials to attackers.

References

Community reviews

Loading reviews…