quiz

Warn

Audited by Socket on Sep 17, 2026

1 alert found:

Anomaly
AnomalyLOW
main.py

No clear malicious or supply-chain attack behavior is present. The code is intended to generate a self-contained interactive quiz, but it has a meaningful stored-XSS/code-injection risk because untrusted JSON fields are inserted into HTML and JavaScript without context-appropriate escaping. It also appears incomplete or syntactically malformed as supplied. Escape text for HTML contexts, safely serialize data for script contexts, validate the quiz schema, and avoid innerHTML for untrusted values.

Confidence: 97%Severity: 62%
Audit Metadata
Analyzed At
Sep 17, 2026, 11:32 PM
Package URL
pkg:socket/skills-sh/serenakeyitan%2Fopen-exam-skills%2Fquiz%2F@318e6c496d0b848b34f6a82121cfb3d8f66734739c7a798f4594e6a8cdf5967e
Security Audit — socket — quiz