The piece argues that leaked API tokens remain an avoidable security problem because finding them does not reliably lead to prompt revocation. Companies may build costly systems to scan the web for exposed credentials, while others lack the time or resources. Even when a defender discovers a token, the available response is often to contact its provider and hope for action - or give up because the process is difficult. Meanwhile, an attacker may use the credential before anyone can disable it.
The proposed remedy is to let anyone who finds a token check and revoke it directly, using the token itself. API providers should give their tokens recognizable prefixes, making them easier to identify, and offer an endpoint that reports whether a token is valid, who owns it, and what permissions it grants. A separate endpoint should allow revocation, with a discoverable reference - potentially at a standard `.well-known/token` location - to help defenders find these services. The argument is that defenders collectively can find exposed credentials, but need the authority and tools to neutralize them quickly. Buildkite’s access-token API is cited as an example providers should emulate.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.