Skip to content

ONI v0.4.4-beta

Pre-release
Pre-release

Choose a tag to compare

@ares-369 ares-369 released this 09 Nov 19:12
· 44 commits to main since this release

ONI v0.4.4-beta is a security hardening release. Recommended for everyone, and important if you use auth.mode: proxy.

Security

  • Reverse-proxy login could be forged. With auth.mode: proxy and an empty proxy_trusted_ips — the example config's default — any client could send the identity header and log in as any user. Proxy mode now fails closed: ONI refuses to start without a trusted-proxy list, and the request handler also rejects the header when no list is set.
  • Secure by default. The web UI now listens on 127.0.0.1 by default, and ONI refuses to start when it would be reachable from the network without a login (unless you explicitly opt in with oni.allow_unauthenticated_network: true). Docker Compose now publishes the port on 127.0.0.1 only.
  • Stronger prompt-injection filter. Tool output is now Unicode-normalised and stripped of invisible characters before scanning, base64-encoded instructions are decoded and checked, and many more phrasings and fake role tags are caught — 17 of 17 cases in a new adversarial test suite, up from 6, without altering normal output.
    • The same suite verifies the layer that matters most: even a model that fully obeys an injected instruction still cannot scan outside your scope or run arbitrary or destructive commands. A pattern filter can never catch every paraphrase, so this second layer is the real protection. See SECURITY.md.

Upgrade notes

  • If you open ONI from other machines, set oni.bind_host (for example "0.0.0.0") and enable a login with auth.mode (basic, local, oidc or proxy) — otherwise ONI will not start and will tell you why.
  • If you use auth.mode: proxy, set auth.proxy_trusted_ips to your reverse proxy's IP.
  • Docker users: the UI is now at http://localhost:8501 on the Docker host only. See the comments in docker-compose.yml to expose it safely.

Full details: CHANGELOG.md.

Please note

ONI is beta software. Treat findings as leads to verify, and open an issue if something looks wrong. ONI is for testing systems you own or are explicitly authorized to test; see DISCLAIMER.md.