Skip to content

v0.94.0 — security fixes, open-source relaunch

Latest

Choose a tag to compare

@arunvenkatadri arunvenkatadri released this 11 Nov 14:22
· 5 commits to main since this release
420eb5b

First release from the new repository, and a recommended upgrade for anyone on 0.93.0 — it carries three issues fixed here.

Security

Dashboard XSS. esc() escaped only &, < and > by routing through textContent/innerHTML, which leaves quotes untouched — while six onclick= attributes interpolated its output. A single quote in agent-supplied data escaped into the handler. esc() now escapes quotes, and a jsArg() helper encodes a JavaScript string argument for that attribute context.

OAuth: authentication treated as authorization. Any identity that completed the provider flow was admitted to the REST control plane. add_oauth_routes() now requires allowed_subjects, and the control plane reads AGENTHANDLER_OAUTH_ALLOWED_SUBJECTS.

⚠️ Breaking: the server refuses to start without that variable. That is deliberate — completing an OAuth flow proves who someone is, not that they should be driving your agents, so the allow-list has no safe default. Set it to a comma-separated list of provider user IDs (GitHub or Google numeric account IDs, not usernames).

Fixed

Stream message loss. A failed handler dropped its message. The Kafka connector committed the consumer's current position rather than the handled offset, so the next success committed straight past the failure; the Redis connector skipped XACK but nothing reclaimed the pending entry. Deliveries now retry before advancing.

Known limitation: retries have no attempt ceiling and no dead-letter queue, so a permanently failing message stalls its partition — tracked in #4.

Also fixed: read-only enforcement and transaction handling in the database connectors; recurring cron steps, webhook enable/disable and scheduler shutdown in triggers; routing, pipeline approval and cancellation regressions.

Upgrading

pip install --upgrade agenthandler

If you use the OAuth control plane, set AGENTHANDLER_OAUTH_ALLOWED_SUBJECTS before restarting. Everything else is backwards compatible.

Full detail in CHANGELOG.md.