Skip to content

Update sandbox-runtime README for srt 0.0.62-ltic.1 - #4

Merged
smolyn merged 1 commit into
mainfrom
srt-validate-readme-updates
Jun 30, 2026
Merged

smolyn merged 1 commit into
mainfrom
srt-validate-readme-updates

Conversation

@smolyn

@smolyn smolyn commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Validated both srt config files against the currently-installed patched fork (srt 0.0.62-ltic.1) and updated the README to match validated reality. No config-file changes — both .srt-claude-denyall.json and .srt-claude-allowall.json load clean and behave exactly as designed on the new srt.

The installed srt turned out to be newer than expected: it already includes the upstream credentials block, TLS-proxy hardening, *.local routing, and the !-fix. All claims validated TRUE; all functional tests passed.

README changes

  • Reframe the denyReadAlways / "why fork" rationale around globs. The old "allowRead unconditionally beats denyRead" claim is now false for literal paths: upstream #311 makes literal nested denies win, but glob denies are deliberately not re-emitted — so the fork's denyReadAlways is specifically the glob lever. Fixed in the intro, the denyReadAlways bullet, and Setup item 2.
  • enableWeakerNetworkIsolation is still required. Confirmed functionally: with it false, gh api fails the TLS handshake (x509: OSStatus -26276). The newer TLS-proxy hardening did not remove the need on macOS.
  • Document tlsTerminate.excludeDomains (#344) as the clean escape hatch for mTLS / cert-pinned hosts, instead of weakening isolation globally.
  • Document the native credentials masking block as an alternative/complement (equivalent to denyReadAlways for file denies on macOS; adds env-var masking; .strict() gotcha noted).
  • Known gotchas: non-secret .pem/.key files are blocked by the credential globs (deliberate — egress is allow-all), with workarounds; and *.local now routes through the proxy (#349).

Validation evidence

Phase 2 test Result
A both configs load ✅
B egress allow + gist deny ✅ 200 / 403 blocked-by-allowlist
C glob deny inside allowRead ✅ .env/test.pem EPERM
D literal denyRead nested (#311) ✅ EPERM
E OAuth dotfile readable ✅
F credentials deny + .strict() ✅ EPERM / unknown-key rejected
G unknown top-level stripped ✅
H enableWeakerNetworkIsolation for gh ✅ still required
I ! in wrapped cmd ✅
Keychain blocked (both) ✅

🤖 Generated with Claude Code

Validated both srt config files against the installed patched fork
(srt 0.0.62-ltic.1). Configs load clean and behave as designed — no
config changes needed. Updated the README to match validated reality:

- Reframe the denyReadAlways / "why fork" rationale around globs: PR
  #311 made literal nested denyRead beat allowRead upstream, but glob
  denies are deliberately not re-emitted, so the fork field is now
  specifically the glob lever.
- Note enableWeakerNetworkIsolation is still required (gh fails TLS
  with it off); TLS-proxy hardening did not remove the need.
- Document tlsTerminate.excludeDomains as the mTLS/cert-pinning escape
  hatch, and the native credentials masking block as an alternative.
- Add Known gotchas: non-secret .pem/.key files are blocked too, and
  *.local now routes through the proxy (#349).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@smolyn
smolyn merged commit e58e0d0 into main Jun 30, 2026
@smolyn
smolyn deleted the srt-validate-readme-updates branch June 30, 2026 20:06
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