What a permission decision covers
OWASP explains that an LLM agent can perform actions in other systems through tools, skills, or plugins. The decision about which plugin the agent calls can also be left to the model. The vulnerability OWASP calls excessive agency is the possibility of harmful actions being performed as a result of unexpected, ambiguous, or altered model outputs.
OWASP lists three possible causes of this vulnerability: excessive functionality, excessive permissions, and excessive autonomy. For example, a plugin used only for reading that also includes modification and deletion functions is an example of excessive functionality. Performing a high-impact action without independent verification or approval is an example related to autonomy.
OWASP recommends using human approval for high-impact actions and validating requests to other systems according to those systems' security rules. It also states that authorization decisions should not be left solely to the model. Logging and monitoring activities can limit the extent of the damage; OWASP does not list them among the measures that prevent the excessive agency vulnerability.
Chainabit CLI permission modes
In Chainabit CLI, the permission mode manages approvals. Folder trust and the operating system sandbox determine which local tools can be used. Selecting a mode does not grant access to another account or workspace. The same mode list opens through Shift+Tab, /mode, /permissions, and /settings.
In Plan mode, Chao plans first; local tools only read files. In Ask before edits mode, local tools can also read files, and each change requires the user's approval. If there is no saved preference, Ask before edits applies.
Auto approve can allow Chao to edit files in trusted folders and run routine programs inside the sandbox without asking. Security and permission rules still apply in this mode. Bypass All skips ordinary local tool approvals in the current session and the relevant trusted folder; deletion operations still require approval.
In the chat, Shift+Tab cycles between Plan, Ask before edits, and Auto approve. It does not enable Bypass All. /mode plan, /mode ask, and /mode auto switch to the corresponding mode. /mode bypass first requests written confirmation for Bypass All.
According to Chainabit, in Plan, Ask before edits, and Auto approve modes, deletion operations, running interpreters, and changes to configurations executed by other tools are not performed without asking. A program's network access also requires approval. There is a separate rule for Auto approve on macOS: programs can access specified developer registries and configured addresses through a local filter; the filter does not access private or local addresses.
Permission panel and file changes
In Chainabit, /permissions shows the capabilities Chao can request in groups. These groups include files, program execution, network, cloud workspace, and agents and extensions. Each row shows the current decision and the layer that made it. If the decision cannot be changed, the row is marked locked and the reason is stated.
Cloud rows may have a workspace rule or, if one exists, a session rule. Only workspace owners and administrators can change workspace rules. According to Chainabit, these rules do not override authorization or the tool's own security boundaries. A change that relaxes a rule is shown first and requires approval; tightening a rule does not require approval.
When Chao wants to change a file, the approval card shows the difference between the current file and the file after the change. The card includes added and removed lines and line numbers. When approval is given, the change shown is applied. If the difference cannot be shown because, for example, the file cannot be read or is not plain text, the card states the reason and still asks for approval.
For a file change, Deny, Allow once, or Always allow this file can be selected. The last option covers only that file in the relevant folder. Editing the same file later does not prompt again; approval continues to be requested for other files, deletion operations, and other types of action.
Folder trust and local tools
Chainabit CLI's local tools work only in a trusted folder and follow the selected permission mode. Programs run inside the operating system sandbox. Chainabit verifies that the sandbox is active in the running process; local programs are unavailable on systems where the sandbox is unavailable. When local tools are off, the chat states why.