OpenShipBot
Star on GitHub
Security model

Every control assumes the model can be tricked.

OpenShipBot bots hold production credentials and read text written by strangers. So the guardrails do not live in a prompt. They live in code that runs before, around and after every action an agent takes.

One choke point

The path of every tool call

Connectors expose typed tools, and each tool declares its risk level. Every call an agent makes, whatever engine runs it, takes the same path.

  1. tool call
  2. policy check
  3. approval?
  4. audit
  5. execute
  6. redact
Controls

What protects you

Secrets never reach the model

Agents ask for secrets by name. The broker injects them into the sandbox, and a redaction filter strips them from transcripts, logs and PR text.

Policy outside the model

Autonomy levels, tool risk levels and environment rules are checked in code before any tool runs. A prompt cannot raise its own level.

Every tool call audited

Each tool call, secret access and approval lands in an append-only, hash-chained log, so tampering is detected.

Sandboxed agents

Each agent gets its own container and git worktree. Only granted folders are mounted, and network egress goes through an allowlist.

Bots never merge

Merging a PR is hard-coded as a human action. Bots open drafts, you decide what lands.

Prod needs you, twice

Prod changes wait for approval, and approving one asks you to re-verify. Infra changes show a dry run first.

Untrusted text stays untrusted

Ticket bodies, alert payloads and PR comments are tagged as untrusted and can never approve or widen anything.

Budgets and a kill switch

Each run and each bot has a token and dollar cap. One button stops every agent in a project.

Local-first

Nothing leaves your machine except calls to the AI provider you picked. No telemetry unless you turn it on.

How much a bot may do alone

Autonomy levels

Each bot gets a level per environment. The policy engine enforces it outside the model, so a prompt cannot raise its own level. Merging a PR always needs a human.

  1. Observe Reads and reports only.
  2. Suggest Comments on tickets and PRs, posts reports.
  3. default Propose Opens draft PRs and plans. Anything that executes waits for approval.
  4. Act in non-prod Deploys and runs runbooks in dev and staging on its own.
  5. Act in prod Only named actions such as rollback, inside a time window and a budget.
Approvals

Prod waits for a person

Merges, prod changes, destructive commands, IAM changes and spending over budget all wait in the approvals queue. You see the exact command, the evidence behind it and a dry run where one exists: a terraform plan, a kubectl diff or a Helm diff.

Approving a prod action asks you to re-verify, and approvals expire if nobody acts.

Enforced by tests

Security invariants

These rules are written into the build plan, and the test suite enforces them.

  1. A secret value is never returned by the API, written to logs or sent to a model. The redactor runs on every agent output stream.
  2. Every tool call goes through the policy engine before it executes, and every decision is written to the audit log.
  3. Text from tickets, PRs, alerts and web pages is wrapped as untrusted content. It can never approve, widen scopes or change autonomy.
  4. Bots never merge PRs. The rule is hard-coded and cannot be turned off.
  5. Prod approvals need re-verification: a fresh session, plus a 2-step code when one is enrolled.
  6. Sandboxes mount only granted folders, and only read-write folders are writable. Egress goes through an allowlist proxy.
  7. The audit chain is verifiable end to end, and tampering is detected.
  8. Local mode binds to 127.0.0.1 only, and every request needs the local session token.

Found a vulnerability?

Please report it privately through a GitHub security advisory on the repository rather than a public issue.

Report privately on GitHub
Pre-alpha

Be there for v0.1

Nothing is downloadable yet. The fastest way to hear about the first release is to star and watch the repo. The email list opens closer to launch.

Star on GitHub