You are viewing a single thread.
View all comments
6 points

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.

permalink
report
reply
12 points

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.

permalink
report
parent
reply

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.

permalink
report
parent
reply
3 points

Thank you for the clarification.

permalink
report
parent
reply
1 point

And then I store the encryption key in another repo to ensure the compliance checkmark gets checked? (/s)

permalink
report
parent
reply

Cybersecurity

!cybersecurity@sh.itjust.works

Create post

c/cybersecurity is a community centered on the cybersecurity and information security profession. You can come here to discuss news, post something interesting, or just chat with others.

THE RULES

Instance Rules

  • Be respectful. Everyone should feel welcome here.
  • No bigotry - including racism, sexism, ableism, homophobia, transphobia, or xenophobia.
  • No Ads / Spamming.
  • No pornography.

Community Rules

  • Idk, keep it semi-professional?
  • Nothing illegal. We’re all ethical here.
  • Rules will be added/redefined as necessary.

If you ask someone to hack your “friends” socials you’re just going to get banned so don’t do that.

Learn about hacking

Hack the Box

Try Hack Me

Pico Capture the flag

Other security-related communities !databreaches@lemmy.zip !netsec@lemmy.world !securitynews@infosec.pub !cybersecurity@infosec.pub !pulse_of_truth@infosec.pub

Notable mention to !cybersecuritymemes@lemmy.world

Community stats

  • 1.7K

    Monthly active users

  • 2.5K

    Posts

  • 4.7K

    Comments