Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(sandbox,webfetch): narrow denial heuristic; document inert HTML parse

4 months ago

590dc5b
Authored
mweinbach6/9/2026, 6:45:04 PM
- denied.ts: add docker-daemon / npm EACCES / sudo-terminal markers to the
  non-sandbox failure list so ordinary permission errors no longer trigger a
  spurious "retry with full access?" escalation prompt.
- webFetch: document the JSDOM security invariant (no runScripts/resources) so
  nobody enables script execution or subresource loading on untrusted HTML.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Parent055a0cf

3 files changed
  • src/platform/sandbox/denied.ts+7−0
  • src/tools/webFetch.ts+5−0
  • test/platform/sandbox.test.ts+25−0