Repository navigation
Conversation
…eir declared effects when Auto mode is off.
…iew and a security check with fixes.
…ge and approval cards.
… security gate never has to guess.
…World annotations.
…nt command, and serve the session token to browsers only.
…t Strict, confine their writes to the workspace.
… address of the agent's web requests.
…secrets are kept out of tools.
…'s known secret values in every log line.
…rs by unique username with a required mention at higher levels.
…d while keeping chats, memory and the audit log.
… browser interface.
…e costs microseconds per action.
…agent guidance for refused actions.
…unattended status carry over.
…ens into all six other languages.
…so protected settings.json is never needed.
…evel redacts logs.
… while TLS still verifies the host name.
…s may reach the agent.
… at Enhanced and Strict.
…, web requests, the inbox and Discord.
…hecks, in CI on Linux and Windows.
…sed command, at Enhanced and Strict.
… under strict channel identity.
…d package version at each start.
…ragraphs or references to earlier versions.
…ction, the audit log and Discord owner matching by ID always on, and remove them from the Security settings.
…stem credential protection in the file tools, per-command session approvals and visible hidden characters on approval cards.
…ication for the programs CraftBot downloads.
…of chat-template tokens from outside content.
…n from outside content out of the prompt until the user trusts them in the Security check.
… off or a reviewer model with it on, and refuses risky environment overrides.
…f schedule prompts when created and run, and of memory files when the agent writes them.
…from opening private addresses, including redirects and page-triggered navigations.
…d all languages, the risky-command reason on approval cards, and document them.
…and cut the file guard's cost per call by reusing resolved folders.
…splay check stays green.
…y checks, keep long test ids short, read the home folder from USERPROFILE in tests, and recognise Windows home paths in the risky-command rules.
…ckage loaded by an earlier test cannot hide the test's settings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why?
Hardens CraftBot security through configuration. CraftBot reads email, web pages and chat, then acts with the user's shell, files and accounts, so one planted instruction could run commands, leak keys or message people. This adds an action gate, modelled on OpenClaw and Hermes Agent, that judges every action by what it declares it does. Some protections are always on: destructive commands are refused, outside content is marked as data, secrets are masked in logs, there is a tamper-evident audit log, and Discord owners are matched by user ID. Opt-in protections:
.envfiles away from the agent's tools;The opt-in protections are off by default, so existing users keep today's behaviour and speed unless they raise the level. The branch also fixes the MCP tool-name code execution issue (#540).