craft-ui
Audited by Socket on Aug 31, 2026
1 alert found:
AnomalyNo strong indicators of intentional malware (no process execution, no outbound network behavior, no credential theft, no obfuscation, and no backdoor-like persistence) are present in this module. The primary risks are local abuse and trust-boundary issues: (1) unauthenticated event logging to a persistent .events file from arbitrary JSON (integrity/data poisoning and disk growth risk), and (2) potential filename-based XSS/markup injection in the gallery UI because filenames from the session directory are interpolated into HTML and attribute contexts without robust escaping. If sessionDir is fully trusted and the server is only reachable to the intended local user, risk is reduced, but security review is still warranted for the HTML/template encoding and event ingestion hardening.