Re:Dependency Confusion: How I Hacked Into Apple, Microsoft ...
by tomashubelbauer on Wednesday February 10, 2021 @05:34AM
(#26087557)
Yeah, but at least with PATs (not sure about other token types), you can't scope them to a particular repo, so whenever you need to allow something to even see a private repo or write to a public repo, the token you supply to allow that can do that for all repos and that alone is potentially really destructive. I am not sure if there is a good reason for why PATs can't be scoped to a repository, because if they were allowed to be, it would do a lot for security I think.
[ Parent
| on HN ]
Re:Dependency Confusion: How I Hacked Into Apple, Microsoft ...
by RyJones on Wednesday February 10, 2021 @05:39AM
(#26087582)
Worse: you can’t even scope it to an org, and some integration points are only available to org owners!
GitHub is terrible.
Re:Dependency Confusion: How I Hacked Into Apple, Microsoft ...
by seg_lol on Wednesday February 10, 2021 @06:38AM
(#26087957)
That explains why at a place I worked we had multiple github orgs for different subteams, and/or they were really cheap ... yeah confused now.
Re:Dependency Confusion: How I Hacked Into Apple, Microsoft ...
by RyJones on Wednesday February 10, 2021 @06:43AM
(#26087987)
We also have multiple orgs, but we hit the requirement that you only have one bot account. It would be super nice if GitHub allowed much tighter scoping for PATs.
I don’t know how many GitHub orgs the Linux Foundation has, but... hundreds? Having one bit account with wide permissions is a non starter