So perhaps at some point, they were only giving admin keys (because I don't remember there being a choice; and I would think given the choice I'd make the right one) and when called out (or sometime prior) realized the problem and made a new Settings -> API Keys page. Currently on the page the first one listed is the Search Key, with the subtext "This is the public API key which can be safely used in your frontend code. This key is usable for search queries and it's also able to list the indices you've got access to."
I found 39 Algolia admin keys exposed across open source documentation sites
51–60 of 62 posts
Re: I found 39 Algolia admin keys exposed across open source documentation sites
#52Re: I found 39 Algolia admin keys exposed across open source documentation sites
#53Re: I found 39 Algolia admin keys exposed across open source documentation sites
#54Re: I found 39 Algolia admin keys exposed across open source documentation sites
#55Re: I found 39 Algolia admin keys exposed across open source documentation sites
#56Re: I found 39 Algolia admin keys exposed across open source documentation sites
#57[flagged]
Re: I found 39 Algolia admin keys exposed across open source documentation sites
#58Re: I found 39 Algolia admin keys exposed across open source documentation sites
#59Earlier quoted context omitted.
If you find an exposed token in the wild, for a service supported by GitHub Secret Scanning, uploading it to a Gist will either immediately revoke it or notify the owner.
Ok I see, so any public gist with an algolia key in it will get invalidated? And it would have to follow some pattern like ALGOLIA_KEY=xxx ?
if algolia keys have this predictable pattern, then they can enroll in secret scanning. If they don't then they probably can't
Re: I found 39 Algolia admin keys exposed across open source documentation sites
#60Earlier quoted context omitted.
No it's not.
Yes it is. Reminding somebody of this feature is useful to somebody, even if it's not completely relevant to the topic being discussed. Calling out a supposed tautology is the opposite of useful: it helps nobody and just clutters things up.
Yeah, it's especially useful in that case. Useful to attackers, because someone "helpfully" showed up with "reminder" that reads like a suggestion to post these specific secrets (or any other Algolia secrets that other HNers might have come across) in the open out of some misguided belief that doing so will invalidate them.
This has to be one of the dumbest, most reckless threads to have been posted (and so vociferously defended) on HN.