fault-tree-analysis
Warn
Audited by Socket on Sep 15, 2026
1 alert found:
AnomalyAnomalyscripts/generate_report.py
LOWAnomalyLOW
scripts/generate_report.py
The fragment does not show evidence of malware or intentional supply-chain sabotage. It is a report generator with an unsafe raw-SVG embedding behavior that can enable script execution in generated reports when SVG input is attacker-controlled. Path validation is incomplete because it does not enforce a trusted directory. The template is also substantially broken due to undefined variables and malformed HTML/CSS, likely causing runtime failure. SVG sanitization or rasterization, stronger directory containment, and correction of the template are required.
Confidence: 98%Severity: 58%
Audit Metadata