Skip to content

Measure Anthropic's sandbox runtime (srt) on macOS - #46

Merged
binary-knight merged 3 commits into
mainfrom
srt-measurements
Nov 8, 2026
Merged

binary-knight merged 3 commits into
mainfrom
srt-measurements

Conversation

@binary-knight

Copy link
Copy Markdown
Owner

Adds srt 0.0.81 to macos-measure.yml and records four configurations on a GitHub-hosted macOS machine with probe 0.7.0.

srt settings Score Project config writable
none 38 none, the working directory is read-only
allowWrite ["."] 53 .claude/settings.json, .claude/settings.local.json, .codex/config.toml, .agents
allowWrite ["."] with denyWrite naming the two Claude Code files 53 .codex/config.toml, .agents
denyRead ["~/"], allowRead ["."], allowWrite ["."] 38 as allowWrite ["."], with ~/.gitconfig unreadable

The network was contained in every run, and .mcp.json and .git/hooks refused writes.

docs/MEASUREMENTS.md records this as documented behavior: srt blocks a fixed list of names inside an allowed write path as defense in depth, Claude Code's settings files are not on it, and the configured denyWrite is the boundary. Claude Code adds those files to its own policy.

Run: https://github.com/binary-knight/agentsec-pack/actions/runs/42345748324

Tested: 419 passed and 13 skipped locally, where some tests skip without network access.

🤖 Generated with Claude Code

binary-knight and others added 3 commits November 7, 2026 05:02
Adds srt 0.0.81 to macos-measure.yml in four configurations: no settings,
allowWrite ["."], the same with denyWrite naming Claude Code's project
settings files, and denyRead ["~/"].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Four configurations of srt 0.0.81 on a GitHub-hosted macOS machine. With
allowWrite ["."] Claude Code's project settings files are writable, as the
runtime's documented deny list implies, and denyWrite protects them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@binary-knight
binary-knight merged commit ca62c27 into main Nov 8, 2026
18 checks passed
@binary-knight
binary-knight deleted the srt-measurements branch November 8, 2026 20:31
@binary-knight binary-knight mentioned this pull request Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant