Re:GitHub: Widespread Injection Vulnerabilities in Actions
by hn_throwaway_99 on Tuesday November 03, 2020 @02:26PM
(#24983017)
IMO at the very least they should have an org-wide option in settings to disable command interpretation.
Re:GitHub: Widespread Injection Vulnerabilities in Actions
by mjgs on Wednesday November 04, 2020 @06:25AM
(#24988107)
Yeah the ability to disable the insecure commands is crucial. That should be the first thing they should do.
Probably a lot of people aren’t even using this functionality in their workflows anyway.
I think the only one of these commands that I actually use is setting outputs, and I don’t even use that very often.
There should also be a way to see which commands have been triggered via stdout, so you can at least see what happened if something malicious happens.
At a minimum they should provide a shell script (`show $XYZ`) and a js function that handles generating those tokens and enabling/disabling workflow commands for you.
[1] https://github.blog/changelog/2020-10-01-github-actions-depr...