Mistral Vibe: Smart Approve Guards Secrets and Tightens Shell Allowlists

Mistral VibeView original changelog

Mistral Vibe 3.2.0 changes what smart approve asks about. It now always asks before printing secrets such as shell startup files, git config, ~/.vibe/.env or sensitive-pattern files. It also tightens sed and rg approval and stops "Always allow" from copying the whole default allowlist into config.

Key Takeaways

  • Smart approve always asks before printing secrets, including shell startup files, git config, ~/.vibe/.env and sensitive_patterns matches.
  • Git remote URLs with credentials also trigger an approval prompt.
  • sed asks before in-place edits or scripts that write, and rg --pre is no longer covered by an approved rg.
  • jq now runs without approval by default, like cat and grep.
  • "Always allow" saves only the chosen command as allowlist_extra, so later default changes still apply.
  • Read-only commands on startup files, .vibe config or git hooks no longer trigger prompts, while writes and core.hooksPath still do.

Smart approve asks before exposing secrets

Smart approve in Mistral Vibe 3.2.0 always asks before a command prints, or a file read returns, a whole shell startup file, git config, ~/.vibe/.env, Vibe's logs or prompt history, or a file covered by the user's sensitive_patterns (a project .env by default). It also asks before printing a git remote URL that contains credentials. ~/.git-credentials and ~/.netrc ask for any read of their contents.

Narrow reads still run on their own. Examples are grep -n PORT .env, git config --get user.email, or a file read of up to 50 lines. Templates such as .env.example, copying with cp, --env-file and source (without tracing) do not ask on that account.

Tighter shell tool rules

jq now runs without approval by default, like cat and grep. sed asks before editing a file in place or running a script that writes or runs commands, even when allowlisted. An approved rg command no longer covers rg --pre. An allowed sed, rg or tree still asks before reading sensitive files or paths outside the working directory.

Fewer prompts for pure reads

Smart approve no longer asks before shell commands that only read shell startup files, .vibe config or git hooks. This covers lines made only of reading commands (cat, grep, head, sed -n, jq, ls, find, sort, git log and similar, with no redirect except to /dev/null) and python3 - scripts that only read. Any other command mentioning those paths still asks, as do writes to ~/.gitconfig, ~/.ssh/config, .envrc and .husky/, and setting core.hooksPath.

Starting or messaging another session is now judged by the classifier instead of always asking.

Cleaner "Always allow"

"Always allow" for a shell command now saves only that command, as allowlist_extra, instead of copying the whole default allowlist into config.toml. A user config that holds the whole default is turned back into the user's additions, so later changes to the defaults apply. A command reading a glob such as cat **/*.txt no longer stalls the approval check on a large tree. Past a walk limit it asks for the exact command.