platform-soql-query
Warn
Audited by Socket on Aug 7, 2026
1 alert found:
AnomalyAnomalyscripts/post-tool-validate.py
LOWAnomalyLOW
scripts/post-tool-validate.py
No direct malicious payload is evident in this fragment (no eval/exec/subprocess, no hardcoded secrets, and static SOQL validation is regex-based). However, there are two meaningful supply-chain/execution-path risks: (1) runtime sys.path modification that can enable import-hijacking/module substitution for code_analyzer.live_query_plan, and (2) arbitrary local file reading driven by untrusted stdin via open(file_path,'r') with only a .soql suffix check. Optional live analysis delegates behavior to an external module and may introduce additional (possibly network) risk, but that behavior is outside this snippet.
Confidence: 62%Severity: 58%
Audit Metadata