Find dangerous GITHUB_ENV usage
MSALDetects dangerous usage of GITHUB_ENV and GITHUB_PATH environment files in workflows with risky triggers like pull_request_target or workflow_run. Writing to these files can allow code injection when the content includes user-controlled data. Based on zizmor's github-env audit.
org. openrewrite. github. security. GitHubEnvmod run . --recipe= org. openrewrite. github. security. GitHubEnvInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.