tgaz-query
Warn
Audited by Socket on Aug 30, 2026
1 alert found:
AnomalyAnomalyscripts/mysql2sqlite.py
LOWAnomalyLOW
scripts/mysql2sqlite.py
No direct evidence of overt malware (no network calls, credential theft, or OS command execution) is present in the provided fragment. However, the program is security-sensitive because it executes SQL text assembled from an external dump file using sqlite3.executescript() with only minimal string substitutions and no strict statement allowlisting. If dump_path/dump content is untrusted (or the default /tmp dump can be replaced), an attacker could manipulate the resulting SQLite database integrity and possibly create/alter database objects. Confidence is limited by apparent incompleteness/malformed placeholders in schema/index/view/FTS-related sections in the provided excerpt.
Confidence: 56%Severity: 52%
Audit Metadata