Skip to content

feat(gh): refuse agent writes to repo and org settings routes - #7102

Merged
dan-petty merged 1 commit into
mainfrom
feat/5316-refuse-agent-gh-api-writes
Nov 25, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/5316-refuse-agent-gh-api-writes

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Agents share the owner GitHub token and could otherwise send mutating requests to repository settings, rulesets, secrets, organization settings, and repository transfer endpoints through devops gh api.

Closes #5316

Change: openspec/changes/archive/2026-11-25-5316-refuse-agent-gh-api-writes/

@dan-petty dan-petty added type/feature Type feature: a new function scope/gh The devops gh commands labels Nov 25, 2026
Agents share the owner GitHub token and could otherwise send mutating requests to repository settings, rulesets, secrets, organization settings, and repository transfer endpoints through devops gh api.

Closes #5316

Change: `openspec/changes/archive/2026-11-25-5316-refuse-agent-gh-api-writes/`
@dan-petty
dan-petty force-pushed the feat/5316-refuse-agent-gh-api-writes branch from bf88788 to 1b50641 Compare November 25, 2026 06:28
@dan-petty
dan-petty marked this pull request as ready for review November 25, 2026 06:40
@dan-petty
dan-petty merged commit 2beb257 into main Nov 25, 2026
28 checks passed
@dan-petty
dan-petty deleted the feat/5316-refuse-agent-gh-api-writes branch November 25, 2026 06:46
dan-petty-release Bot added a commit that referenced this pull request Nov 25, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.218.0](v0.217.0...v0.218.0)
(2026-11-25)


### Features

* **gh:** refuse agent writes to repo and org settings routes
([#7102](#7102))
([2beb257](2beb257))


### Bug Fixes

* **ai:** read the status of a gateway error frame in chat_stream
([#7112](#7112))
([3734bc1](3734bc1))
* **security:** judge DS-0002 in harbor pytest Dockerfile
([#7109](#7109))
([ae8bc8b](ae8bc8b))
* **service:** decode job records in webhook issue caching
([#7111](#7111))
([e06d0b4](e06d0b4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/gh The devops gh commands type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(gh): refuse agent writes to repo and org settings routes

1 participant