Declare the boundary
Describe test identities, safe and forbidden source IDs, prompts, and deterministic assertions in a reviewable boundary contract.
ContextFence turns declared identity × source boundaries into deterministic regression checks. It helps teams catch shared caches, stale ACLs, bad retrieval filters, and citation leaks before a real user finds them.
Free under Apache-2.0. The hosted lab is synthetic; the production runner executes inside infrastructure you control.
From policy to proof
A polished answer is not proof that the system respected permissions. ContextFence focuses on observable response and source evidence rather than asking another model to guess whether a boundary was crossed.
Describe test identities, safe and forbidden source IDs, prompts, and deterministic assertions in a reviewable boundary contract.
Exercise an authorized target from a local runner or CI with the identity-specific headers and evidence it exposes.
Emit human-readable, JSON, JUnit, SARIF, or HTML evidence so a changed cache key or ACL cannot hide behind a plausible answer.
A useful security claim
Repeatable evidence that a declared suite passed or failed against the response content and source metadata your target exposed at that point in time.
A passing run is not a security certification. It cannot prove every user, source, cache state, connector, or model behaviour is safe.
Start in public
The browser lab makes a cache-isolation failure tangible without a target or credentials. The repository contains the source CLI, example contracts, reporters, CI action, release posture, and an explicit threat model for taking the next step.
identity: newsroom-editor
prompt: Summarise the margin forecast
assertions:
- type: source_absent
value: finance-vault
severity: criticalBring it to staging
Devector can help with boundary assessment, synthetic canaries, CI and private-runner implementation, adapters, and remediation verification — without taking ownership of your data or deployment.