### Summary `SandboxShellTool(ignore=[...])` refuses a command when a path written in the command matches an ignore pattern. It does not look at files a program finds by itself. `readonly=True` allows `grep` and `diff`, and with `-r` they open every file under a directory, so `grep -r KEY .` prints the contents of `.env`, `*.key` and `secrets/**` while `cat .env` is refused. The docs cover part
Vulnerability
CVE-2026-141554
GHSA
Refer to CVE-2026-141554 NVD advisory