xiao-esp32s3-mqtt-dashboard
Warn
Audited by Socket on Jul 28, 2026
1 alert found:
SecuritySecurityassets/mqtt-broker/setup_broker.ps1
MEDIUMSecurityMEDIUM
assets/mqtt-broker/setup_broker.ps1
This fragment appears to be a legitimate administrative configuration step for Mosquitto, not a malware/persistence mechanism. However, it introduces a significant security risk by enabling anonymous access and binding both MQTT (1883) and WebSocket (9001) listeners to all interfaces (0.0.0.0). This materially increases exposure if the host is reachable from untrusted networks, and the simplistic idempotency check could cause unintended duplication/misconfiguration. Review/limit network reachability and ensure authentication/authorization is appropriate for the deployment threat model.
Confidence: 72%Severity: 78%
Audit Metadata