sql-expert
Warn
Audited by Socket on Aug 10, 2026
1 alert found:
AnomalyAnomalyscripts/sql_helper.py
LOWAnomalyLOW
scripts/sql_helper.py
No clear indicators of intentional malware (exfiltration/backdoor/credential theft) are present in the provided fragment. However, the module is security-relevant: it executes caller-provided SQL directly and interpolates table/column identifiers into SQL strings without quoting/validation, creating substantial SQL injection risk when any identifiers or SQL strings are attacker-influenced. Additionally, the fragment appears corrupted/incomplete (documentation text embedded where code should be, and undefined references in __main__), increasing the likelihood that real behavior differs from the snippet and should be re-audited against the actual published package.
Confidence: 46%Severity: 58%
Audit Metadata