Does Kiro let an organization control what the agent may run and change?
Yes, but only in part, and the control depends on which client and plan the organization uses. Kiro decides each action through permission rules in permissions.yaml, which gate fs_read, fs_write, shell, web_fetch, web_search, mcp and subagent with the effects deny, ask, allow and evaluate. Anything no rule covers prompts for approval. Enterprise administrators can set deny and ask rules centrally in managed-settings.json for Kiro Enterprise, and the Kiro console in the AWS Management Console sets administrative settings through a Kiro profile for one AWS account and Region. Evaluation is deny-overrides, so a deny anywhere wins, and workspace permission files live per user outside the repository, which stops a cloned project from injecting its own allow rules. Confirm with AWS which rule scopes an enterprise policy can override before relying on them as a hard boundary. The full rule syntax is in the Kiro permissions documentation.
The OS-level sandbox is a second layer, not a substitute for the first. It is off by default, uses Seatbelt on macOS and Bubblewrap on Linux, and in its default DEFAULT_BLOCKED mode blocks outbound network access except hosts named in a sandbox_network rule. Organization-managed sandbox requirements need Kiro CLI 3.4.0 or Kiro IDE 1.4.215 or later, and the sandbox itself needs Kiro IDE 1.3 or later or Kiro CLI 2.31 or later. Verify that every workstation runs at least these versions before you treat the sandbox as enforced. Its gaps matter as much as its features: the sandbox reduces what a command can do but does not guarantee isolation, built-in file tools and remote HTTP MCP servers run outside it, and protected paths such as .git/ and mcp.json are enforced only in the IDE. The Kiro sandbox documentation lists the exact limits.
Two points should be settled in the security review. Supervised mode is a code review workflow, not a security control, and both Autopilot and Supervised modes can create, modify and delete files and run commands. Treat permission rules and the sandbox as the controls, and treat human review as an extra check. Model and MCP server governance, including which servers and tools are approved, is covered separately, so the permission rules here should be written for local actions and network reach only. Confirm with AWS how the enterprise settings apply to each client, and test a sample deny rule on a managed device before rollout.
Permission and sandbox capabilities by Kiro edition and client
This table shows which Kiro permission and sandbox controls are built in, which depend on a paid edition, and which need a component outside Kiro. Read each row against the client you plan to deploy, since the IDE and CLI have different sandbox versions and protected path enforcement. Confirm edition eligibility for managed settings with AWS before you rely on them in a quote or rollout.
| Capability or control | Built in | Paid edition only | Outside component needed |
|---|---|---|---|
| Rules for fs_read, fs_write, shell, web_fetch, web_search, mcp and subagent | Yes. Per-user permissions.yaml; unmatched actions prompt for approval | Not applicable | Not applicable |
| Effects: deny, ask, allow and evaluate | Yes. Evaluated deny first, then ask, then allow, then evaluate | Not applicable | Not applicable |
| Enterprise managed-settings.json policies | Limited to deny and ask effects only | Confirm with AWS which Kiro plan supports it | Not applicable |
| OS-level sandbox (Seatbelt on macOS, Bubblewrap on Linux) | Available in IDE 1.3 and later and CLI 2.31 and later; off by default | Not applicable | Not applicable |
| Organization-managed sandbox requirements | Require CLI 3.4.0 or IDE 1.4.215 or later | Confirm whether tied to Kiro Enterprise | Not applicable |
| DEFAULT_BLOCKED network mode with sandbox_network rules | Blocks outbound network except hosts named in sandbox_network rules | Not applicable | Not applicable |
| Protected paths such as .git/ and mcp.json | Enforced only in the IDE; confirm CLI behavior with AWS | Not applicable | Not applicable |
| Built-in file tools and remote HTTP MCP servers | Run outside the sandbox | Not applicable | Permission rules and review must cover these paths |
How Kiro decides whether a command, write, MCP call or web request is allowed
Kiro checks its permission rules in a fixed order: deny, then ask, then allow, then evaluate. Rules in permissions.yaml gate capabilities including fs_read, fs_write, shell, web_fetch, web_search, mcp and subagent, each with an effect of deny, ask, allow or evaluate. Evaluation is deny-overrides, and the documentation states there is no precedence between scopes, so a deny in any scope wins over an allow in another. Anything no rule covers falls through to an approval prompt. For a reviewer, the practical test is whether a given capability is listed with a deny or ask rule at every level that applies, and whether the team has confirmed that an uncovered action still prompts in their own build. Enterprise policies in managed-settings.json may only use deny and ask, so an organization can block or force approval centrally but cannot grant broad allows that way.
Workspace permission files are stored per user outside the repository, which is the control that stops a cloned repository from injecting its own allow rules. Reviewers should still ask who can edit those per-user files on managed laptops and whether the rules they hold match the organization's baseline. Protected paths such as .git/ and mcp.json are enforced only in the IDE according to AWS's privacy and security documentation, so a team using the CLI should not assume the same protection applies there. Confirm that point against the current docs before approving CLI use on sensitive repositories.
The OS-level sandbox sits after the permission decision for shell commands. Its use is off by default, uses Seatbelt on macOS and Bubblewrap on Linux, and in the default DEFAULT_BLOCKED mode blocks outbound network access except hosts named in a sandbox_network rule. The sandbox reduces what a command can do but is not a guarantee of isolation. Built-in file tools and remote HTTP MCP servers run outside it, so a file write made by the agent's own tools or a call to a remote MCP server is not constrained by the sandbox. Organization-managed sandbox requirements need Kiro CLI 3.4.0 or Kiro IDE 1.4.215 or later, and the sandbox itself needs Kiro IDE 1.3 or Kiro CLI 2.31 or later. Ask the vendor or check the Kiro sandbox documentation to confirm the current behavior for each client version in use.
Decisions to make before setting Kiro permissions and sandbox policy
Kiro's permissions, sandbox, operating mode and protected paths each control a different part of what the agent may run or change. The choices below connect because a rule set centrally in managed settings, a sandbox allowlist and a remote MCP scope all decide the same question: what happens after the agent acts on a developer's machine.
Central deny or ask rules
Decide which capabilities (fs_read, fs_write, shell, web_fetch, web_search, mcp and subagent) an organization blocks or requires approval for in managed-settings.json, and which stay with users. Enterprise policies there may only use deny and ask, so you cannot centrally grant allow. Because evaluation is deny-overrides, a central deny cannot be reversed by a user's workspace file. Confirm with your Kiro administrator which rules your edition enforces on developer machines before you publish a baseline.
Kiro permissions docsSandbox on or off
The sandbox is off by default, so enabling it is an explicit policy decision. It uses Seatbelt on macOS and Bubblewrap on Linux and limits what running commands can do, but it is not a guarantee of isolation. Decide whether your baseline requires it for shell commands, and document that built-in file tools run outside it. Test the setting on each operating system your developers use.
- Default network mode
- DEFAULT_BLOCKED
Sandbox network allowlists
In DEFAULT_BLOCKED mode, outbound network access from sandboxed commands is blocked except for hosts named in a sandbox_network rule. Each host you add, such as a package registry or internal Git server, widens what a command can reach. Build the list from the tasks developers actually need, review it with the security team, and record who approved each entry. Unlisted hosts stay blocked for sandboxed commands.
Minimum client versions
Sandbox support starts at Kiro IDE 1.3 and Kiro CLI 2.31, but organization-managed sandbox requirements need Kiro CLI 3.4.0 or Kiro IDE 1.4.215 or later. Standardize on the managed-requirements versions if you want administrators to enforce sandbox settings, and block older clients from your managed fleet. Confirm the version your package manager or device management tool distributes before you write the requirement into policy.
Autopilot or Supervised mode
Both Autopilot and Supervised modes can create, modify and delete files and run commands. Supervised mode is a code review workflow, not a security control, so it should not replace permission rules or the sandbox. Decide whether Autopilot is allowed at all, and if it is, pair it with deny and ask rules for high-risk capabilities. Document the mode each team uses so reviewers know what the agent could have done before a human saw the diff.
IDE-only protected paths
Protected paths such as .git/ and mcp.json are enforced only in the IDE, so a CLI session may not respect them. Decide whether your rules for those paths rely on IDE behavior or on controls that apply to every client, such as repository hooks, branch protection and code review. Ask developers to use the IDE for work touching protected files, and test whether a CLI write to mcp.json is blocked in your setup.
Remote HTTP MCP scope
Remote HTTP MCP servers run outside the sandbox, so the sandbox network allowlist does not limit what they reach. Decide which remote servers are approved, which tools each may expose, and which mcp rules apply to them. Permission rules still gate MCP calls, so make the mcp capability ask or deny by default for unapproved servers. Review how each server authenticates and what data it can return to the agent.
How the permission and sandbox answer changes by situation
Teams that use Kiro only in the IDE get the permission rules, the sandbox option and the IDE-only protected paths. Both Autopilot and Supervised modes can create, modify and delete files and run commands, so the answer depends on the rules in permissions.yaml and on whether the sandbox is turned on.
- Permission rules: Set
fs_write,shell,web_fetchandmcprules inpermissions.yaml. Any action without a matching rule prompts for approval. - Protected paths:
.git/andmcp.jsonare enforced only in the IDE, so this protection does not carry over to other clients. - Client version: The sandbox needs IDE 1.3 or later. Organization-managed sandbox requirements need IDE 1.4.215 or later.
- Supervised mode: Treat it as a code review step, not as a security control.
- Per-user files: Permission files live per user outside the repository, so an administrator must confirm that each developer's file holds the intended rules.
Confirm which IDE build each developer runs, then test in a sample workspace that a blocked shell command is refused and a prompted write waits for approval.
CLI and headless use on Linux hosts depends on Bubblewrap, and the sandbox is off by default, so a server stays unsandboxed until someone enables it. The sandbox documentation describes the Linux backend and the default blocked mode that controls outbound traffic.
- Explicit enablement: Turn the sandbox on in the configuration for every service account and job runner, because the default is off.
- Bubblewrap on the host: Confirm with the vendor and in your own host image that Bubblewrap is installed and usable by the account that runs Kiro.
- Client version: The sandbox is available in CLI 2.31 and later. Organization-managed sandbox requirements need CLI 3.4.0 or later.
- Gating outside the sandbox: Built-in file tools run outside the sandbox, so
fs_readandfs_writerules inpermissions.yamlremain the main control for file access. - Shared service accounts: Permission files are stored per user, so a shared account has one set of rules for every job it runs.
Run a test job from the exact service account, host image and CLI build that production will use, and record which commands and file writes the policy blocked.
On macOS the sandbox uses Seatbelt rather than the Linux backend, so a fleet of Macs needs its own verification even when the Linux hosts pass. Managed policy for the fleet is set in managed-settings.json, and that file can only restrict behavior through deny and ask effects.
- Seatbelt behavior: Test blocked commands and network restrictions on each macOS image your developers use, since the sandbox is off by default and must be enabled.
- Limited managed effects: Enterprise policies in
managed-settings.jsonmay only use deny and ask, so they can block actions or force prompts but cannot grant new permissions. - Deny-overrides evaluation: Evaluation runs deny first, then ask, then allow, then evaluate, with no precedence between scopes. A managed deny therefore stops a developer's allow rule.
- Off-network laptops: Outbound limits in the default blocked mode depend on
sandbox_networkentries, so a laptop working away from the corporate network needs the same policy. - Client version: Organization-managed sandbox requirements need IDE 1.4.215 or later, so older builds on developer machines fall outside the managed configuration.
Pilot the managed settings on a small device group, confirm the policy reaches the machine, and check that the sandbox state matches what the policy specifies.
Teams that depend on remote MCP servers need to know where those calls sit in the permission model and outside the sandbox. The sandbox documentation states that remote HTTP MCP servers run outside it, so the sandbox does not limit what those servers receive or return.
- Outside the sandbox: Remote HTTP MCP servers are not covered by sandbox restrictions, so control over them must come from the
mcpcapability rules and from your network controls. - MCP gate: Set
mcprules inpermissions.yamlto allow, ask or deny calls per workflow. Calls that match no rule prompt for approval. - Protected configuration:
mcp.jsonis protected only in the IDE. Confirm how CLI sessions handle changes to that file before relying on it. - Web tools:
web_fetchandweb_searchare separate gates from MCP, so an MCP allow list does not cover web requests. - Per-user scope: Permission files are per user and stored outside the repository, so a cloned project cannot add an MCP allow rule for a developer.
Inventory the remote servers each team uses, then test that an unlisted server triggers a prompt and that a denied server cannot be reached from a developer session.
Regulated teams usually need outbound network access limited to named destinations, and the sandbox offers one layer for that. In the default blocked mode, the sandbox blocks outbound network access except hosts allowed by a sandbox_network rule. The sandbox reduces what a command can do but is not a guarantee of isolation, so it should not be the only control.
- Allow list by host: Every host an approved workflow needs must appear in a
sandbox_networkrule, and anything omitted is blocked for commands run in the sandbox. - Gaps outside the sandbox: Built-in file tools and remote HTTP MCP servers run outside the sandbox, so network egress for those paths must be controlled at the network layer, using the firewall and proxy options in Kiro's privacy and security documentation.
- Shared responsibility: Kiro's documentation describes security as shared between AWS and the customer, so policy files, host configuration and network rules remain the customer's to own.
- Version floor: Organization-managed sandbox requirements need CLI 3.4.0 or IDE 1.4.215 or later, so older clients cannot receive the enforced policy.
- Review evidence: Keep dated copies of
permissions.yaml, managed settings and sandbox configuration for the approval file.
Ask the security team to attempt blocked destinations from a live session and record the outcome alongside the configuration version.
Order of work to put Kiro permissions and sandboxing in production
This sequence moves Kiro from default settings to a controlled baseline in which permissions, sandbox limits and protected paths are set, tested and monitored, and the remaining risk is written down for approvers. Each step closes with a check that the control behaves as the documentation describes.
Confirm client versions across the fleet
The IT or endpoint team inventories every Kiro IDE and Kiro CLI installation and records its version. The sandbox is available in Kiro IDE 1.3 and later and Kiro CLI 2.31 and later, and organization-managed sandbox requirements need Kiro CLI 3.4.0 or Kiro IDE 1.4.215 or later. Done means every device is on a version that supports each control you plan to enforce, and older clients are upgraded or excluded from the rollout.
Define the baseline permissions and managed deny and ask rules
The security team writes the baseline rules for fs_read, fs_write, shell, web_fetch, web_search, mcp and subagent in permissions.yaml, and places enterprise rules in managed-settings.json. Enterprise policies accept only deny and ask, and evaluation is deny-overrides, so a deny rule at the enterprise level cannot be relaxed by a user file. Done means a reviewer can read the policy and confirm that every capability not explicitly allowed still prompts for approval.
Enable and test the sandbox with a host allowlist
The platform team turns the sandbox on, since it is off by default, and tests it on each supported operating system family, Seatbelt on macOS and Bubblewrap on Linux. In the DEFAULT_BLOCKED mode, outbound network access is blocked except for hosts named in sandbox_network rules, so each approved host is added deliberately and recorded. Done means blocked hosts fail as expected in a test session and approved hosts succeed. Confirm with the vendor that the sandbox behaves the same way on your managed image.
Verify the sandbox limits and their gaps
The security team documents what the sandbox does not cover. The sandbox reduces what a running command can do but does not guarantee isolation, and built-in file tools and remote HTTP MCP servers run outside it. Testers confirm that file tools and remote MCP calls are governed only by permissions rules and approvals. Done means the gaps are listed in the control register and each has a named compensating control or an accepted-risk entry.
Verify protected paths in the IDE
Testers confirm that protected paths such as .git/ and mcp.json are enforced in the Kiro IDE. Kiro's privacy and security documentation states that these protections apply only in the IDE, and both Autopilot and Supervised modes can create, modify and delete files and run commands. Done means the test results show the IDE blocks changes to protected paths, and the CLI and any non-IDE workflow are recorded as having no equivalent guard so they can be covered by other controls.
Test that a cloned repository cannot inject rules
Testers clone a repository containing a permissions file or other workspace configuration that tries to loosen rules, then start a session as a standard user. Kiro stores workspace permission files per user outside the repository, so a cloned repository should not change the effective rules. Done means the test shows the enterprise deny and ask rules still apply and the repository-supplied settings have no effect. Record the test so it can be repeated after each client upgrade.
Pair the controls with endpoint and egress monitoring
The security operations team connects endpoint telemetry and network egress logs for developer devices to the rollout. Kiro's sandbox and rules are one layer, so monitoring should show process launches from the agent, outbound connections and changes to protected files. Kiro's privacy and security documentation covers firewalls, proxies and VPC endpoints, which can be used to route traffic through inspection. Done means alerts fire in a test scenario and the team knows who responds to them.
Document residual risk and approval conditions
The security lead writes a residual risk statement covering the sandbox limits, the IDE-only protections, the Supervised mode caveat and any MCP or web access allowed. Kiro's documentation says the shared responsibility model places configuration on the customer, and that Supervised mode is a code review workflow rather than a security control. Done means the statement is signed by the approving owner, lists the re-test triggers such as client upgrades or new AWS security bulletins, and is reviewed on a schedule the organization sets.
Decision path for a Kiro agent action
The diagram starts when Kiro requests a capability such as a shell command, file write, MCP call or web request. Enterprise deny and ask rules from managed settings are checked first, then the user's workspace permission file, and anything not matched prompts for approval. Shell commands then pass through the OS-level sandbox, where outbound network access is blocked unless a sandbox_network rule allows the host. Built-in file tools and remote HTTP MCP servers sit outside that sandbox, so a reviewer should confirm which of these paths their policy actually covers.
How a requested Kiro action moves through policy checks and the sandbox.
What a security reviewer asks to see for Kiro permissions and sandboxing
This table lists what a security reviewer should request for Kiro permissions and sandboxing, the evidence that answers each request, where that evidence lives in the tool, and who in the organization should own it. Use it as a checklist before approving a rollout, and confirm each item against the version your staff actually run. The main takeaway is that enterprise policy, per-user rules, sandbox settings and client versions each cover different parts of the risk, so no single artifact answers the whole question.
| Reviewer request | Evidence to collect | Where it lives | Owner |
|---|---|---|---|
| Which enterprise rules cannot be overridden locally | Exported managed-settings.json with deny and ask rules, reviewed line by line | Enterprise managed-settings.json, deployed to user machines | Security architecture |
| Which capabilities each user can approve for themselves | Per-user permissions.yaml for a sample of users, showing allow and evaluate rules | Per-user workspace file, stored outside the repository | Platform engineering |
| Whether a cloned repository can change agent rules | Test showing a repository-level config file has no effect on permissions | Permission evaluation behavior, verified in a test workspace | Application security |
| Whether command execution is sandboxed and for which platforms | Sandbox configuration with mode noted, plus proof it is enabled on macOS and Linux endpoints | Sandbox configuration and organization-managed sandbox requirements | Endpoint engineering |
| Which hosts a sandboxed command may reach over the network | Current sandbox_network allowlist with a named owner for each host | sandbox_network rules in the sandbox configuration | Network security |
| Which tools run outside the sandbox | List of built-in file tools and remote HTTP MCP servers in use, with compensating controls | Sandbox documentation scope and the organization's MCP inventory | Security architecture |
| Which client versions are deployed | Inventory of Kiro IDE and CLI versions against the minimum that supports organization-managed sandbox requirements | Endpoint management tool and Kiro client version reporting | IT operations |
| Whether protected paths hold in the IDE and CLI | Test results for writes to .git/ and mcp.json in each client, with the IDE and CLI results recorded separately | Test records kept by the security team, based on the privacy and security documentation | Security testing |
| Whether AWS security bulletins are reviewed and acted on | Dated log of each published bulletin, affected versions, fix applied and owner sign-off | Security bulletins published by AWS and the organization's change records | Vulnerability management |
Questions buyers ask about Kiro permissions and sandboxing
Is the Kiro sandbox turned on by default?
No. The Kiro sandbox is off by default, so an organization has to enable it deliberately before relying on it. When it is on, Kiro uses Seatbelt on macOS and Bubblewrap on Linux. In the default DEFAULT_BLOCKED mode, it blocks outbound network access from running commands except to hosts allowed by a sandbox_network rule. Security reviewers should confirm the sandbox state on every device and in any organization-managed configuration before approving the tool, because a user can run the agent without it unless an admin requirement is in place. Check the exact behavior in the Kiro sandbox documentation.
Which Kiro client versions do we need for sandbox and admin requirements?
The sandbox is available in Kiro IDE 1.3 and later and Kiro CLI 2.31 and later. Organization-managed sandbox requirements need Kiro CLI 3.4.0 or Kiro IDE 1.4.215 or later. Older clients may run the agent without these controls, so the version check belongs in the rollout checklist. Ask your DeployOpen or internal team to inventory client versions on each developer machine, and confirm the minimum versions against the current Kiro sandbox documentation before you publish an approved client baseline.
Can admins force deny rules on users?
Yes, in part. Rules in permissions.yaml gate capabilities such as fs_read, fs_write, shell, web_fetch, web_search, mcp and subagent. Enterprise policies in managed-settings.json may only use the deny and ask effects, so an organization can block or require approval for an action but cannot grant a capability centrally through that file. Evaluation is deny-overrides, meaning a deny always wins over an ask or allow, and there is no precedence between scopes. Confirm with AWS which settings a user cannot override on your client version before you describe the control as enforced in your policy.
Can a cloned repository change the agent's permissions?
No, according to Kiro's permissions documentation. Workspace permission files are stored per user outside the repository, so a cloned repository cannot inject allow rules that change what the agent may do. This matters for untrusted code and third-party repositories. It does not remove the need for review, because files inside the repository can still contain instructions the agent reads. Test this on your own clients during a pilot, and record the result as part of the evidence for your review.
What drives the cost and effort of setting up Kiro permissions, and what can our team do alone?
Effort depends on how many policies you need, how many client versions and operating systems you support, and how much testing you require. Your team can do much of the work alone: list the capabilities you want to restrict, write permissions.yaml and managed-settings.json rules, roll them out to a pilot group, and verify that deny and ask rules hold. Ongoing costs come from client updates and policy reviews. Kiro subscription costs are set by AWS, so confirm the figures in the written quote from AWS and any partner, not from this page. DeployOpen scopes this work in writing before it starts.
Does the sandbox stop prompt injection?
No. The sandbox limits what a running command can do, such as restricting outbound network access, but it does not prevent prompt injection from reaching the agent or stop the agent from proposing harmful actions. Kiro's documentation also says the sandbox is not a guarantee of isolation, and built-in file tools and remote HTTP MCP servers run outside it. Treat the sandbox as one layer. Pair it with narrow deny rules on shell, fs_write and mcp, approval prompts, and review of agent changes. Prompt injection bulletins from AWS are covered on their own page.
What do we need from the AWS Enterprise setup for permissions to apply?
Kiro Enterprise requires enterprise authentication through AWS IAM Identity Center or an external identity provider, so sign-in must be configured before users can be governed. Administrative settings are managed in the Kiro console in the AWS Management Console, through a Kiro profile that defines and enforces settings for one AWS account and Region. Plan for one profile per account and Region, and confirm with AWS how that profile applies to client policy files. Ask your AWS account team to confirm these requirements in the written scope.
How DeployOpen works on this
DeployOpen helps security and engineering leaders decide what a Kiro agent may run, read and change before anyone relies on it. We scope the permission rules, sandbox settings and managed policies in writing, then document and hand over the configuration and the evidence behind it. Our work covers the controls an organization can enforce and the ones it must still review as human process.
How we scope
- We map which capabilities (file reads, file writes, shell, web fetch, web search, MCP and subagents) each user group needs.
- We identify which rules can be enforced centrally and which must live in individual user workspace files.
- We agree the scope, deliverables and timeline in writing before any work starts, as engagements are fixed-scope.
- We record which sandbox limits apply to each platform, IDE and CLI version in the environment.
How we build
- We draft the enterprise policy file and the permission rules, then test deny, ask, allow and evaluate outcomes against real command samples.
- We configure and test the OS-level sandbox on the supported platforms and document the network allowlist for each approved host.
- We test whether built-in file tools and remote HTTP MCP servers stay within the rules, since they run outside the sandbox.
- We run security testing against the configuration, including attempts to bypass rules from a cloned repository.
How we hand over
- We deliver the final policy files, sandbox settings and a written permission matrix that reviewers can audit.
- We document which controls are enforced and which depend on user discipline, such as Supervised mode being a review workflow only.
- We train administrators and developers on the rules, the sandbox limits and the approval process for exceptions.
- We provide a list of checks to confirm after each Kiro release, including the AWS security bulletins that apply to the version in use.
How we support
- We support rule changes and version upgrades under an ongoing retainer when the organization needs continuing help.
- We can run recurring security testing of agent behavior, including prompt injection scenarios, as a retained service.
- We keep the documentation current as Kiro's sandbox requirements and managed settings change.

