hn.today

Just let me revoke the damn token

clonsdale.substack.com5 points4 comments
Screenshot of Just let me revoke the damn token

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.

Read on clonsdale.substack.com4 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

Tailscale: Post-Quantum Cryptography

Tailscale: Post-Quantum Cryptography

Post-quantum cryptography protects key exchange from future quantum attacks, including “harvest now, decrypt later” attempts; hybrid exchange combines classical and post-quantum algorithms for protection if either remains secure. WireGuard uses fixed handshake algorithms, so adding post-quantum protection requires protocol changes and endpoint updates. (tailscale.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.