Unilaterally decide they should be revoked, without contacting the owner?
And that’s not malicious?
Unilaterally decide they should be revoked, without contacting the owner?
And that’s not malicious?
Be serious.
If it’s that sensitive and there’s access keys accessible to anyone, it could end up much worse. Nobody said it was without inconvenience.
Non-malicious actors using it to bring down a system via revocation are therefore indistinguishable from malicious actors. It’s by definition a malicious act.
That’s why it’s a stupid idea. Non-malicious actors should just contact the company and let them take action. It’s not for an outsider to decide the impact of a leak.
Also GitHub doesn’t revoke the keys. The providers of the key take provider-specific actions, which may or may not be revocation.
So… yeah.
For example AWS applies a “quarantine” policy that prevents some specific actions[1].
Allowing anyone to report a potentially compromised key is one thing, but allowing anyone to unilaterally revoke a token is another.
1. https://docs.aws.amazon.com/aws-managed-policy/latest/refere...
> I think every API key system should have endpoint "invalidate_api_key"
Not this.
What is your alternative idea?
No idea why you’re being so hostile here.
The status quo is clearly the local minima, given the myriad of trade offs and different parties involved.