Discussion
I Found 39 Algolia Admin Keys Exposed Across Open Source Documentation Sites
toomuchtodo: Great write up. Reminder that if you commit these to a Github Gist and the provider partners with GitHub for secrets scanning, they’ll rapidly be invalidated.
pwdisswordfishy: That's just a tautology."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.
nightpool: ? Yes? Toomuchtodo is reminding the author (and other commenters), that github gists are one way to make sure secrets are secured / remediated before making a public post like this. Maybe not the most responsible whitehat action, but I can see it being useful in some cases where outreach is impractical / has failed.Unfortunately, it doesn't look like Algolia has implemented this
toomuchtodo: I’m simply trying to be accurate and informational without misspeaking, as change is relatively constant in this domain and my comment will be burned into the forum history after two hours.https://docs.github.com/en/code-security/reference/secret-se...
stickynotememo: So why hasn't the HomeAssistant docs page been nuked yet?
wat10000: English is not formal logic.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.
pwdisswordfishy: Yes, and in the real world where Grice's Maxim of Relevance is in force, then when the secrets issuer that is the subject of the discussion isn't one of those partners, then an informative "reminder" that GitHub "has a secret scanning program" with a bunch of other partners is not actually informative. It's as superfluous and unhelpful as calling to let someone know you're not interested in the item they've posted for sale on Craiglist (<https://www.youtube.com/watch?v=xWG3jKzKcm8>).
TurdF3rguson: I'm not following this at all. It seems like OP is saying if you share a secret in your (private?) gist and give Algolia permission to read the gist, they will invalidate it. But why would the secret be in a gist and not a repo? Also if you're aware enough to add that partner it seems you're aware to not do dumb things like that in the first place.
TechSquidTV: I have been developing an OpenClaw-like agent that automates exactly this type of attack.
wat10000: It's more useful than telling someone that their statement is a tautology in formal logic.
richbell: 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.
netsharc: Man, talk about unnecessary graphs... ok graph 2 is maybe tolerable, although it's showing the popularity of the projects, not a metric of how many errors/vulnerabilities found in those projects.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"...
binarymax: Dude there’s only three graphs in there. Do they really bother you that much? The third may be a bit unnecessary but I think the visuals add to the post.
netsharc: So you agree partially with what I said.The poster is 16, he can take it as feedback towards effective writing. Or the intellectual HN crowd can just downvote it and dissuade me from contributing and helping a kid (oh look at me, how fucking noble am I, right?).Ah, that feeling of "Am I the only one who gets it around here?". I wanted to explain to you why graph 2 is dumb, and graph 1 is very little information, but heck, I felt dissuaded.
integralid: I liked the graphs. When skimming posts i often stop on graphical elements and decide if I want to understand the context or continue skimming. In this context, all three graphs were useful for me.Posts with just text are sense and just not nice to read. That's why even text-only blog posts have a tendency to include loosely-related image at the top, to catch reader's eye.
_pdp_: Why? This is just regex search and there are plenty of tools that do this perfectly fine.