I found 39 Algolia admin keys exposed across open source documentation sites
benzimmermann.dev
benzimmermann.dev
Some DocSearch implementations exposed write/admin API keys in public frontend config. That should not happen, but sometimes it does, and it underscores the importance of making API key roles and safe usage clearer. Only search-only keys belong client-side. Exposed privileged keys can allow unauthorized index changes or deletion.
We've contacted affected users directly to rotate exposed keys, move privileged keys to backend-only environments, and verify that public configs use search-only keys only.
More broadly, this is a reminder that education and guardrails around API key usage matter, and we're taking that seriously. We’ll continue to ensure this advice is surfaced more prominently throughout our product, and also look to enforce better guardrails to hopefully mitigate it before it happens.
Cheers, Natan
I'm not a newspaper editor, but I think if this was an article for one, they'd also say the graphs are unnecessary. It smells of "I need some visual stuff to make this text interesting"...
Especially on night mode themes.
Besides, can we read anymore? In the age of 'GPT summarise it me' attention spans and glib commentary not about the content of the article being all many people have to add, perhaps liberal application of visualisations adds digestive value.
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."
"If the secrets issuer partners with X-corp for secret scanning so that secrets get invalidated when you X them, then when you X them the secrets will be invalidated".
The above is a true statement for all X.
Unfortunately, it doesn't look like Algolia has implemented this
if algolia keys have this predictable pattern, then they can enroll in secret scanning. If they don't then they probably can't
In formal logic, that statement is true whether X is GitHub, or Lockheed-Martin, Safeway, or the local hardware store.
In English, the statement serves to inform (or remind) you that GitHub has a secret scanning program that many providers actually do partner with.
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.
Not saying people shouldn't build these tools, but the use case is lost on me.
It feels like the industry is in this weird phase of trying to replace 30-year-old, perfectly optimized shell utilities with multi-shot agent workflows that literally cost money to run. A basic Python script with a regex matcher and the GitHub API will find these keys faster, cheaper, and more reliably.
https://timesofindia.indiatimes.com/technology/tech-news/acc...