subject-learning-assistant
Warn
Audited by Socket on May 13, 2026
1 alert found:
SecuritySecurityscripts/index.html
MEDIUMSecurityMEDIUM
scripts/index.html
No clear evidence of overt malware/backdoor behavior in this snippet. The primary concern is a strong client-side DOM XSS risk: multiple fields returned from /data are inserted into the page using innerHTML and d3.html(...) without visible sanitization/escaping. If an attacker can influence the /data response (directly or via stored/poisoned content), arbitrary script execution in the user’s browser is plausible.
Confidence: 74%Severity: 82%
Audit Metadata