motherduck-build-data-pipeline
Warn
Audited by Socket on Sep 17, 2026
1 alert found:
AnomalyAnomalyreferences/dlt-dbt-motherduck-project/pipeline/cleanup.py
LOWAnomalyLOW
references/dlt-dbt-motherduck-project/pipeline/cleanup.py
The code is a readable database cleanup utility whose intended behavior is to connect to MotherDuck and delete a configured database. It does not show clear malware or supply-chain attack behavior. The principal security concern is destructive execution combined with unsafe interpolation of the database name into SQL, which can permit SQL injection or deletion of an unintended database if settings are attacker-controlled. The token is used for the expected database connection and is not otherwise exposed.
Confidence: 98%Severity: 67%
Audit Metadata