Download

SecurityThrough every layerIn Forge and Runtime

A layer, not a feature.

Security is not a product of its own here. It runs through every division: sandboxes in the runtime, approvals in Forge, keys in the Keychain, scope in testing and a record of every decision.

Every request stops at the boundary. What may pass is fixed outside the model: read-only calls go through, calls that may change your data wait for you, the network and anything out of scope are refused. Illustrative; the calls are the examples from the audit log below.

Six controls, on by default.

Nothing here is a promise for later. Each control runs in the product today.

What can reach your files.

Your project folder sits at the centre, and every layer around it narrows what gets through. The task works on a copy in a sandbox; the model only sees what the context manifest lists; changes come back as a proposal. Nothing is applied unasked.

Sandbox container · default profile

Network
none
User
1000:1000, not root
Root file system
read-only · /tmp 64 MiB, noexec
Capabilities
all dropped · no-new-privileges
Limits
2 GiB memory · 2 CPUs · 256 processes
Time
10 min by default, 30 min at most
Your folder
never mounted; the task works on a copy

If no container runtime is installed, Forge says the sandbox is unavailable; it never falls back to your shell. From Runtime.

01Untrusted text

Web pages, files and tool output. They can’t add a tool, a target or a permission.

02The model

Uses the fixed tools it was given, with arguments checked against a schema.

03Approvals

Anything that may change your data asks you first.

04Sandbox

No network, read-only system, works on a copy.

05Proposal

A diff you apply, reject or undo.

Your project folderstays on your Mac unless you choose the cloud runtime

The rule

The model can’t widen its own reach.

A model reads untrusted text all day. So what it may do is fixed outside it, and only your own actions can change that.

The model can

  • Use the fixed tools it was given, with arguments checked against a schema
  • Ask you before anything that may change your data
  • Read what you point it at

The model cannot

  • Add a tool, or a field to a tool
  • Widen its own scope or approve its own request
  • Take a target or a permission from a web page, a file or a tool’s output

Approvals, in Forge

Tools that may change your data wait for you.

Plugins connect GitHub, Slack, Linear, Notion and Figma over MCP. For each one you choose read-only tools only or all tools, and a tool whose definition changes needs approving again.

MCP servers you add run in the task’s sandbox container. In the app’s own words: no network, read-only files and no keys; the model sees only the tools you approve.

Forge Plugins: five apps added, with GitHub's menu open: Read-only tools only, Allow all tools, Disconnect
Forge Plugins, a screenshot of the real app with demo data. Each connected app has its own choice: read-only tools only, or all tools.
Forge, the MCP servers tab: a note reads that servers run in the task's Sandbox container with no network, read-only files and no keys, that the model sees only the tools you approve and that a tool whose definition changes needs re-approval.
MCP servers: sandboxed, keyless and approved tool by tool.
Forge Settings, Computer and browser: local access, task consent, Control by app, and the Always allowed and Denied apps lists
Computer and browser access: consent per task and an emergency stop.

Keys

Keys stay in the Keychain, unless you choose Composio.

Sign-in tokens for apps you connect directly live in the macOS Keychain, not in a file or a database. For apps connected through Composio, Composio holds the provider token. If you add your own provider key for models, it is held in the Keychain too, and the interface never sees it.

Leaves your Mac

  • Your message and the context segments listed in the manifest
  • Tool results the agent needs for the next turn
  • Sent from the Rust core to the model you picked, over HTTPS

Stays on your Mac

  • Your project folder, unless you choose the cloud runtime; locally the sandbox works on a copy in a local volume
  • Your own provider key, if you add one, in the macOS Keychain; the interface never sees it
  • The syntax index and symbol graph, in a local SQLite database

Proposals and verification

A change is a proposal until you apply it.

Changes come back as a diff you apply, reject or undo. Before anything passes, the engine runs the tests itself; if the change edited a test, the original tests are put back and run again. Edited tests that pass while the originals fail give UNVERIFIED, never success.

Forge's Changes panel on a demo task: three files, +30 −6, nothing applied until Apply
A demo task in Forge, a screenshot of the real app: 3 files prepared, nothing applied until you say so.

Authorised testing

Test only what you own.

The pentest module (ADR 0039) works inside an engagement: up to 20 hosts, IP addresses or network blocks that you declare and confirm you are authorised to test. Nothing is in scope until you confirm it.

Three fixed tools
A port scan (TCP connect, at most 64 ports), one HTTPS request and a read-only CVE lookup.
No payloads
Nothing that sends an exploit, tries a password or runs an attack.
Checked before the network
A call to a target outside the confirmed list is refused before a packet leaves the Mac.
On the record
Every call is written to the ledger: target, tool, result and time.

EngagementExample targets

engagement  example-co · 2 targets · confirmed by you
app.example.com          host
10.0.4.0/24              network

port_scan   app.example.com   in scope · 64 ports max
http_probe  app.example.com   in scope · one HTTPS GET
port_scan   shop.example.net  not in scope · refused before the network
vuln_lookup CVE search         read-only · touches no target

The record

Every decision, one line.

Tool calls, plugin calls, sandbox starts and approvals all land in one ledger you can read.

Audit logEvery decision, one line

  1. pluginlinear.list_issuesread-only · allowed
  2. sandboxstart · network none · root read-only
  3. sandboxcurl api.example.comdenied
  4. pluginslack.post_messagemay change data · asking
  5. youapproved
  6. verify31 of 31 · original tests unchanged
  7. keysread from macOS Keychain · not written to a file

Questions

What can the pentest tools do?

Three things, and only against targets you confirmed: a TCP port scan of at most 64 ports, one HTTPS request and a read-only CVE lookup. Nothing sends an exploit or tries a password.

Where are my keys stored?

Sign-in tokens for apps you connect directly, and your own provider key if you add one, are stored in the macOS Keychain, not in a file or a database. For apps connected through Composio, Composio holds the provider token.

Can a web page talk the model into doing more?

What the model may do is fixed outside it: its tools, targets and permissions are set by the app and by you, so text it reads cannot add a tool, a target or a permission. A page can still try to steer the model within the tools it has, which is why anything that may change your data asks you first.

Do tests run on my machine?

They run in a Docker container on your Mac with no network, a read-only root, no capabilities and fixed limits. Your real project folder and home directory are never mounted. If no container runtime is available, Forge says the sandbox is unavailable instead of falling back to your shell.

Read the decisions

Open every benchmark run, or give Forge a task and see the tests it ran before it shows you the change.

Download for macOSEvery run