3 ms·
So, I get really confused by Github permissions model; I know that sometimes I am forced to give something access to all of my repos when I really only want it
by jrochkind1 5y ago
So, I get really confused by Github permissions model; I know that sometimes I am forced to give something access to all of my repos when I really only want it to act on one.
Does this affect the leaked GITHUB_TOKEN, what would that token give a posessor access to, what's the scope? Just one repo, or many?
If the token gives access to, say, every repo that the user who authorized it has access to, this makes the scope of any vulnerability even worse. And vulnerabilities, like bugs, will always happen.
I've been wondering for a while how github gets away with such poor scoping of it's auth without more outcry/demand. And figured that maybe it would take an exersized vulnerability to bring attention to it.
- spooneybarger 5y agoGITHUB_TOKEN is scoped to a single repo.