logoalt Hacker News

FooBarWidget • today at 7:05 PM • 1 reply • view on HN

Supply chain attack would be a plausible vector. If you have the gh CLI installed then with that token you can do everything.

I wish PATs can be made even more fine grained through. "contents" still give too much permissions.


Replies

anon7000 • today at 7:42 PM

Yeah, GitHub’s really behind on fine grained access. GH CLI default auth should not allow nearly as much access as it does