NREL / ditto

DiTTo is a Distribution Transformation Tool that aims at providing an open source framework to convert various distribution systems modeling formats.
https://nrel.github.io/ditto/
BSD 3-Clause "New" or "Revised" License
68 stars 35 forks source link

codecov bash uploader security update #368

Closed NicolasGensollen closed 3 years ago

NicolasGensollen commented 3 years ago

Hi Ditto team, :wave:

You probably already know that, but Codecov.io announced yesterday that their bash uploader script had been compromised: https://codecov.io/disclosure

AFAICT, this script is used by the codecov action which means that authentication secrets used in the same workflow (or potentially other workflows) may have been compromised.

https://github.com/NREL/ditto/blob/a1a527fe043258aacfab8ab84ff162f84a8272da/.github/workflows/ci.yml#L33-L37

There is ongoing work to include a checksum validation of the script within the codecov action, but it might be worth having a look!

tarekelgindy commented 3 years ago

Thanks Nicolas! I believe that Dheepak has updated the secret tokens. Great to hear from you!!

NicolasGensollen commented 3 years ago

Hi @tarekelgindy

I believe that Dheepak has updated the secret tokens.

Great, I'll close this then! :+1:
Note that codecov merged a checksum validation fix very quickly. So this action should hopefully be safe now.

Great to hear from you!!

Thanks! Great to see that you're still maintaining this package! Hope everything is fine for you! Cheers! :smiley:

kdheepak commented 3 years ago

Thanks for bringing this up. I didn't get any email about this so I didn't think we were affected. But I've regenerated tokens for all the secrets we have just in case.