Back to Home
mbocsi icon

gohab

Verified Safe

by mbocsi

Overview

A message-based home automation server for managing IoT devices and sensors using capabilities and pub/sub messaging.

Installation

Run Command
No command provided

Security Notes

The server's WebSocket transport (`server/wsTransport.go`) explicitly sets `CheckOrigin: func(r *http.Request) bool { return true }` for its `websocket.Upgrader`. This setting bypasses all CORS origin checks, meaning any website could potentially connect to the WebSocket server. While this might be acceptable for a server strictly intended for local network use (as suggested by the 'home automation' context), it is a significant security risk if the server were to be exposed to the public internet without additional layers of authentication or network protection. No direct code injection (e.g., 'eval') or obvious hardcoded secrets were found. JSON parsing is handled by the standard library, which is generally robust.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Stars0
Forks0
Last Update2025-12-06

Tags

Home AutomationIoTPub/SubGoMessage-based