• CubitOom@infosec.pub
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    2
    ·
    2 days ago

    Sounds like the exploit is really just consolidating the unencrypted secrets that were stored by devs in public logs. Or am I missing something?

    Devs, secure your secrets. Encrypt your secrets. Ensure secrets don’t show in plain text in your logs. Audit your third party usage.

    • PhilipTheBucket@ponder.catOP
      link
      fedilink
      English
      arrow-up
      12
      ·
      2 days ago

      As I understand it, the exploit was leaking the secrets from the place in the CI pipeline where they were supposed to be, into the public logs.

    • zero_spelled_with_an_ecks
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 days ago

      That’s not how it worked. Secured secrets were read from the context where they are used and printed to logs (albeit run through base64 twice). E.g. here’s the API key for the automation to use the API but it’s not just used, it’s also printed.

      The prevention to this situation has nothing to do with secrets and everything to do with pinning 3rd party actions to specific commits. Release versions are not immutable.

      I’m very glad that the compromise didn’t reach out with the secrets, so private repos got hit with a switch and not a 2x4.