Skip to main content

Malicious code in dbt-language-server (npm)

0
Critical
Published: 06/24/2026 (06/24/2026, 04:07:56 UTC)
Source: GCVE Database
Product: dbt-language-server

Description

The npm package 'dbt-language-server' version 1.0.1 contains malicious code that executes automatically during installation. It collects sensitive system information and files such as /etc/passwd and /etc/hosts, then exfiltrates this data to an external server. The package appears to be part of a dependency confusion attack, mimicking an internal tool to target organizations. Installation of this package can lead to full system compromise.

Affected software

npmghsa
dbt-language-server
Affected versions
=1.0.1

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: 09/08/2026, 05:23:56 UTC

Technical Analysis

The 'dbt-language-server' npm package version 1.0.1 declares a preinstall hook that runs 'node index.js' during installation. This script gathers reconnaissance data from the host system, including hostname, username, home directory, DNS servers, package metadata, and reads sensitive files like /etc/passwd and /etc/hosts. It then sends this data via HTTPS POST to a Burp Collaborator subdomain used for out-of-band exfiltration. The package lacks legitimate functionality and has empty author, description, and license fields. This behavior is consistent with a dependency confusion attack targeting organizations using dbt-related internal tools. The package compromises any system it is installed on.

Potential Impact

Systems with this package installed should be considered fully compromised. Sensitive information and system files are exfiltrated to an attacker-controlled server. All secrets and keys stored on the compromised system are at risk and should be rotated immediately from a secure, unaffected system. Removing the package does not guarantee removal of all malicious artifacts or backdoors, as full control may have been granted to the attacker.

Defensive Guidance

Immediate removal of the 'dbt-language-server' package version 1.0.1 is recommended. All secrets and credentials on the affected system should be rotated from a different, secure machine. Due to the potential full compromise, consider rebuilding or thoroughly auditing the affected system. No official patch or fix is available; remediation relies on removal and credential rotation.

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-6367
Osv Schema Version
1.7.4
Aliases
["GHSA-w54g-2v55-m5vr"]
Ecosystems
["npm"]

Threat ID: 6a9f9111acd9273b49ff2ae1

Added to database: 09/08/2026, 04:37:37 UTC

Last enriched: 09/08/2026, 05:23:56 UTC

Last updated: 10/01/2026, 23:21:14 UTC

Views: 22

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