Skip to main content

Malicious code in dbt-sa-cli (PyPI)

0
High
Published: 09/05/2026 (09/05/2026, 05:59:33 UTC)
Source: GCVE Database
Product: dbt-sa-cli

Description

The dbt-sa-cli package on PyPI (version 0.0.1) contains malicious code that executes during installation. It collects system identifiers such as hostname, username, current directory, and home path, then exfiltrates this data via DNS and HTTPS requests to an attacker-controlled server. The package also drops a marker file in the user's home directory to demonstrate arbitrary code execution. This package is a typosquat lure mimicking the dbt ecosystem, designed to trick users into installing it. There is no indication of a patch or remediation from the vendor.

Affected software

PyPIghsa
dbt-sa-cli
Affected versions
=0.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/07/2026, 15:09:54 UTC

Technical Analysis

The dbt-sa-cli PyPI package version 0.0.1 includes a setup.py script that defines and immediately invokes a function (rce_poc) during installation. This function collects installer-side system information (hostname, username, current working directory, home path) and sends it out-of-band via DNS lookups and HTTPS POST requests to a subdomain controlled by the attacker. Additionally, it creates a marker file (~/.dbt-sa-cli-rce-poc) to demonstrate arbitrary code execution on the installer's machine. The package name is a typosquat of the legitimate dbt ecosystem, aiming to deceive users. The package serves no legitimate purpose beyond data exfiltration and code execution during install.

Potential Impact

Installing or importing the dbt-sa-cli package version 0.0.1 results in immediate disclosure of system information to an attacker-controlled server and arbitrary code execution on the installer's system. This compromises the confidentiality of host identifiers and allows execution of unauthorized code during package installation. There is no evidence of further payloads or persistence mechanisms beyond the marker file. No known exploits in the wild have been reported.

Mitigation Recommendations

No official patch or remediation is available. Users should avoid installing or importing the dbt-sa-cli package version 0.0.1 from PyPI. Verify package names carefully to avoid typosquatting attacks, especially for packages resembling popular ecosystems like dbt. If this package has been installed, remove it and investigate the system for any unauthorized changes or data exfiltration. Monitor for suspicious DNS or HTTPS traffic to unknown domains.

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-15934
Osv Schema Version
1.7.4
Ecosystems
["PyPI"]

Threat ID: 6a9c2593acd9273b49fbada1

Added to database: 09/05/2026, 14:22:11 UTC

Last enriched: 09/07/2026, 15:09:54 UTC

Last updated: 10/01/2026, 23:09:09 UTC

Views: 28

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