Remix.run Logo
▲ sudomitch 4 hours ago

> an attacker gained access to an employee’s corporate GitHub account

I would have liked to see more information about how they believe the token was stolen.

What are the practical things security-conscious teams are doing to reduce the chance of GitHub tokens getting stolen in the first place? How does this tend to happen in practice?

▲FooBarWidget 4 hours ago | parent [-]

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.

▲anon7000 3 hours ago | parent [-]

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