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…

MAL-2026-10398: Malicious code in @db-tools/main-app (npm)

0
High
Published: 07/13/2026 (07/13/2026, 05:14:59 UTC)
Source: GCVE Database
Product: @db-tools/main-app

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.

Affected software

npmghsa
@db-tools/main-app
Affected versions
=2026.6.30

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/13/2026, 09:50:05 UTC

Technical Analysis

The @db-tools/main-app npm package version 2026.6.30 includes a preinstall script that runs automatically during installation, invoking a verification script that collects the installer's public egress IP from a Cloudflare endpoint and sends it as user context along with a synthetic exception to a hardcoded Sentry project controlled by the package author. The init() API also defaults to this hardcoded Sentry DSN and enables sending default PII, causing any consumer that does not explicitly configure a DSN to leak application exceptions and PII to the same external project without notification. This behavior is unconditional and non-consensual, representing a privacy and data exfiltration risk.

Potential Impact

Users installing or using @db-tools/main-app version 2026.6.30 may have their public IP address and application exception data, including PII, sent to an external author-controlled Sentry project without their knowledge or consent. This can lead to unintended data leakage and privacy violations. There is no indication of remote code execution or system compromise beyond data exfiltration. No known exploits in the wild have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid installing or using version 2026.6.30 of @db-tools/main-app. Review and audit dependencies for unexpected preinstall scripts. Explicitly configure the init() function with a trusted DSN or avoid using the package to prevent automatic data exfiltration. Monitor for updates from the package maintainers or security advisories for an official fix.

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-10398
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a54adf168715ace438f6cc0

Added to database: 07/13/2026, 09:20:49 UTC

Last enriched: 07/13/2026, 09:50:05 UTC

Last updated: 07/13/2026, 09:50:05 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