Why is opencode github app requesting permission to read secrets? #1476

Closed
opened 2026-02-16 17:31:09 -05:00 by yindo · 2 comments
Owner

Originally created by @joshuacc on GitHub (Aug 24, 2025).

Originally assigned to: @fwang on GitHub.

Does the app really need these permissions?

This sort of request makes my spidey sense go off.

image

Originally created by @joshuacc on GitHub (Aug 24, 2025). Originally assigned to: @fwang on GitHub. Does the app really need these permissions? This sort of request makes my spidey sense go off. ![image](https://github.com/user-attachments/assets/0c1d8236-1eb1-4ed2-bcaa-8ca635cbd496)
yindo closed this issue 2026-02-16 17:31:09 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 24, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #1687: Similar security concerns about the opencode GitHub app and avoiding its use due to security considerations

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Aug 24, 2025): This issue might be a duplicate of existing issues. Please check: - #1687: Similar security concerns about the opencode GitHub app and avoiding its use due to security considerations Feel free to ignore if none of these address your specific case.
Author
Owner

@fwang commented on GitHub (Aug 24, 2025):

We are making the opencode github install command automatically add the model provider's api key to GitHub secrets. Currently this had to be done manually.

Despite the permission says read and write, GitHub api actually never reveals the secret values.

@fwang commented on GitHub (Aug 24, 2025): We are making the `opencode github install` command automatically add the model provider's api key to GitHub secrets. Currently this had to be done manually. Despite the permission says `read and write`, GitHub api actually never reveals the secret values.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1476