Skip to content

expand allowed read operations - #326

Merged
stackptr merged 5 commits into
mainfrom
home/allow-gh
Mar 7, 2026
Merged

stackptr merged 5 commits into
mainfrom
home/allow-gh

Conversation

@stackptr

@stackptr stackptr commented Mar 7, 2026

Copy link
Copy Markdown
Owner

No description provided.

stackptr and others added 2 commits March 7, 2026 10:06
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stackptr stackptr changed the title allow gh read operations expand allowed read operations Mar 7, 2026
stackptr and others added 3 commits March 7, 2026 10:13
Add git (blame, remote, stash list, tag), graphite (log, ls, status),
general CLI tools (jq, diff, curl, dig, file, du, sort, uniq, cut, tr,
readlink, realpath, env, printenv, pwd, hostname, whoami, ping, nslookup),
and organize permissions into labeled groups.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- find: restrict to -name, -type, -path (no -exec)
- curl: require -s/--silent prefix
- nix: enumerate specific subcommands instead of wildcard
  (excludes nix run and nix shell)
- git remote: read-only (-v, show)
- git tag: read-only (-l, --list)
- Remove * --help * and * --version wildcards (arbitrary
  command execution via leading wildcard)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Rely on domain-scoped WebFetch and gh api instead.
curl can still be used with per-session approval.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stackptr
stackptr enabled auto-merge (squash) March 7, 2026 18:23
@stackptr
stackptr merged commit 4d7a158 into main Mar 7, 2026
4 checks passed
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