> 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?
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.