Find unconditional secrets inheritance

MSAL

Detects when reusable workflows unconditionally inherit all parent secrets via secrets: inherit. This practice can lead to over-privileged workflows and potential secret exposure to called workflows that may not need access to all secrets. Consider explicitly passing only required secrets. Based on zizmor's secrets-inherit audit.

org.openrewrite.github.security.SecretsInherit
mod run . --recipe=org.openrewrite.github.security.SecretsInherit

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.