amazon-review-checker
Warn
Audited by Socket on Oct 4, 2026
1 alert found:
SecuritySecurityscripts/report_html.py
MEDIUMSecurityMEDIUM
scripts/report_html.py
This is a report-generation function with no clear evidence of malware. It has significant injection risks when any report data is untrusted: generated HTML and JavaScript are not safely escaped, and review data reaches innerHTML, enabling XSS when the report is opened. The caller-controlled output_path also permits file overwrite within the process's permissions. Use context-aware escaping, render review values as text, safely embed JSON, and constrain the output path.
Confidence: 99%Severity: 72%
Audit Metadata