Skip to content

Let safehouse agents use mcporter's vault - #68

Merged
technicalpickles merged 2 commits into
mainfrom
safehouse-mcporter
Oct 16, 2026
Merged

technicalpickles merged 2 commits into
mainfrom
safehouse-mcporter

Conversation

@technicalpickles

Copy link
Copy Markdown
Owner

Summary

  • Scripts that talk to MCP servers through mcporter died under safe with EPERM on ~/.mcporter, which is where mcporter keeps its OAuth vault, schema caches and locks. common.sb now grants it read/write.
  • mcporter.json and mcporter.jsonc stay write-denied. They name stdio server commands, so a sandboxed agent that could edit them could get code run unsandboxed the next time mcporter runs outside.
  • ADR 0060's list of what common.sb covers picks up the new grant.

Test plan

Ran safehouse directly with this branch's common.sb and role-work.sb: reading credentials.json and writing a scratch file in ~/.mcporter work, writing mcporter.json or creating mcporter.jsonc fails with Operation not permitted, and ~/.claude.json is still denied.

🤖 Generated with Claude Code

@technicalpickles
technicalpickles merged commit a7c2c6b into main Oct 16, 2026
1 check passed
@technicalpickles
technicalpickles deleted the safehouse-mcporter branch October 16, 2026 18:47
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