Skip to content

Security Configuration ​

Recommended security settings for Treasure Work, especially when rolling out to non-technical users.

Permission Mode ​

Permission modes control how much autonomy the AI has. Switch modes from the permission mode selector in the chat input bar, or press Shift+Tab to cycle through them.

ModeBehavior
Auto (default)A reviewer model checks each action that your allow rules don't already cover, along with the recent transcript, and either runs it or blocks it. A blocked action returns to the AI, which tries another approach.
Auto ApproveThe AI can execute most actions without prompting. Use only when you're comfortable reviewing the chat stream.
PlanThe AI can only read files and run read-only commands. All other actions require your approval.

Auto mode trust rules tell the reviewer which repositories, tools, and Treasure Data accounts belong to you, so everyday work is not blocked. Treasure Work fills in some rules automatically. Review or edit them in Settings → Permissions → Auto mode trust.

Blocking Direct HTTP Tools ​

Treasure Work's AI assistant can execute shell commands, including general-purpose HTTP clients. These bypass tdx guardrails such as working directory restrictions and permission policies. Block HTTP clients with deny rules to ensure all Treasure AI operations go through tdx.

Commands to Block ​

CommandDescription
curlThe most common HTTP client on macOS and Linux
wgetAlternative HTTP client, common on Linux
httpHTTPie — a user-friendly HTTP client
httpieAlternative invocation of HTTPie

Configuring Deny Rules ​

Open Settings → Permissions and add the following deny rules:

Bash(curl *)
Bash(wget *)
Bash(http *)
Bash(httpie *)

Each rule uses the format Bash(glob), where the glob matches against the command string. curl * matches any command starting with curl followed by arguments.

What Happens When a Command Is Blocked ​

When the AI attempts to run a denied command, Treasure Work blocks it and returns a "Denied by permission rule" message to the AI. The command is not executed.