scorecard icon indicating copy to clipboard operation
scorecard copied to clipboard

Should subprocess.check_call(list) be safe in the check of Dangerous-workflow?

Open gcanlin opened this issue 5 months ago • 1 comments

I noticed that Scorecard reports a Dangerous-Workflow warning when untrusted inputs like ${github.head_ref} are used in Python scripts, even when they are safely passed to subprocess.check_call("cmd", variable]) using a list. Should we allow this?

gcanlin avatar Aug 07 '25 08:08 gcanlin

This issue has been marked stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Oct 07 '25 02:10 github-actions[bot]