doc-init
Warn
Audited by Socket on Oct 12, 2026
1 alert found:
AnomalyAnomalyscripts/db_miner.py
LOWAnomalyLOW
scripts/db_miner.py
The code is a database evidence miner with legitimate read-only inspection behavior and no clear malware indicators. Its main risk is sensitive-data exposure: it scans for credentials, connects to databases, samples row data, and leaves masking disabled by default. The shown PostgreSQL introspection section is syntactically or functionally incomplete and should be fixed before use. Restrict database permissions, enable masking by default, avoid exporting raw rows and connection URLs, validate output paths, and review generated reports for secrets.
Confidence: 97%Severity: 62%
Audit Metadata