Security

The gateway sits in your request path and near your keys, so its defaults are conservative. Here's exactly what it does and doesn't do.

What it protects by default

Allowing a browser app

If a web frontend must call the gateway directly from the browser, allowlist its origin:

jsonc
"allowedOrigins": ["https://app.example.com"]

Hardening for shared / production use

Reporting a vulnerability

Please report privately via GitHub's “Report a vulnerability” button on the repo's Security tab rather than a public issue. Details are in SECURITY.md.

This is honest about its limits: it is a lightweight internal tool, not a hardened multi-tenant SaaS. It ships secure defaults for the localhost/self-host case and documents the gaps rather than hiding them.