Skip to content

fix(sandbox): protect runtime settings from writes - #493

Open
tgolob wants to merge 1 commit into
anthropic-experimental:mainfrom
tgolob:fix/protect-srt-settings
Open

fix(sandbox): protect runtime settings from writes#493
tgolob wants to merge 1 commit into
anthropic-experimental:mainfrom
tgolob:fix/protect-srt-settings

Conversation

@tgolob

@tgolob tgolob commented Aug 22, 2026

Copy link
Copy Markdown

Closes #275

Summary

  • add .srt-settings.json to the mandatory write-protected files
  • extend the mandatory-deny integration coverage and document the protection

This prevents a sandboxed process from modifying the runtime settings file and weakening the policy used for later invocations.

Validation

  • bun test test/sandbox/mandatory-deny-paths.test.ts (28 passed, 15 Linux-only skipped)
  • npm run typecheck
  • npm run lint:check
  • npm run build
  • Prettier check for changed TypeScript files
  • git diff --check

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.

Feature Request: Add .srt-settings.json to DANGEROUS_FILES

1 participant