patent-oa
Warn
Audited by Socket on Nov 2, 2026
1 alert found:
AnomalyAnomalytools/highlights.py
LOWAnomalyLOW
tools/highlights.py
The code is a text/highlight rendering utility and shows no evidence of malware. It has a concrete HTML injection risk: untrusted highlight background colors are interpolated into a quoted style attribute without validation or escaping. Restrict colors to an expected hexadecimal format and escape or safely construct the attribute before rendering untrusted data.
Confidence: 98%Severity: 62%
Audit Metadata