GHAST: GitHub Actions Security Analysis Tool
Scan Your GitHub Actions for Common Security Bad Practices
2 min readJul 25, 2023
Hello, World! I’ve released a new tool called ghast that allows you to evaluate the security posture of your GitHub Actions. Currently, there are 13 available checks: some of them identify behavior that should be avoided altogether, while others only serve as warnings to highlight potential security risks associated with a behavior:
check_for_3p_actions_without_hash
check_for_allow_unsecure_commands
check_for_cache_action_usage
check_for_dangerous_write_permissions
check_for_inline_script
check_for_pull_request_target
check_for_script_injection
check_for_self_hosted_runners
check_for_aws_configure_credentials_non_oidc
check_for_pull_request_create_or_approve
check_for_remote_script
check_for_upload_download_artifact_action
check_for_non_github_managed_actions