Skip to content

Security: felix-run/web

Security

SECURITY.md

Security Policy

Reporting a vulnerability

Please report security issues privately via GitHub Security Advisories ("Report a vulnerability"). Do not open a public issue for anything exploitable.

You can expect an acknowledgement within a few days. Please include reproduction steps, the affected surface (route, package, or component), and impact.

Scope

This repository is the web frontends for Felix — a chat UI and a docs site, both Cloudflare Workers. It holds no database, no tenant data and no agent runtime; the harness those clients talk to is a separate self-hosted Python service at felix-run/felix, which has its own security policy. Report harness-side issues — auth modes, governance wrappers, tenant isolation in Postgres, SSRF from harness tools — there, not here.

In scope for this repo:

  • The proxy Worker (apps/web/worker/index.ts) — anything that makes it attach a credential of its own to a request (it holds none: a browser's bearer passes through untouched), lets a cross-site write through, or makes the upstream URL attacker-influenced (path traversal, an absolute URL, encoded slashes, CRLF).
  • The sign-in gate (src/lib/auth/auth.ts, components/gate.tsx) — a session leaking to another origin or surviving a sign-out or a switch of identity in this browser, or one person's cached state reaching the next. The gate decides only what the page draws; the harness is what refuses a request.
  • Browser-executed client tools and the VFS (packages/cowork-client) — escaping the virtual filesystem root or a File System Access mount via .., absolute paths, backslashes, percent-encoded traversal or unicode lookalikes; writing outside the mounted directory; a destructive operation reaching disk without an approval; or an approval banner that misrepresents the arguments it is approving.
  • Rendering untrusted content (components/chat/*) — script execution or markup injection from model output, tool results, or a streamed partial frame; unsafe link schemes; a data:text/html riding an image path.
  • Secret placement — a credential in wrangler.jsonc vars, a VITE_-prefixed variable, index.html, dist/, or localStorage beyond the gate key and UI state.

Supported versions

Pre-1.0; only the latest state of main is supported. Fixes land on main and ship in the next tagged release.

There aren't any published security advisories