Permission actions
Every permission rule resolves to one of three actions:| Action | Behavior |
|---|---|
"allow" | CyberStrike uses the tool without asking |
"ask" | CyberStrike pauses and asks for confirmation each time |
"deny" | CyberStrike refuses to use the tool |
Permission targets
Thepermission object maps tool names to actions. The following targets are recognized:
| Target | Accepts patterns | Description |
|---|---|---|
read | Yes | Read files from disk |
edit | Yes | Write or modify files |
glob | Yes | Search file paths using glob patterns |
grep | Yes | Search file contents |
list | Yes | List directory contents |
bash | Yes | Execute shell commands |
task | Yes | Spawn sub-tasks or agents |
external_directory | Yes | Access paths outside the project directory |
lsp | Yes | Use language server protocol features |
skill | Yes | Load and execute skills |
todowrite | No | Create or update todo items |
todoread | No | Read todo items |
report_vulnerability | No | Report a vulnerability finding |
question | No | Ask clarifying questions |
webfetch | No | Fetch content from a URL |
websearch | No | Perform a web search |
codesearch | No | Search code repositories |
doom_loop | No | Re-enter the agent loop after completing |
Basic syntax
Set a tool to a single action:cyberstrike.json
"*":
cyberstrike.json
Pattern-based rules
For tools that accept patterns (read, edit, glob, grep, list, bash, external_directory, lsp, skill, task), you can provide an object mapping glob patterns to actions instead of a single action string.
cyberstrike.json
Global vs. agent-specific permissions
Permissions set at the top level ofcyberstrike.json apply to all agents. You can also set permissions inside an individual agent’s config block to override the global rules for that agent only.
cyberstrike.json
explore agent denies bash entirely and additionally allows webfetch without prompting.
Common patterns
Allow everything (trust all tools):cyberstrike.json
cyberstrike.json
cyberstrike.json
cyberstrike.json
Environment variable override
You can supply or override permissions without modifying any config file by setting theCYBERSTRIKE_PERMISSION environment variable to a JSON-encoded permission object: