goose permissions, approvals and sandboxing

goose has per-tool permission levels, three approval modes and optional reviewers, but the documented default is fully autonomous and no OS-level sandbox is documented. Admins must change defaults and add controls before rollout.

On this page

Does goose permissions and sandboxing meet our approval bar?

goose provides approval modes, per-tool levels, an optional adversary reviewer, prompt injection checks and an extension allowlist as documented features of the open-source project. The GitHub repository describes no paid enterprise edition, and the documented default is Completely Autonomous mode, in which goose changes files, uses extensions and deletes files without asking. The permissions documentation does not describe an OS-level sandbox for the agent. Security should treat the agent as able to act with the full permissions of the user account it runs under unless the company changes that setup.

Before approving staff use on company hosts, the reviewer should decide which mode is permitted and record it in the rollout standard. Manual Approval or Smart Approval must be selected deliberately, and per-tool levels (Always Allow, Ask Before and Never Allow) should be set for file deletion, shell and any network-capable extension. Note that the per-tool levels override the mode only in Manual or Smart approval, so an autonomous default needs its own review. The goose Permissions documentation explains how the modes interact. Confirm the exact behavior on the version your teams will install, since the documentation is the only source of these settings and the project is changing.

The compensating controls are optional and need owners. The adversary reviewer is enabled by creating ~/.config/goose/adversary.md, reviews only the shell tool by default, and fails open if the reviewer errors, so a failure does not block the action. Prompt injection checks are switched on with SECURITY_PROMPT_ENABLED and rely on pattern matching with a default threshold of 0.8, and allowed commands still run with the user's full permissions. An extension allowlist set through GOOSE_ALLOWLIST is the strongest admin lever, because with no allowlist any extension can be installed. Remaining gaps are OS-level isolation, enforcement of these settings across user machines, and evidence that the controls work. Ask the vendor and the project maintainers to confirm each point in writing before the approval decision.

Permission and approval controls by edition and option

This table shows which goose permission, approval, review and enforcement controls are built in, which need configuration, which need a component outside goose, and which the documentation does not describe. Read the columns as what you must do before staff use goose, not as a verdict on the product. The main takeaway is that goose ships no paid enterprise edition and no documented OS-level sandbox, so most guardrails depend on local settings and your own enforcement.

ControlStatus for gooseWhat to confirm or add
Three approval modesBuilt inChoose Completely Autonomous, Manual Approval or Smart Approval for each user profile and confirm which one staff actually run.
Autonomous defaultBuilt inAutonomous mode is applied by default, so change the mode before rollout if you want approval prompts.
Per-tool Always Allow, Ask Before and Never AllowNeeds configurationThese levels override the mode in Manual or Smart approval mode. Set them per tool and review them when you add extensions.
Adversary reviewerNeeds configurationCreate the adversary.md file to turn it on. It reviews only the shell tool by default and fails open if the reviewer errors, so it is not a hard stop.
Prompt injection detectionNeeds configurationEnable it with SECURITY_PROMPT_ENABLED. It runs pattern checks with a default threshold of 0.8. Allowed commands still run with the user's full permissions.
Optional ML classifier for prompt injectionNeeds outside componentThe classifier is an external endpoint you add. Confirm where it runs and what data it receives before enabling it.
Extension allowlistNeeds configurationSet GOOSE_ALLOWLIST to a YAML file URL. Without it, any extension can be installed, so the allowlist should be set before rollout.
OS-level sandbox for the agentNot documentedThe permissions documentation does not describe an OS-level sandbox. Ask your security team to define isolation with host, container or network controls.
Central admin enforcementNot documentedThe documentation does not describe a central policy that stops users from changing modes or tool levels. Plan enforcement through managed endpoints or your own configuration controls.
Audit log of tool calls and approvalsNot documentedConfirm with the maintainers what is recorded. Plan your own logging of shell and file actions if you need evidence for an assessment.
Paid enterprise editionNot documentedThe goose repository does not describe a paid enterprise edition or hosted service, so no enterprise support tier or admin console is in scope by default.

How goose decides whether a tool call runs

A tool call in goose passes through several checks, and the first one is the active permission mode. In Completely Autonomous mode, which is the default, goose changes files, uses extensions and deletes files without asking. In Manual Approval mode it asks before every tool. In Smart Approval mode it approves low-risk actions on its own and asks for the rest. Per-tool settings of Always Allow, Ask Before and Never Allow override the mode when the user is in Manual or Smart approval mode, so an admin reviewing configuration needs to read both the mode and any per-tool entries together. Confirm with the goose permissions and tool permissions documentation which settings a managed device can lock, since the default mode alone tells you little about what staff will actually experience.

Two further checks sit alongside the approval mode. If the file ~/.config/goose/adversary.md exists, an independent reviewer returns ALLOW or BLOCK for tool calls. By default it reviews only the shell tool. Setting SECURITY_PROMPT_ENABLED turns on pattern-based checks of tool parameters with a default threshold of 0.8, and an optional ML classifier endpoint can be added. Neither check is a sandbox. Once a call is allowed, it runs with the user's full permissions, and the permissions documentation does not describe an OS-level sandbox for the agent. Ask your engineering team to confirm how these checks behave with the goose version you plan to deploy.

The fail-open behavior matters most. The adversary reviewer fails open if it errors, which means a crashed, timed out or unreachable reviewer lets the shell call proceed rather than stopping it. An attacker who can disrupt the reviewer, or a simple fault in its configuration, therefore converts a safety layer into no layer at all. Treat the reviewer as a convenience control, not as a guarantee. Plan for it by testing what happens when the reviewer is unavailable, by pairing it with Manual Approval for shell and file deletion on sensitive hosts, and by restricting which extensions can be installed through the extension allowlist, so the set of tools that can reach the reviewer's blind spots stays small.

Where a goose tool call is checked before it runs

The diagram starts when goose proposes a tool call and follows it through the checks the documentation describes. Extension installs pass through the extension allowlist first, if an admin has set GOOSE_ALLOWLIST. The call then reaches the approval mode (autonomous by default, manual, or smart), where a per-tool override can force Always Allow, Ask Before or Never Allow. Shell commands also go to the adversary reviewer, which returns ALLOW or BLOCK and fails open on error. Pattern-based prompt injection checks run on tool parameters before execution. Confirm with your own tests which of these checks apply to your install, because approved calls run with the user's full permissions.

Checks a goose tool call passes through, as described in its documentation.

Decisions to make before approving goose permissions

Before staff run goose, someone must decide how much it may do without a person saying yes. Each decision below sets a different layer of that answer: the approval mode, per-tool rules, two review layers and the extension list. Check each one against the environment goose will run in, because the docs describe these controls as application settings rather than an operating system sandbox.

Default approval mode for each team

goose applies its Completely Autonomous mode by default, so changing files, using extensions and deleting files happen without a prompt unless you change the setting. Choose between Manual Approval, which asks before any tool runs, and Smart Approval, which approves low-risk actions automatically. Set the mode per team according to what their repositories and data can lose. Confirm with your own testing how the mode behaves on the goose version you deploy, and document who may change it.

goose permissions docs

Which tools get Never Allow

Per-tool levels are Always Allow, Ask Before and Never Allow, and these override the mode when goose runs in Manual or Smart Approval. Decide which tools should never run for a given team, such as file deletion in production repositories or shell access on shared hosts. Keep the list short and written down, then verify that each override takes effect in a test session before you rely on it.

Tool permissions docs

Enabling the adversary reviewer

The adversary reviewer is an independent check that returns ALLOW or BLOCK for tool calls. It turns on when you create ~/.config/goose/adversary.md, and by default it reviews only the shell tool. It fails open if the reviewer errors, so a broken reviewer lets calls through. Decide whether to enable it, whether to widen its scope beyond shell, and how you will detect reviewer failures in logs or testing.

Adversary Mode docs

Prompt injection detection and classifier endpoint

Setting SECURITY_PROMPT_ENABLED turns on pattern-based checks of tool parameters with a default threshold of 0.8. An optional ML classifier endpoint can be added for a second opinion. Allowed commands still run with the user's full permissions, so these checks reduce risk but do not contain it. Decide whether the pattern checks are enough for your data, and whether a classifier you host yourself is worth its operating cost.

Prompt injection docs

Extension allowlist content and ownership

Setting GOOSE_ALLOWLIST to the URL of a YAML file makes goose reject extension installs whose command is not listed. With no allowlist, any extension can be installed. Name an owner for the list, such as the security or platform team, and decide who may request additions and how each request is reviewed. Keep the file at a URL that staff cannot edit, and confirm that a blocked install produces a clear message.

Extension Allowlist guide

Local versus remote execution

Decide whether goose runs on each employee's laptop, on a shared company host, or through a remote backend, since each choice changes where tool calls execute and what they can reach. Local execution uses the user's own permissions and files. Record which setting each team uses, and confirm that the controls above apply in that setting. The docs do not describe an OS-level sandbox, so the host and its account permissions are your main boundary.

How the answer changes by team and environment

On a single developer workstation, the person running goose is also the person accountable for its actions, and goose runs with that user's full permissions. Autonomous mode is applied by default, so goose can change files, use extensions and delete files without asking until someone changes the mode. The goose permissions guide is the first place to confirm what each setting does.

  • Approval mode: Confirm each developer has moved from Completely Autonomous to Manual Approval or Smart Approval before goose touches a repository with production credentials.
  • Per-tool rules: Set Never Allow for tools a developer does not need, and Ask Before for destructive operations, since these levels override the mode in the two approval modes.
  • Shell reviewer: Adversary Mode is turned on by creating a file in the user's goose configuration directory. Check that the file exists on each machine, because the reviewer covers only the shell tool by default.
  • Fail-open behavior: The reviewer returns ALLOW if it errors, so do not count it as a containment control.

Confirm with your endpoint management tooling whether these settings can be enforced centrally, because the documentation reviewed does not describe a central policy service for workstations.

Order of work before goose is approved for production

This sequence moves goose from a default autonomous install to a configuration that matches your risk tolerance, with each control tested and the remaining exposure written down before any staff member relies on it.

  1. Confirm the approved version and read the security docs

    The security or platform engineering lead records the goose release that will be approved, pulls it from the project repository under the Agentic AI Foundation, and reads the permissions, tool permissions, adversary mode, prompt injection detection and extension allowlist guides in the goose documentation. Confirm which desktop or CLI builds your staff will run and whether your team has found any open advisories against that build. Done when the version, the install channel and the list of documents reviewed are recorded in the approval file, and the team can state in writing which features the docs say are off by default.

  2. Set the default approval mode

    The security lead chooses the mode staff will start with. goose applies Completely Autonomous mode by default, so this step is a deliberate change, not a confirmation. Compare Manual Approval and Smart Approval against the work your staff do and the systems the agent can reach. Verify on a test workstation that the chosen mode is applied at first launch and that file changes, extension use and deletions behave as the docs describe. Done when the mode is written into your standard configuration and a tester has confirmed that a file deletion request prompts or is blocked as your policy requires.

  3. Define per-tool rules

    The security engineer maps each tool the agent can call to one of the documented levels: Always Allow, Ask Before or Never Allow. Note that these levels override the mode when goose runs in Manual or Smart Approval mode, so a rule set here governs even where the mode is looser. Start with Never Allow for any tool that writes to production systems or sends data outside the company, and Ask Before for shell and file operations. Done when the rule table is approved by the system owner and a tester has confirmed that a Never Allow tool is refused in a live session.

  4. Configure the adversary reviewer and injection checks

    The security team enables the independent reviewer described in the adversary mode guide by creating the adversary file in the user's goose configuration folder, and turns on pattern-based prompt injection checks through the documented environment setting. Record the default threshold of 0.8 and decide whether an optional classifier endpoint is needed. Confirm the limits: the reviewer checks only the shell tool by default, fails open if it errors, and allowed commands still run with the user's full permissions. Done when a test shows the reviewer returning BLOCK for a risky shell command, and the team has written down the fail-open behavior as a known gap or has compensated for it.

  5. Publish an extension allowlist

    The platform team writes a YAML file listing the extension commands staff may install, hosts it at an internal URL, and sets the allowlist variable the extension allowlist guide describes. Without this setting, any extension can be installed, so the allowlist is the main control on what code the agent can run. Verify that an extension not on the list is rejected and that a listed one installs. Done when the list has an owner, a change process for additions, and a test record showing both outcomes on a managed workstation.

  6. Test the controls with red-team style prompts

    The security testing team runs a scripted set of prompts that try to bypass each control: instructions hidden in documents or web pages, requests to run destructive shell commands, attempts to install unlisted extensions, and requests to read files outside the approved folders. Use illustrative test cases written for your environment, and log the result of each. Done when every control has at least one recorded test that blocked or prompted the behavior, and every failure has a ticket with an owner and a retest date.

  7. Place the host boundary and logging

    The infrastructure team confirms what the agent can reach on the host: which user account runs it, which directories and credentials are visible, and which network paths are open. The security docs do not describe an OS-level sandbox for the agent, so confirm with the project and your own endpoint tooling what isolation, if any, you will add. Decide where session and tool activity is retained and who can read it. Done when a written host profile exists, the agent runs under a restricted account, and a reviewer can trace a test action from the prompt through the tool call to the log.

  8. Document residual risk and approve

    The accountable executive signs a short risk record that lists each control, its test result, the known limits (such as fail-open review, full-permission allowed commands and the absence of a documented OS sandbox) and who accepts each remaining risk. Name the review trigger for re-approval, including any new goose release and any change to the allowlist or model provider settings. Done when the signed record is filed with the configuration baseline, and staff access is granted only to the approved build and settings.

Evidence a security reviewer will ask for

This table lists each control a reviewer should see before approving goose, what to show for it, and where the evidence comes from. Use it as a checklist for the installed environment, not as a description of defaults. The main takeaway is that goose's autonomous default, the fail-open reviewer and the absence of a documented OS-level sandbox mean the most important evidence is configuration you set and log yourself.

ControlWhat to showWhere it comes from
Approval mode configurationThe mode in use (Completely Autonomous, Manual Approval or Smart Approval) and proof it was changed from the autonomous defaultgoose permissions docs and the settings on each managed host
Per-tool rulesA list of tools set to Always Allow, Ask Before or Never Allow, with the reason each level was chosengoose tool permissions docs; exported tool settings from the host
Adversary reviewer file and behaviorThe adversary.md file contents, a test showing ALLOW and BLOCK decisions, and a note that the reviewer covers only the shell tool by defaultgoose adversary mode docs and the file at ~/.config/goose/adversary.md
Prompt injection settingsEvidence that SECURITY_PROMPT_ENABLED is set, the threshold in use (default 0.8), and whether an ML classifier endpoint is configuredgoose prompt injection detection docs and the host environment configuration
Extension allowlist file and its sourceThe GOOSE_ALLOWLIST value, the YAML file it points to, who owns that file, and a test showing a non-listed extension is rejectedgoose extension allowlist docs and your internal configuration repository
Host isolation designDocumented OS-level isolation around goose, such as account, network and file access limits, since goose's permissions docs describe no OS-level sandboxYour own architecture design and host hardening records
Logs of tool calls collected outside gooseTool call records shipped to a central log store that goose cannot edit, with retention set by your policyYour logging pipeline; confirm with the goose project what local logging it provides
Version under reviewThe exact goose release, build or package hash approved for use, and the process for re-review after an upgradegoose GitHub repository release records and your software inventory

Questions buyers ask before approving goose permissions

Is there a paid enterprise edition of goose?

As of the researched reading of the goose repository in November 2026, no. The goose GitHub repository does not describe a hosted service or paid enterprise edition, so the license that applies is the open-source Apache-2.0 license. That changes what you pay for. Cost comes from the work around the tool: hosting it on company infrastructure, setting permission and allowlist policy, testing it, documenting evidence for your reviewers, and supporting it over time. Ask any vendor or partner to state in writing which components are licensed, which are free, and which are services billed by scope. Confirm current edition status directly with the project before you rely on it, because packaging can change.

Can we force manual approval for every user?

Not through a documented, centrally enforced setting in the goose permissions docs that we reviewed. goose offers three modes: Completely Autonomous, Manual Approval and Smart Approval, and autonomous mode is the default. Per-tool levels (Always Allow, Ask Before and Never Allow) override the mode in Manual or Smart approval, which lets you block specific tools. Enforcement across a fleet of desktops therefore depends on how each user's configuration is set and whether you can control it on managed devices. Ask the project or your implementation team to confirm whether a managed configuration exists for your deployment, and test the chosen mode on a clean profile before approving use.

Does goose sandbox the agent at the operating system level?

The goose permissions docs do not describe an OS-level sandbox for the agent as of the November 2026 reading. Protection rests on approval modes, per-tool rules, the optional adversary reviewer and the extension allowlist. Once a tool call is allowed, it runs with the user's full permissions, so the agent can reach anything that user can reach. Treat goose as running with the user's identity. Compensating controls include separate accounts with limited file access, network egress restrictions on the host, and running goose on hosts that hold no production credentials. Ask your engineering team to map which files, secrets and networks a goose session can touch on a standard workstation.

What happens if the adversary reviewer fails?

The reviewer fails open. According to the goose adversary mode docs, creating ~/.config/goose/adversary.md turns on an independent reviewer that returns ALLOW or BLOCK for tool calls, and if the reviewer errors, the tool call is allowed. The reviewer also checks only the shell tool by default. That means an outage, a misconfigured endpoint or a crash can silently remove the check. Do not treat the reviewer as a hard control. Pair it with per-tool Never Allow rules and monitoring, and test what happens when the reviewer is unreachable on a representative host.

What does prompt injection detection not catch?

Pattern-based checks on tool parameters will miss attacks that do not match the patterns. The goose prompt injection detection docs describe SECURITY_PROMPT_ENABLED, which enables pattern-based checks with a default threshold of 0.8, and an optional ML classifier endpoint you can add. Commands that pass the check still run with the user's full permissions. So a malicious instruction hidden in a web page, document or repository that the agent reads can still lead to actions the check does not flag. Ask your security team to test indirect injection through the content types your staff actually use, and to decide whether a classifier endpoint is needed.

Which factors drive the effort to approve goose safely?

The main drivers are how many users and hosts are in scope, how much access their accounts hold, and how many model providers and extensions you plan to allow. Each additional provider adds a data-handling review. Each extension adds a supply-chain review, and the extension allowlist, which uses the GOOSE_ALLOWLIST setting pointing to a YAML file, only helps if someone maintains that list. Effort also rises when you need evidence for an audit, such as documented settings, test results and a change record. Expect one-time work to define the policy, build and test the configuration, and write the approval record, followed by recurring work to review new extensions, provider changes and project releases. For a quote, ask for the scope in writing, the hosts covered, the controls tested and the deliverables.

Can our own team set up these controls without outside help?

Yes, if you have people who can read the goose docs, test configurations and document the results. The controls themselves are plain settings: a mode in the permissions configuration, per-tool rules, an adversary.md file, the SECURITY_PROMPT_ENABLED setting and an allowlist file referenced by GOOSE_ALLOWLIST. The harder parts are verification and ongoing ownership: proving the allowlist blocks an unlisted extension, proving the reviewer behavior when it errors, and keeping the policy current as the project changes. DeployOpen plans, implements, tests and documents self-hosted open-source platforms inside client environments and runs security testing that includes AI agents, under written, fixed-scope agreements, with retainers for ongoing testing and support. Use your internal capacity for what you can verify, and ask for a written scope where you need outside testing or documented evidence.

How DeployOpen helps set goose permissions safely

DeployOpen works through goose permissions as a written, fixed-scope engagement: we map which modes, tool levels, reviewers and extension rules apply to your staff, then build and test the policy inside your own infrastructure. We hand over the configuration, test evidence and runbooks, and can support the setup as a retainer.

How we scope

  • Inventory which goose permission mode each team would use, starting from the autonomous default that applies unless changed
  • Define per-tool levels (Always Allow, Ask Before, Never Allow) for shell, file and extension actions in writing
  • Agree whether adversary review, prompt injection checks and an extension allowlist are in scope before work starts

How we build

  • Configure the permission mode, tool levels and extension allowlist on the company hosts you designate
  • Set up the independent adversary reviewer and test how it handles shell commands and reviewer errors
  • Test prompt injection detection against sample tool parameters, and document what still runs with the user's full permissions

How we hand over

  • Deliver a written configuration record covering every mode, tool level, allowlist entry and reviewer setting
  • Provide test results showing which blocked and allowed actions behaved as specified in the scope
  • Document the residual risks, including the absence of an OS-level sandbox, so your reviewers can accept or restrict them

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
  • Ongoing support, upgrades and continuous testing are available as a retainer after handover
  • Retest the permission policy when goose versions change, so approvals still match your written rules

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.