Skip to main content
MalwarePublished

@db-tools/main-app (npm) · Malicious Code

Affects @db-tools/main-appSource GCVE Database

0

Malicious package : remove @db-tools/main-app and rotate any secrets on hosts that installed it.

Data as of 13 Jul 2026, 09:50 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10398

What to do

Remove @db-tools/main-app 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
npm@db-tools/main-appAffected
  • =2026.6.30
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 @db-tools/main-app version 2026.6.30 contains malicious code that executes a preinstall hook on every npm install. This hook sends the installer's public IP address and synthetic exception data to an author-controlled Sentry project without user consent. Additionally, the package's init() function silently sends application exceptions and personally identifiable information (PII) to the same remote Sentry project if no explicit DSN is provided, with no disclosure in the documentation.

References

Community reviews

Loading reviews…