product-ui-prototyping
Warn
Audited by Socket on Sep 16, 2026
1 alert found:
AnomalyAnomalyassets/prototype-viewer/viewer.js
LOWAnomalyLOW
assets/prototype-viewer/viewer.js
The code is a legitimate flow-map visualization script with one concrete security issue: untrusted transition fields are inserted through `innerHTML`, enabling stored or reflected DOM XSS when the loaded flow map is attacker-controlled. The arbitrary map URL and external image loading also create untrusted-content and privacy risks. No evidence of intentional malware or supply-chain sabotage is present. Replace `innerHTML` with DOM construction and `textContent`, and restrict allowed map and image origins if applicable.
Confidence: 98%Severity: 62%
Audit Metadata