Unofficial Hacker News companion — get notified on comment replies, and more.

Cryptanalytic result from Anthropic: paper title leaked (opens external site)

560 points by aklein 3 days ago | scottaaronson.blog | 774 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (56)

  1. > What happened was that Charles Hoskinson, one of the many cryptographers briefed on this breakthrough, tweeted a cryptographic hash of the paper title, as a way of committing to it (and proving later that he knew it) without revealing it. But then, extremely amusingly, Michael DeBono used Gemini and Fable to decrypt the title, basically just by guessing every plausible thing it could be.

    What if it wasn’t a rookie mistake by a cryptographer, but rather an intentional red herring for a paper that would focus on generating hash collisions instead?

    Replies (12)
    1. Then my already negative opinion of their comms would degrade even further. If you’re working on important things you don’t get to do fun vagueposts and red herrings about them.
    2. Proof of Concept, I think, is how the science-y people refer to that.
    3. Rookie mistake to not add salt
      Replies (1)
      1. salt probably wouldn't have helped, because it likely wasn't a pre-existing hash. (or maybe I'm just missing the joke).

        Edit: ok yes, if he kept the salt secret until title was public that would work.

        Replies (4)
        1. He would have to keep the salt secret until the paper is published. Then he could reveal the salt and prove that he had the title early.
          Replies (1)
          1. Ok that makes sense. Thank you.
        2. Of course you keep the salt secret! When the news breaks, you just say "the message was *foo*" and people can verify it. Literally just putting asterisks around it would have been an effective defense.
          Replies (1)
          1. > Literally just putting asterisks around it would have been an effective defense

            Nah, because some people who cracked this used a simple language model with a post-processing kernel that boosted the output with typographic variations (to better match the speed of the language model and the sha256 engine). Likely all manner of simple typographic changes got searched too.

        3. Salt it with some random number of your choice so finding the plaintext is harder but he can still prove it

          ie. Hash("Quasi-polynomial quantum algorithms for integral lattices and module lattices of small rank over power-of-two cyclotomic rings 1872908390809")

          Replies (1)
          1. Traditionally a salt is a value known to everyone (including attackers)

            What you are describing is usually called a "pepper"

        4. Salt certainly would help, because the brute-force solving technique described would also have to have iterated through possible salts.
          Replies (1)
          1. Add 256 bits of salt and you're fine against anything except AI actually breaking the hash function.
            Replies (1)
            1. He should have used quasi-polynomial quantum algorithm for integral lattices and module lattices of small rank over power-of-two cyclotomic rings to hash it.
    4. Elsewhere on this page, someone pointed out just hashing is the wrong way to do it - you have to add a bunch of entropy to prevent brute force attacks like this but it's kind of logical that someone else didn't understand cryptography while ironically being at the center of blockchain stuff.

      "Hoskinson attended Metropolitan State University of Denver and the University of Colorado Boulder to study mathematics.[6] Hoskinson has said that he had entered a PhD program but had dropped out. MSU Denver does not have a graduate program in mathematics. Hoskinson also said that he worked for the Defense Advanced Research Projects Agency (DARPA), though DARPA said that he had not.[7][8]"

      https://en.wikipedia.org/wiki/Charles_Hoskinson

      Replies (1)
      1. > but it's kind of logical that someone else didn't understand cryptography while ironically being at the center of blockchain stuff.

        It could just be that he didn't imagine that that level of security would be necessary. He might not have thought to estimate the entropy of plausible paper titles.

        We've come a long, long way from ceiiinosssttuv (https://en.wikipedia.org/wiki/Hooke%27s_law).

        Replies (2)
        1. If you work in this field and wanted to flex, then you’d do it cryptographically secure as part of your flex.

          I’ve seen security researchers use pixelisation blurs to hide keys in their write ups. But the key is actually an Easter egg saying something like “never use pixelisation to mask secrets” knowing people will look for these things.

        2. It sounds like he never had any real interest in technical aspects of cryptography. If you study those, you will be thinking about entropy all the time, until it becomes a second nature to you.
    5. What’s the motivation for publishing the hash? Just pure flex?
      Replies (4)
      1. Yes. For the linked Tweet above, someone literally challenged them and implied they were lying.
        Replies (3)
        1. Holy.. what a circus.
        2. Did they challenge them to publish the paper title hash? Was it a setup for exactly what happened?
          Replies (1)
          1. Here's the source:

            https://x.com/QualiaQuanta/status/2127364895523885543

            Comes off as a mostly unserious taunt.

        3. That person is also someone who has written papers claiming to disprove Alpöge's Riemann proof and the OpenAI Navier-Stokes paper. They seem like a contrarian, to put it mildly.
      2. This has been a "tradition" for hackers for quite a while. It was/is especially common in the CTF-Community and vulnerability researcher scene, because you can claim knowledge of something, that will only become public later. Sometimes it's used to make sure you actually get the fame/payout/recognition you think you deserve in bug bounty-like schemes.
        Replies (2)
        1. Not a hacker though. He was allowed to read a paper. Now he needs you to know that makes him a very important person, for clout. Almost like he has something to sell.
        2. So simple to add a pepper to the hash that you expose later.. like a salt.
      3. Yes. That's completely in line with his ego. There was at least one notorious instance in the past of "don't you know who I am".

        https://imgur.com/did-not-expect-this-kind-of-attitude-from-...

      4. shameless self-promotion
    6. Recovering the title in 10 hours (or less) seems crazy to me.

      Of course the effective search space is much, much smaller once the category is known. And each term that's chosen narrows the search space of what can follow. But there's 16 words, well over 100 characters, highly specific terminology, capitalization, hyphens, etc.

      I would have thought that would take more than the ~10 hours between the hash being posted and the title being found.

      Replies (4)
      1. > Of course the effective search space is much, much smaller once the category is known.

        It's even smaller when the title is known. I assume it just leaked.

        Replies (1)
        1. I think that's definitely possible.

          I'm also reading that the public agenda of the meeting at MIT had been discovered before the hash was posted. If you saw a list of specific agenda line items, that would reduce the cardinality a lot further (though I'd still be at least a little bit surprised if the exact title was found through brute force in the few hours after the agenda was making its rounds online).

      2. This implies that someone could crack an encrypted message of mine by just running a markov chain trained on my HN posts.
        Replies (2)
        1. An encrypted message is different than a hashed message, the ciphertext include entropy from the key.
          Replies (1)
          1. The cryptographer forgot to salt their SHA?
            Replies (2)
            1. What would a salt do in this case?

              The point of a salt in a stored hash of a password table is to prevent pre-computation of all possible hashes that fit within the password parameters and doing a lookup of hash => input (rainbow tables).

              In this case we're discussing quickly guessing the password and running hash in realtime.

              So if he salted the hash and published the salt, nothing would change.

              If he salted the hash and then waited until the publication to publish the salt value, he could be accused of mining for the salt after the paper title was available to him. Mining the salt after the fact would be harder, but leave room for doubting the pre-release knowledge.

              tl;dr - the value of a salt is that it forces you to do the work, not that it makes passwords unguessable.

              Continue this thread (3 replies) →

            2. Well generally SHA is a good choice for integrity, it’s not designed for keeping secrets. If they don’t want the hash cracked into the string, they could have used bcrypt or Argon2 or whatever. And then with a salt.

              Continue this thread (1 replies) →

        2. I don't think so because encryption systems pad short messages for exactly this reason.
          Replies (1)
          1. Can't they pad the Markov outputs?
      3. Plausible deniability.
      4. We're also assuming pseudo-random guesses of all plausible titles. It's quite possible that isn't the case if the title was AI generated, or has been fed into an LLM and used to train a deployed model.
    7. Maybe if he'd posted the hash of the full paper we'd have the entire text by now ;)
    8. > Charles Hoskinson

      This guy is the legendary (\s) guy that founded cardano blockchain which is implemented in Haskell by a bunch of PHDs. It is also one of the worst blockchain implementations. It is hard to understand how bad it is unless you used it.

    9. Do you mean if the title was selected intentionally to be a title with a known second preimage that wasn’t gibberish? That would be the ultimate red herring.
    10. Well, that's exactly what he claims on this livestream:

      https://www.youtube.com/live/IU6JSRWv6Ts?t=372

    11. Theres surely some irony in conflating encryption and hashing in a discussion on cryptographic breakthroughs.
    12. Except that he doesn't appear to be a cryptographer at all:

      https://en.wikipedia.org/wiki/Charles_Hoskinson