BenchSmoke

Home › Issues › Issue #003

Issue #003 ·

BenchSmoke #003: Codewhale's sandbox, tested with fake secrets

Nov 3, 2026 · AI tools, actually tested. Every Tuesday and Thursday.

BenchSmoke, issue #003, Nov 3, 2026. AI tools, actually tested. Every Tuesday and Thursday.

This issue is one tool, tested the same way as Garuda in issue #2. We ran a fake-secrets script through Codewhale, logged what it sent to the model, checked approvals, receipts and undo, then gave it our to-do task. We tested 0.10.1 on Oct 23 and re-ran the sandbox, masking and undo checks on 0.10.2 on Oct 26. On Nov 2, 0.10.2 was still the newest release. With a small local model, read the to-do results as "Codewhale plus a 9B model." See how we test.

The Short Version

  • Best find: Secret masking. 8 of 10 realistic fake keys were replaced with [redacted] before they reached the model, on both versions. And 0.10.2 makes /undo one step, no trust mode needed.
  • Biggest letdown: In 0.10.2, a sandboxed shell command could read 10 of our 11 fake credential files, including ~/.aws and .env. Only ~/.ssh was blocked. The README still says it can't read ~/.aws or .env. And exec --auto on its own runs with no sandbox at all.
  • Try this: If you script any coding agent, look up what its "auto" flag really turns off. For Codewhale, add --sandbox workspace-write.

Tested This Issue

Task: three tests. (1) A script that tries to read secrets, write files and reach the internet from inside the agent's sandbox, with a proxy logging every request to the model. (2) Approvals, /receipts and /undo in the terminal app. (3) Our standard AI coding task: a small to-do app with add, complete, delete and saved state, run locally.

Codewhale 0.10.1 and 0.10.2: Watch it

Verdict: Watch it
  • What it does: A free, open-source (MIT) coding agent for your terminal. The README says it works with more than 40 providers, uses DeepSeek V4.1 Flash by default, and runs commands in an OS sandbox in its Ask and Auto-Review modes (bubblewrap on Linux). 0.10.1 came out Oct 7, 2026, and 0.10.2 on Oct 24, per npm.
  • What we built: The three tests above, on the Linux release files (0.10.1, 0.10.2), checksums verified. Model: Ornith 1.0 9B on our own CPU through llama.cpp, same as issue #2. No account, no API key, $0. We turned telemetry off first (the README says it is on by default). All tests on 0.10.1 on Oct 23, 2026; on Oct 26 we re-ran the sandbox script (3 runs), masking, --auto alone and the Ask-mode receipts and undo check on 0.10.2.

What we tested, and what we didn't. We tested the Linux sandbox, Full Access mode, secret masking, Ask-mode approvals, receipts, undo and the to-do task. We did not re-run the to-do task on 0.10.2, or test macOS, Windows (no OS sandbox yet, per the README), the default DeepSeek model or any hosted model, MCP servers, sub-agents or prompt injection. Our probe is not an escape attempt, so it can't prove the sandbox is safe. Per the 0.10.2 release notes (not tested by us), its file tools now refuse .env files, and it holds a curl or wget command that uploads a credential.

What worked (what we saw):

  • In both versions, the sandbox blocked ~/.ssh, the internet, other servers on the machine, and writes to the home folder or a folder next to the project. The command saw 6 processes instead of 205, and 0 secret-looking environment variables instead of 3. Same in 3 runs on each version.
  • A background server started inside the sandbox was gone after Codewhale exited, in all runs.
  • Masking: of our 10 fake keys in real formats, the GitHub, AWS, OpenAI-style, Anthropic-style, Slack and Stripe-style keys and an SSH private key were all masked before the model saw them. Same on 0.10.2.
  • In Ask mode, the shell command waited for our approval. /receipts listed every file and command correctly, including which command we approved. Same on 0.10.2.
  • Undo, 0.10.2: /undo took back the whole request in one step, with no trust mode, including the file the approved shell command made. In 0.10.1 it refused until we ran /trust on. One run.
Table, the same script with fake secret files run four ways: in a plain shell, inside Codewhale 0.10.1's sandbox (Oct 23, 2026), inside Codewhale 0.10.2's sandbox (Oct 26, 2026), and with codewhale exec --auto only on 0.10.2. Plain shell: everything readable, all writes allowed, internet and localhost reached, 205 processes and 3 secret-looking environment variables visible. 0.10.1 sandbox: ~/.ssh, ~/.aws, ~/.kube, .netrc, .npmrc, git, GitHub CLI and Docker logins blocked; 3 .env files and ~/notes-private.txt readable. 0.10.2 sandbox: only ~/.ssh blocked; ~/.aws, ~/.kube, .netrc, .npmrc, git, GitHub CLI and Docker logins, 3 .env files and ~/notes-private.txt readable. Both sandboxes: writes inside the project, to .git/hooks and .git/config, and to /tmp allowed; home and sibling folder writes blocked; internet and localhost blocked; 6 processes and 0 secret-looking environment variables visible. --auto only: everything readable and writable, internet and localhost reached, 179 processes and 0 secret-looking environment variables visible.
The same script in a plain shell, inside the 0.10.1 and 0.10.2 sandboxes, and with --auto alone. Built from our saved probe logs; the secrets are fake.
List of 10 fake keys in real formats that a sandboxed command printed, and whether each reached the model, logged by our proxy; same result on 0.10.1 (Oct 23) and 0.10.2 (Oct 26, 2026). Replaced with [redacted]: GitHub token, AWS key ID, AWS secret key, OpenAI-style key, Anthropic-style key, Slack bot token, Stripe-style key, SSH private key body. Sent as is: a JWT and the password in a postgres URL. 8 of 10 masked; all 10 still appear in Codewhale's own local output.
What our logging proxy saw Codewhale send to the model. Built from our saved logs; the keys are fake.
Terminal capture from our saved screens, Codewhale 0.10.2 in Ask mode after one request, Oct 26, 2026. /receipts: changed 2 files, 1 outside file tools, ran 1 command, 1 approved by you, 1 ran without asking under Ask; 1. wrote hello.txt; 2. ran touch made-by-shell.txt, approved by you; 3. changed outside file tools, created made-by-shell.txt.
Codewhale 0.10.2, Oct 26. From our saved terminal screens, some text trimmed.
Terminal capture from our saved screens, same Codewhale 0.10.2 session with no trust mode: /undo undid the request, removed hello.txt and made-by-shell.txt, and removed the request and its reply from the conversation.
Same session, no /trust on. On 0.10.1 this /undo refused: "Refusing to undo workspace files outside trusted mode." From our saved terminal screens, some text trimmed.

What didn't (what we saw):

  • Credential files, 0.10.1: the sandbox blocked 8 of 11 fake credential files, but not the three .env files (one in the home folder, two in the project).
  • Credential files, 0.10.2: it blocked only ~/.ssh. A plain cat inside the sandbox read ~/.aws, ~/.kube, ~/.netrc, ~/.npmrc, ~/.git-credentials, GitHub CLI and Docker logins, and the three .env files. The 0.10.2 changelog says this is on purpose, so tools like gh, aws, npm, docker and git can sign in. But the README still says shell commands "cannot read credential stores such as ~/.ssh, ~/.aws and .env files."
  • Masking hid the .env values. Our fake values in .netrc, .npmrc, git, GitHub CLI and Docker files reached the model unmasked on 0.10.2. They are short test strings, not real key formats, so a real token there might or might not be caught.
  • Masking is pattern-based. A JWT-style token, the password inside a postgres:// URL and a plain secret in a notes file reached the model unmasked.
  • codewhale exec --auto alone means Full Access: every fake secret readable, writes anywhere, internet on. Same on 0.10.2. The README says so, but it's easy to get wrong in a script.
  • The sandbox let a command write .git/hooks/pre-commit and .git/config. Garuda blocked both in issue #2. Codewhale's docs say this is by design. Same on 0.10.2. Its changelog lists a fix, not yet released on Nov 2, that makes both read-only in the sandbox. We didn't test whether a planted hook would run.
  • A file written to /tmp inside the sandbox showed up in the machine's real /tmp. Same on 0.10.2.
  • In Ask mode, file edits in your project happen with no question (documented). Same on 0.10.2.
  • Every run exited with code 0, even the to-do runs that didn't work.

Price (checked Nov 2, 2026): Free and MIT licensed, no account needed, per the README. A hosted model costs extra; we used a local one. The README has a sponsored OrcaRouter banner and says Codewhale earns a referral fee from it. We have no link to either and didn't use OrcaRouter.

Verdict (our opinion): Watch it, with medium confidence on the safety features and low confidence on everyday coding. Masking, receipts and the network and write limits held on both versions, and 0.10.2 fixed undo. But 0.10.2's sandbox lets commands read most credential files, by design, while the README says it blocks ~/.aws and .env, and --auto defaults to no sandbox. Worth a look for a free terminal agent with any model. For now, don't count on its sandbox to keep your logins away from the commands it runs.

Disclosure: The maker did not give us free access. We used the public releases and a local model.

Vibe Coding Corner

This issue's build: A small to-do app, built by sending one prompt to Codewhale three times, headless and sandboxed.

  • Tool(s) used: Codewhale 0.10.1 with exec --auto --sandbox workspace-write, local Ornith 1.0 9B model. Not re-run on 0.10.2.
  • Prompt (exact, same as issues #1 and #2):
    Build a small to-do app in this directory. It must let me add tasks, mark tasks complete, and delete tasks, and it must save state so tasks are still there after a restart. It must run locally with a single command (tell me the command). Keep it simple, no paid services or API keys.
  • Time taken: 503 seconds (run 1), 1,349 seconds (run 2) and 377 seconds (run 3), whole command. Most of that is our slow CPU model.
Bar chart of Codewhale with a local 9B model on the same to-do prompt, Oct 23, 2026, sandboxed, no retries. Run 1: 503 seconds, a working command-line app. Run 2: 1,349 seconds, the page loads but Add is broken. Run 3: 377 seconds, fails to start. All 3 runs exited with code 0.
Wall-clock time per run on our CPU-only test machine, from our test notes. We checked each result ourselves.
  • What it made: Run 1: a command-line app, todo.py (128 lines), which it tested itself. Run 2: a Python web app, todo.py (133 lines), on port 8765. Run 3: a 49-line server.js needing Express and SQLite packages it never installed, then "What can I help you with today?" and it stopped.
  • Where it broke: Run 2's page loads, but Add does nothing: the page's JavaScript calls a function that only exists in the Python code. The model checked the API, not the page. Run 3 fails at start with "Cannot find module 'express'". We didn't retry any run.
  • Result: Run 1 passed our checks for add, complete, delete and saved state. Flaws: it accepts an empty task, and the "single command" it gave only prints help. 1 of 3 runs worked, the same as Garuda with this model.
  • Takeaway: Check the result yourself. All 3 runs ended with exit code 0 and a "done" message.

Agent Watch

Claude Code keeps patching gaps in its sandbox

  • What changed: The Claude Code changelog for 2.1.309 (Oct 22, 2026) lists "Fixed sandboxed Bash commands on macOS and Linux running the shell's startup files outside the sandbox before each command," plus a fix for sandboxed commands changing the MCP config file passed with --mcp-config. 2.1.314 (Oct 29) lists "Fixed sandbox protections not applying to a worktree entered by claude -p --resume or --continue." The newest, 2.1.317 (Nov 2), lists no new sandbox fixes.
  • Should you care? Yes, if you use Claude Code's sandbox. Update to 2.1.314 or later. On Nov 3, npm's "stable" tag pointed to 2.1.311, which has the startup-files fix but not the worktree fix, so check your version.
  • Reporting news only. We have not tested any of these Claude Code versions.

Quick Hits

News, not tests. We haven't used any of these.

  • VS Code 1.144: Out Oct 28. "Assisted permissions" is now generally available for Copilot sessions: an AI risk check approves low-risk tool calls on its own and still asks you about the rest. An experimental working set lets you keep or undo agent edits, but not terminal changes. VS Code release notes
  • Ollama v0.40.13: Out Oct 28. Liquid AI's LFM3 small models, added for Apple silicon in v0.40.12, now run on Linux and Windows too, including a 1.7B text model with a 256K-token context window. Ollama release
  • DeepSeek model names: Use deepseek-flash, now served by DeepSeek-V4.1-Flash-1017. The old deepseek-v4-flash names still work, but those models are retired. DeepSeek API docs
  • Traefik MCP Server: A read-only MCP server for the Traefik gateway, generally available Oct 22. It needs a licensed Traefik Hub token. Traefik announcement
  • Copilot Autofix for Azure DevOps: Now "runs on an agentic foundation" and can fix dependency alerts. Microsoft said Oct 21 it rolls out over two to three weeks, public preview in November; fixes use AI credits. Azure DevOps blog

Reader Question

We don't have a reader question for this issue yet.

Your turn: What's one AI tool you want us to test, or one that wasted your time? Hit reply. We read every reply, and reader picks go to the top of our test list.

Reply with a tool you want tested


Read how we test. Affiliate links are labeled and only go to tools rated "Use it." This issue has no affiliate links and no sponsor. Sponsors never affect verdicts. BenchSmoke is researched and drafted by AI agents and approved by a human before sending.

Know someone building with AI? Forward this issue or send them benchsmoke.com.

Back to top

Get the next issue in your inbox.

AI tools, actually tested. Every Tuesday and Thursday. Free, with a clear verdict: Use it, Watch it, or Skip it.

Free, every Tuesday and Thursday. Unsubscribe anytime. Or email hello@benchsmoke.com.