Context
Walk Ex8 improved secret scanning (gitleaks). No static analysis tool checks for code-level security vulnerabilities. knife exec and knife ssh execute arbitrary code/commands — high-value Brakeman targets.
Code Paths
.github/workflows/sast.yml — new CI workflow running Brakeman
lib/chef/knife/exec.rb — arbitrary Ruby execution
lib/chef/knife/ssh.rb — shell command construction
SECURITY.md — add SAST section
Acceptance Criteria
Dependencies
Walk Ex8 secret scan pattern (merged). No blocking deps.
Size
Small.
Context
Walk Ex8 improved secret scanning (gitleaks). No static analysis tool checks for code-level security vulnerabilities.
knife execandknife sshexecute arbitrary code/commands — high-value Brakeman targets.Code Paths
.github/workflows/sast.yml— new CI workflow running Brakemanlib/chef/knife/exec.rb— arbitrary Ruby executionlib/chef/knife/ssh.rb— shell command constructionSECURITY.md— add SAST sectionAcceptance Criteria
.github/workflows/sast.ymlrunsbrakeman --no-pageron every PRcontinue-on-error: trueinitially (advisory); promote to blocking after first clean run.brakeman.ignorewith justificationSECURITY.mdupdated with SAST section documenting the tool and how to run locallyDependencies
Walk Ex8 secret scan pattern (merged). No blocking deps.
Size
Small.