Re:Claude 4 and GitHub MCP will leak your private GitHub rep...
by sam-cop-vimes on Tuesday May 27, 2025 @05:40AM
(#44105373)
This has happened to me. Can't find the exact combination of scopes required for the job to be done so you end up with the "f this" scenario you mentioned. And it is a constant source of background worry.
Re:Claude 4 and GitHub MCP will leak your private GitHub rep...
by ahmeni on Tuesday May 27, 2025 @07:24AM
(#44105838)
Don't forget the also fun classic "what you want to do is not possible with scoped tokens so enjoy your PAT". I think we're now at year 3 of PATs being technically deprecated but still absolutely required in some use cases.
Re:Claude 4 and GitHub MCP will leak your private GitHub rep...
by robertlagrant on Tuesday May 27, 2025 @04:33AM
(#44105018)
I agree, but that is the permissions boundary, not the LLM. Saying "ooh it's hard so things are fuzzy" just perpetuates the idea that you can create all-powerful API keys.
Re:Claude 4 and GitHub MCP will leak your private GitHub rep...
by weego on Tuesday May 27, 2025 @06:15AM
(#44105515)
I've definitely done this, but it's in a class of "the problem is between the keyboard and chair" 'exploits' that shouldn't be pinned on a particular tech or company.
Re:Claude 4 and GitHub MCP will leak your private GitHub rep...
by ljm on Tuesday May 27, 2025 @08:22AM
(#44106228)
It's the same as Apple telling people they're holding their iPhone wrong, though. Do you want to train millions of people to understand your new permissions setup, or do you want to make it as easy as possible to create tokens with minimal permissions by default?
People will take the path of least resistance when it comes to UX so at some point the company has to take accountability for its own design.
Cloudflare are on the right track with their permissions UX simply by offering templates for common use-cases.
It's one of those things where a token creation wizard would come in really handy.