ClearFills Policy Regression & Bypass Suite

Test ClearFills deterministic pre-trade firewall invariants directly in the browser or offline via pip install clearfills && clearfills benchmark. The suite exercises 25+ adversarial and legitimate order scenarios in pure Python (zero LLM calls in the critical path, under 1ms average latency).

Covered Policy Regression & Bypass Scenarios

Honest Threat-Model Disclaimer

Passing this policy regression suite verifies deterministic firewall math against malformed or adversarial order payloads. A pre-trade policy engine alone does not protect against an attacker who shares the same OS user (UID) as your broker gateway or who controls the portfolio state fed into the firewall. For live capital, always pair ClearFills with an authoritative PortfolioProvider, UID/container isolation (deploy/isolated-worker/), and hardware-bound WebAuthn Passkey co-signing. See /docs/deep-dive for the full threat model.

Explore more: Home | /audit | /docs | /docs/security | /docs/deep-dive | /challenge | /console | /llms.txt