Repository navigation
feat(skills): add agent-sandbox-and-permissions - #687
Open
cyberspace-cs wants to merge 1 commit into
Open
cyberspace-cs wants to merge 1 commit into
cyberspace-cs wants to merge 1 commit into
Conversation
Adds the runtime capability boundary skill for the agent itself: sandbox tier selection, least-privilege tool surface, credential and egress isolation, approval points at the boundary, an audit trail, and negative probes that prove the isolation holds. Why a new skill rather than an edit: - `security-and-hardening` secures the application the agent writes (OWASP, auth, input validation, dependency audits). It does not cover the runtime boundary around the agent process — filesystem reach, network egress, credential exposure, or the harness's approval surface. The new skill states that split explicitly under "When to Use". - No existing skill covers sandbox selection (Seatbelt, Landlock + seccomp, bubblewrap, container flags, microVM, WASM), repository-controlled execution paths (git hooks, install scripts, Makefile targets), or proving a boundary with negative probes. The catalog's threat model is untrusted text in the context window, which no current skill addresses. Also syncs the indexes that enumerate skills: README (counts, Review table row, project-structure counts), the `using-agent-skills` discovery flowchart and quick-reference table, `docs/getting-started.md` (lifecycle and context-aware loading), and the skill counts quoted in the adoption guide, Codex, Command Code, and comparison docs. Eval coverage: `evals/cases/agent-sandbox-and-permissions.json` ships four positive triggers, two negative triggers with declared owners, and one execution eval backed by a real fixture (`evals/fixtures/agent-sandbox-and-permissions/`).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new skill,
agent-sandbox-and-permissions, that draws runtime capability boundaries around coding agents — what the agent may run, where it may reach, and what it must ask permission for.Why
security-and-hardeningcovers vulnerabilities in your code. It does not cover code running next to you: an agent that executes install scripts, git hooks, and arbitrary commands on a developer machine with their credentials and network access. This skill fills that gap without overlapping the existing one.What changed
agent-sandbox-and-permissions(286 lines):using-agent-skillsrouting table, getting-started, adoption-guide, codex/commandcode/comparison indexes and counts.Verification
validate-skills: 26 skills, 0 errors, 0 warnings.run-evals: rank-1 100% (92/92), no collisions.Relationship to existing skills
Explicitly complementary to
security-and-hardening: that one secures the code you write; this one secures the agent that runs beside you. The routing table reflects this distinction.Checklist