Created
May 19, 2023 15:01
-
-
Save atierian/a59625094ec0d0090e55759f218fb947 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "🧪 scanning for shell injection" | |
semgrep --config="r/yaml.github-actions.security.run-shell-injection.run-shell-injection" | |
echo "\n\n" | |
echo "🧪 scanning for target code checkout" | |
semgrep --config="r/yaml.github-actions.security.pull-request-target-code-checkout.pull-request-target-code-checkout" | |
echo "\n\n" | |
echo "🧪 scanning for unsecure commands" | |
semgrep --config="r/yaml.github-actions.security.allowed-unsecure-commands.allowed-unsecure-commands" | |
echo "\n\n" | |
echo "☑️ scans complete" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment