Mining session logs to build sandbox allowlists for coding agents
10/31/2026 — 10/31, 19:18·1 sources (all)·1 reports (all)
Key takeaways
- The post notes that Claude Code's /sandbox and Codex's workspace-write both default to deny, and a blank allowlist makes most developers swi…
Background & analysis
On 2026-10-31, DEV Community's AI section published a piece titled "Sandboxing Coding Agents: Generating Allowlists from Session Logs." The article notes that Claude Code's /sandbox and Codex's workspace-write both follow a deny-by-default design: refuse everything first, then allow whatever you list. The same mechanism appears in Anthropic's open-source sandbox-runtime and in nono, among others. Because the allowlist starts out empty, users cannot know up front which directories, websites, and commands their work actually requires. The author argues this is precisely why most people switch the sandbox off within an hour of turning it on: a deny-by-default sandbox poses a question no one can answer before the task begins, so the practical route is to turn it on, observe what breaks, and adjust from there. As an alternative, the author suggests reading session records stored under ~/.claude/projects or ~/.codex/sessions, extracting the directories, domains, and commands actually needed, and writing those into the allowlist as rules. For now this remains a single published proposal; whether any agent vendor has adopted the approach is not addressed in the available coverage.
AI-generated from 1 reports · updated 5 days ago
- Heat index
- 25
- All sources
- 1
- All reports
- 1
- First seen
- 5 days ago
Reports on this story headlines open the original
Claude Code's /sandbox and Codex's workspace-write deny everything by default, and the empty allowlist is why most people switch the sandbox off after an hour of broken commands. The suggested fix is to mine the session transcripts in ~/.claude/projects or ~/.codex/sessions for the folders, hosts and commands the agent actually needs, then write rules from that.
DEV Community · AIAI score 60
Other stories people are talking about
- Heat index 55Cost accounting methods and allocation logic for Agent-generated reports1 sources
- Heat index 840OpenAI ships Images 2.6 with GIF and SVG output15 sources
- Heat index 675OpenAI says its cyber model pipeline confirmed 1,724 Linux kernel flaws and generated 948 privilege-escalation exploits11 sources
- Heat index 642RisingOpenAI GPT-5.6 Brings Major Agentic and Computer Use Upgrades13 sources
- Heat index 633RisingCat Wu, product lead for Claude Code, joins OpenAI9 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

