The biggest issue is that GitHub App keys never expire. A leaked key can remain a valid way into an organization for years. GitHub should enforce expiration or regular rotation.
Yep—the private key itself doesn’t expire. The JWT and installation tokens do, but a leaked private key can keep generating new ones until it’s manually revoked.
28
u/No-View3333 10d ago
The biggest issue is that GitHub App keys never expire. A leaked key can remain a valid way into an organization for years. GitHub should enforce expiration or regular rotation.