Bounded
A local audit for teams that let AI write code

Know what your coding agent can reach.

Your agent runs with your keys, your cluster context and your tokens. If it is hijacked by a poisoned repo or a bad MCP server, or simply gets something wrong, it can reach whatever you can. Bounded maps that reach on your own machine, puts a few guards in its path, and keeps a record of what it did.

  • Runs on your machine
  • Read-only
  • Python 3.11, no dependencies
what the agent holdswhat it is connected towhat that lets it reach
Three questions

The answers your customers and auditors will ask for

Reach

If the agent is hijacked, what can it get to?

Cloud keys in files and the environment, the cluster your kubectl points at, saved git tokens, SSH keys without a passphrase, and agent settings that skip the permission prompts.

Connections

Which AI tools are in use, and what can each see?

Every MCP server, plugin and skill across seven AI clients, plus AI apps, editor extensions and browser extensions. Bounded also tells you when any of them changes after you approved it.

Record

What did the agents actually do?

A local log of every agent action in which each line is chained to the one before it. If anyone edits, inserts or deletes a line, bounded record verify finds it.

One command

A plain report from one command

Run bounded all and read the findings from most to least severe. Each one says what was found, where it is, and what someone could do with it.

example output, shortened
$ python3 bounded.pyz all

Laptop and agent check        3 high · 2 medium
  HIGH  Permanent cloud key in a file   ~/.aws/credentials  …Q7XK
  HIGH  kubectl points at production     context prod-eu
  HIGH  SSH key without a passphrase     ~/.ssh/id_ed25519
  MED   Bypass mode used, warning off    ~/.claude/settings.json

MCP and plugins               1 medium
  MED   Server runs unpinned npx -y      project/.mcp.json

Repo preflight                clean (a41f9c2)
Action record                 chain intact, 4,812 entries

Report  ~/.bounded/reports/all-20261201-101500.md
        readable only by you
  • Secrets stay maskedThe report names the file and the kind of secret, and shows the last four characters of a key at most.
  • The report stays on your machineIt is Markdown and JSON in ~/.bounded/reports, readable only by you. Nothing is uploaded.
  • One file you can share--summary writes counts and finding titles only, with no paths, items or values.
Eight modules

What Bounded checks

Run them together with all, or one at a time. Each says what it reads and what it contacts, if anything.

1

Laptop and agent check

Finds the cloud keys, cluster contexts, git credentials, SSH keys and agent settings that a hijacked agent would inherit, including login items and auto-run tasks.

reads home and project folderscontacts nothing
2

Repo preflight

Fails a CI build when a commit carries the marks of a laptop-borne attack: editor tasks that run on folder open, disguised payloads, droppers, or rewritten history.

reads git objects, never checks outcontacts nothing
3

Model-key guard

Reads CloudTrail and Cost Explorer for new models, new regions, spend jumps, model probing and new keys. A stolen model key shows up here before the invoice does.

reads AWS logs and costscontacts your AWS account, read-only
4

MCP and plugin visibility

Lists servers, plugins and skills across Claude Code, Cursor, VS Code, Claude Desktop, Windsurf, Codex and Gemini. It flags secrets in configs, hidden instructions, and changes since you approved them.

reads client configscontacts nothing
5

Agent sandbox profile

Writes, for your review, agent settings with bypass mode off, credential files unreadable and the network limited, plus a read-only cloud role and a view-only Kubernetes role.

writes files to reviewapplies nothing
6

Agent action record

Every tool call, prompt and permission decision goes into a hash-chained local log. Prompts are kept only as a hash, never as text.

writes ~/.bounded/recordcontacts nothing
7

Package guard

Catches invented package names, look-alikes of popular ones, days-old versions and install scripts before the agent installs them.

reads your manifestscontacts npm and PyPI, names only
8

AI tool inventory

Lists AI apps, command-line agents, editor extensions, and browser extensions that can read every site, so you know what is installed before you write a policy.

reads apps and extensionscontacts nothing
How to use it

From first run to guarded agents

Start with the report. Add the guards once you have seen what your machine can reach.

  1. Get the single file

    The whole tool is one bounded.pyz file with a published SHA-256. The build is reproducible: the same source always gives the same checksum. Until the first signed release, build it from source.

    # from the Bounded source folder
    python3 build.py
    shasum -a 256 dist/bounded.pyz   # compare with dist/bounded.pyz.sha256
  2. Run the audit

    Covers the laptop, MCP, tools, sandbox and record checks, plus the repo preflight when you run it inside a repository. Add the model-key guard and the package guard when you want them.

    python3 bounded.pyz all
    # with the AWS model-key guard, the package guard and a shareable summary
    python3 bounded.pyz all --aws --packages . --summary
  3. Guard your CI

    The repo preflight reads files only and never runs anything from the repository. Any high finding exits with 1 and stops the build. Fetch the full history so a force-push can be detected.

    # GitHub Actions
    - uses: actions/checkout@v4
      with:
        fetch-depth: 0
    - uses: ./ci/github-action    # Bounded's action, with bounded.pyz beside it
    // Jenkins
    sh 'python3 ci/bounded.pyz repo . --ci'
  4. Add the Claude Code plugin

    The plugin's hook denies an MCP call whose arguments carry a key or token. A risky package install becomes a question to you. Every event goes into the action record. If the hook itself fails, it exits cleanly and your session carries on.

    claude plugin marketplace add /path/to/bounded
    claude plugin install bounded@bounded
    bounded record verify   # check the record for edited or missing lines
  5. Write a sandbox profile

    Bounded writes the files and a README with the steps to apply them. You review them and apply them yourself. Run sandbox check later to see what is still missing.

    python3 bounded.pyz sandbox write \
      --account 111122223333 --region us-west-2 --cluster my-cluster
    python3 bounded.pyz sandbox check
What it never does

A security tool should be the safest thing on the machine

Never prints a secret

Reports show the file and the kind of secret, and four characters of a key at most.

Never sends your data

The only network calls are read-only calls to your own AWS account and package names sent to npm and PyPI.

Never changes your setup

It reads and reports. The sandbox profile is files for you to review, and nothing is applied for you.

No dependencies

Only the Python standard library, so no third-party package can be poisoned on its way to you.

Never breaks a session

The hook always exits cleanly. If something inside it fails, the agent's call goes ahead.

No curl | bash

Releases are built from CI, signed, and published with checksums. A laptop build is never published.

What it does not claim. Bounded does not find every leak, and no tool does. It makes your agent's reach visible, puts guards where an attack usually passes, and keeps evidence you can show.

Also: audit readiness

Getting ready for SOC 2 and AI governance questions

We run a read-only evidence collector against your cloud account and code host. It gives you a gap report within a day and keeps dated evidence for the audit. We help fix the gaps, write the policies and build your AI tool register. A licensed CPA firm issues the SOC 2 report.

48controls mapped to SOC 2 and ISO/IEC 42001
26automated read-only checks
1day to a first gap report
  1. Gap report on your cloud, code host and laptops
  2. Fixes, policies and registers
  3. Handover to an audit firm, with monthly evidence runs