99% of repository access tokens never expire
99% of repository access tokens lack expiration dates, posing significant security risks.
A report by BlueFlag Security reveals that 99% of repository access tokens never expire, leaving organizations vulnerable. Many developers and non-human identities, including AI coding agents, retain excessive permissions long after projects conclude. This oversight creates security blind spots, with compromised credentials potentially granting attackers access to critical code repositories.
AI summary of the linked source. Not reviewed by an editor. How this works
Run BlueFlag Security?
Get an email when a new story names BlueFlag Security, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonThe vast majority of repository access tokens are configured without expiration dates, meaning that credentials issued for short-term projects or to non-human identities like AI coding agents persist indefinitely. If any of these tokens are compromised, attackers gain long-term, potentially undetected access to critical source code repositories. This reflects a systemic failure in identity lifecycle management, where token issuance is not paired with a corresponding revocation or expiration policy. The risk is amplified by excessive permissions, meaning a single compromised token could expose far more than intended. Organizations must treat non-human identities with the same rigor as human user accounts.
What helps against this
How we list vendors- Privileged access management (PAM)
Admin accounts stop being one stolen password away from control of everything.
- Identity governance and single sign-on
People who leave or change roles lose access everywhere at once, and forgotten accounts stop piling up.
- Secrets management
API keys, tokens and passwords stop leaking from code, chat and configuration files.