Least privilege, offline simulation, clear retention.
SafeState is operated by Payven Inc. This page documents the exact GitHub permissions we request, how code runs in isolation, what we retain, and how to delete your data.
1. Zero-LLM deterministic verification core
Deterministic trace generation, async interleaving, shrinking, differential comparison, and anti-tautology mutation gating execute as fixed code with zero LLM calls. No AI model reads or trains on your source code during verification runs. Your own coding agent applies fixes in your environment using the emitted Vitest repro file.
2. GitHub App permissions
You can restrict the SafeState GitHub App to a single repository on install. It requests only the minimum scope needed to read commits and report GitHub Check Runs:
| Permission | Access | Why it is needed |
|---|---|---|
Contents | Read-only | Check out the commit under test and inspect schemas and exported operations. |
Checks | Read & Write | Publish deterministic pass/fail summaries and shrunk trace annotations on pull requests. |
Pull requests | Read-only | Scope verification runs to touched stateful modules. |
Metadata | Read-only | Required by GitHub for all GitHub Apps. |
SafeState cannot push commits, merge pull requests, open PR comments, read secrets, or alter repository settings.
3. Execution isolation & network lockdown
- Ephemeral checkout tokens: Single-repository installation tokens are minted for checkout and revoked before target code executes.
- Offline trace execution: Outbound network sockets are blocked during simulation runs so target code cannot contact external services or leak environment data. External payment and HTTP SDK calls route to local deterministic twins.
- Webhook authenticity: Both Stripe and GitHub webhooks are verified using constant-time HMAC-SHA256 signatures with bounded payload sizes and monotonic state transitions.
4. Data retention
| Data category | Retention |
|---|---|
| Source code checkout | Deleted immediately when the verification run ends. |
| Check run summaries & shrunk traces | Retained up to 30 days so teams can replay seeds and inspect repros, then deleted. |
| Operational funnel events (account/repo names, timestamps, event counts) | 90-day retention window and 20,000-event cap in Cloudflare Durable Objects. |
| Billing & subscription records | Maintained while active and as required for accounting and tax compliance. |
5. Subprocessors
| Provider | Role |
|---|---|
| Cloudflare | Website hosting, Workers API, Code-Mode MCP endpoint, Durable Objects state, and Email Routing alerts. |
| GitHub | Source checkout and Check Run delivery for installed repositories. |
| Stripe & Link (Stripe Managed Payments) | Merchant of Record handling checkout, payment cards, transaction taxes, invoices, and billing portal. |
| Microsoft 365 | Business email for support (hello@safestate.dev) and deletion requests (remove@safestate.dev). |
6. Data removal & security reports
To request deletion of stored SafeState records, email remove@safestate.dev. To report a security issue privately, write to hello@safestate.dev. See also our Privacy Policy.