cjis-reviewer
Warn
Audited by Socket on Sep 21, 2026
1 alert found:
AnomalyAnomalyscripts/generate-html-report.py
LOWAnomalyLOW
scripts/generate-html-report.py
The code is a local Markdown-to-HTML renderer and shows no evidence of malware, exfiltration, backdoors, or system sabotage. It does contain an output-injection/XSS risk when processing untrusted Markdown, especially through raw markdown2 HTML and the fallback renderer's unescaped links and inline text. The provided fragment also cannot execute as written because `CSS =` is syntactically incomplete. Sanitize Markdown, disable raw HTML and unsafe URL schemes, escape all generated text and attributes, and define CSS before use.
Confidence: 98%Severity: 58%
Audit Metadata