Skip to content
ReviewRouter
Security model

Code and secrets stay under your control

Direct mode uses explicitly configured GitHub Actions or self-hosted runner credentials. Gateway mode uses server-managed enrollment and sends submitted review context through its relay to the selected provider.

How the boundary works

Review execution runs in the authorized CI job
Submitted review context is sent to the selected model provider, through Account Gateway relay in Gateway mode. ReviewRouter stores review metadata and normalized findings, which may include source excerpts.
Credentials use protected mode-specific custody
Direct workflow credentials are installed in GitHub Actions. Account Gateway credentials use the supported server ingress and protected server custody; they are not exposed through account readback or copied into the review job. Enrollment handles plaintext transiently; stored credentials are encrypted at rest.
Secret-backed review is skipped for fork PRs by default
The generated workflow avoids automatically exposing secrets to untrusted fork code. Trusted rerun flows should be explicit maintainer actions.
OIDC avoids long-lived ReviewRouter API tokens in repos
GitHub Actions requests short-lived runtime config through OIDC. Production Codex OAuth rotating runs fail closed if the control plane cannot validate the run.

Seed secrets directly to GitHub

For direct workflow credentials, the helper validates provider auth locally and writes required secrets through gh. ReviewRouter does not receive these workflow credentials; dashboard state only tracks safe setup metadata.

# Copy the full repo-scoped Codex command from the ReviewRouter dashboard.
# It uses https://reviewrouter.org/install/codex with a short-lived setup nonce and writes one server-issued versioned namespace directly to GitHub Actions secrets.

Details

The SaaS configures review. Your runtime performs review.

LayerOwned bySensitive dataCustody
Authorized review jobCustomer CI runtimeRepository checkout, review context, prompts, model output, scoped review grantCustomer
Provider credentialsGitHub Actions or protected Account Gateway custodyDirect workflow credentials; Gateway credentials and transient enrollment dataMode-specific
ReviewRouter SaaSReviewRouter control planeSetup metadata, policy, audit, health, and protected Account Gateway custodyReviewRouter

Review context submitted for a review is sent to the selected model provider. Code running in the authorized CI job can use its scoped review grant. Tool environment filtering reduces exposure; it does not isolate the grant from that job's code.

Narrow claim, explicit boundary

Submitted review context is sent to the selected provider. Stored review metadata and normalized findings may include source excerpts.

Ready to try it on your repository?