ECC/scripts/ci
Affaan Mustafa cbecf5689d
docs: add supply-chain incident response playbook
Add a repo-level supply-chain incident response playbook for npm/GitHub Actions package-registry incidents, anchored on the May 2026 TanStack compromise and prior Shai-Hulud-style npm incidents.

- add `docs/security/supply-chain-incident-response.md` with exposure checks, immediate response steps, workflow rules, publication rules, and escalation triggers
- link the playbook from `SECURITY.md`
- reject `pull_request_target` workflows that restore or save shared dependency caches
- add a regression test for the new `pull_request_target + actions/cache` guardrail

Validation:
- node tests/ci/validate-workflow-security.test.js (12 passed, 0 failed)
- node scripts/ci/validate-workflow-security.js (validated 7 workflow files)
- npx markdownlint-cli 'SECURITY.md' 'docs/security/supply-chain-incident-response.md'
- npx markdownlint-cli '**/*.md' --ignore node_modules
- git diff --check
- node tests/run-all.js (2377 passed, 0 failed)
- GitHub CI for #1848 green across Ubuntu, Windows, and macOS

No release, tag, npm publish, plugin tag, marketplace submission, or announcement was performed.
2026-05-13 00:22:28 -04:00
..
catalog.js feat: add GitHub Copilot prompt support 2026-05-12 23:00:00 -04:00
check-unicode-safety.js feat: add observability readiness gate 2026-05-11 18:33:14 -04:00
validate-agents.js docs: salvage focused stale PR contributions 2026-05-11 05:31:12 -04:00
validate-commands.js fix: harden claude plugin manifest surfaces 2026-04-08 16:27:30 -07:00
validate-hooks.js fix: bootstrap plugin-installed hook commands safely 2026-04-14 20:24:21 -07:00
validate-install-manifests.js feat: define skill placement and provenance policy (#748) 2026-03-22 15:39:48 -07:00
validate-no-personal-paths.js fix: harden CI validators 2026-05-11 03:08:43 -04:00
validate-rules.js feat: deliver v1.8.0 harness reliability and parity updates 2026-03-04 14:48:06 -08:00
validate-skills.js fix(ci): flag SKILL.md frontmatter defects in validate-skills (#1669) 2026-05-11 01:14:38 -04:00
validate-workflow-security.js docs: add supply-chain incident response playbook 2026-05-13 00:22:28 -04:00