gift-evaluator
Warn
Audited by Socket on Oct 16, 2026
1 alert found:
SecuritySecurityhtml_tools.py
MEDIUMSecurityMEDIUM
html_tools.py
This fragment is intended to generate and save an HTML gift-card report, but it accepts arbitrary image URLs and local paths, performs an unvalidated server-side fetch or file read, and inserts several unescaped values into HTML and an inline JavaScript handler. These create SSRF, local-file disclosure into the generated artifact, browser-side injection, and unrestricted file-write risks when inputs are untrusted; no clear malicious intent or credential theft is present. It also references cdn.tailwindcss.com and fonts.googleapis.com, and the pasted fragment appears incomplete and may not execute as written.
Confidence: 96%Severity: 72%
Audit Metadata