mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
Instead of evaluating inputs directly in the run step, save them to an environment variable and evaluate that. ### Motivation: Evaluating workflow inputs directly can lead to injection attacks, such as those described at https://docs.zizmor.sh/audits/#template-injection ### Modifications: Evaluate workflow inputs as environment variables so that they do not inadvertently execute arbitrary shell injections. ### Result: The workflows should be more secure against malicious inputs.