hwc-realtime-streaming
Warn
Audited by Socket on Oct 4, 2026
1 alert found:
AnomalyAnomalyreferences/2024-03-12-hotwire-combobox-with-real-time-data.md
LOWAnomalyLOW
references/2024-03-12-hotwire-combobox-with-real-time-data.md
The code is not indicative of malware or a supply-chain backdoor. It contains a meaningful client-side security risk: untrusted WebSocket state is inserted into innerHTML without escaping, which can enable DOM XSS if the WebSocket endpoint or its messages are compromised or attacker-controlled. Replace innerHTML updates with textContent or safe DOM APIs, and validate WebSocket messages and endpoint configuration. The conclusion is limited to the supplied documentation and code fragment.
Confidence: 98%Severity: 62%
Audit Metadata