logoalt Hacker News

sudomitch • today at 7:04 PM • 1 reply • view on HN

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


Replies

FooBarWidget • today at 7:05 PM

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.

➕ show 1 reply