Inspect

Security

Inspect runs an agent that can read your code, execute commands, and call external services. This page describes the boundaries around that agent and the controls your organization has over it.

Sandboxes

Each session runs in its own sandbox. Repository code, setup scripts, dependencies, and every command the agent runs execute there, so anything in the sandbox should be treated as readable by all of them.

  • Outbound HTTP and HTTPS traffic goes through Inspect's egress proxy. Private services are reachable only through a VPN tunnel with private networking on, and cloud metadata, loopback, and link-local addresses stay blocked either way.
  • Environment variables are visible to every process in the scopes you choose. For HTTP credentials the sandbox shouldn't see, use egress secrets: Inspect adds the header as the request leaves the sandbox.
  • For direct cloud access from the sandbox, workload identity issues short-lived OIDC tokens instead of storing long-lived keys.

Credentials

  • Connector credentials are resolved at Inspect's gateway and added to outbound MCP requests. They never enter the model's context or the sandbox. See Connector security.
  • Egress secrets are added at egress. The sandbox gets a reference, never the value.
  • API keys are stored as a salted scrypt hash. Inspect shows the full key once. See API keys.
  • The OpenID Connect client secret is stored encrypted and never returned to the browser. The SCIM token is stored as a hash and shown once.
  • Your GitHub account is used to push branches and open pull requests as you. Without it, your sessions are read-only.

Who can see a session

Sessions are visible to everyone in your organization by default. A private session is visible only to its owner, its participants, and people with the View all sessions role, who can read but not write to it.

A solo session becomes private when it uses a connector marked private, and private connectors aren't available in sessions with other participants. A private session can only post to Slack in its linked DM. See Sessions for making a session private yourself.

Who can change what

Every administrative capability is a permission granted through a role. Users and roles lists each role and permission. The most security-relevant:

  • Admin controls everything, including granting Admin.
  • Manage security controls sign-in, provisioning, private networking, workload identities, the API key IP allowlist, and session spend limits.
  • Manage people controls invitations, deactivation, and roles the manager already holds.
  • Manage API keys controls system API keys and revoking anyone's personal keys.
  • Edit connectors controls organization connectors and their shared credentials.
  • Manage secrets controls organization environment secrets and egress secrets.
  • View audit logs and usage controls the audit log and everyone's cost.

Deactivating a person ends their signed-in sessions and stops their API keys immediately.

Records

The audit log records access, credential, and settings changes with the actor, IP address, and user agent, and exports to CSV. It doesn't record prompts, tool calls, or network requests.