One port, this Mac only
Waddle listens on 127.0.0.1:4404, so nothing on your network can reach it. It checks each request:
- The host. Only
127.0.0.1:4404,localhost:4404or[::1]:4404, so a web page can't reach it through a DNS trick. - No browsers. Anything a browser sends carries an
OriginorSec-Fetch-Siteheader, and gets 403"No browsers, sorry". Curl, scripts, your agents' hooks and thewaddlecommand never send those. - JSON only. A POST needs
content-type: application/json, which a web form can't send. - Small bodies. 4 KB, except notes (room for 200 KB of text).
sh
curl localhost:4404/quack -H 'content-type: application/json' -H 'origin: https://example.com' -d '{}'json
{ "ok": false, "error": "No browsers, sorry" }What it trusts
Any program running as you on your Mac can reach the API, the same as it can read your files. The API believes what a caller says about itself (that it's an agent, say). The rules for agents below are a guard for honest agents, not a lock.
What never leaves your Mac
The API, the hooks and waddle mcp all stay on this Mac. What does leave, like the weather, the update check, webhooks and notes to Limen, is listed in Waddle's Preferences → What's sent, with what's sent and the last time.