security_mosquitto_check
Mosquitto MQTT broker config audit — Offline security review of an Eclipse Mosquitto mosquitto.conf (IoT/MQTT broker). Tracks every listener block (and per_listener_settings) and flags plaintext listeners reachable beyond loopback (1883, websockets 8080/9001), allow_anonymous true (CRITICAL on a public plaintext listener), authentication without an acl_file (every user can read/write all topics), TLS 1.0/1.1 and weak ciphers, use_identity_as_username without require_certificate, bridges without TLS or with bridge_insecure, bridges of every topic in both directions, stored bridge passwords (never echoed), running as root and disabled connection logging. Returns a per-listener table (tls, localOnly, anonymous, auth, acl), score, A-F grade, PASS/REVIEW/FAIL and line-numbered findings with fixes. Params: text (config; newlines may be sent as a literal backslash-n) or url (raw file or GitHub blob URL) instead of text. Price: $0.005 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "security_mosquitto_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | e.g. listener 1883 allow_anonymous true listener 8883 certfile /etc/mosquitto/certs/server.crt keyfile /etc/mosquitto/certs/server.key tls_version tlsv1.1 |