ECC/.opencode/tools
Affaan Mustafa bd9083ca1e fix(security): gateguard classifier bypasses (GHSA-4v57) + Windows CI + claw ReDoS
- gateguard (GHSA-4v57-ph3x-gf55): add a quote-aware detection pass that
  dequotes command words and splits on UNQUOTED separators incl. newlines, so
  newline-separated commands, quoted command words ('rm'/"rm"), quoted
  find -exec, and sh/bash -c wrappers are all classified destructive. Additive —
  existing 133 cases still pass; +7 bypass regressions + a false-positive guard
  (rm inside a quoted echo arg stays allowed). 140/140.
- Windows CI: format-code.ts emitted backslash paths via path.normalize, breaking
  forward-slash assertions on all Windows matrix cells — force forward slashes.
- claw.js (CodeQL #1 js/polynomial-redos): bound parseTurns input so the lazy
  [\s\S]*? body can't drive O(n^2) scanning on adversarial history files.

Full suite 2852/2852; lint green.
2026-06-18 20:02:30 -04:00
..
changed-files.ts fix: stabilize opencode declarations across package managers 2026-04-05 15:11:19 -07:00
check-coverage.ts fix: stabilize opencode declarations across package managers 2026-04-05 15:11:19 -07:00
dependency-analyzer.ts feat(opencode): 全面升级OpenCode集成 (#2251) 2026-06-15 14:01:34 -04:00
format-code.ts fix(security): gateguard classifier bypasses (GHSA-4v57) + Windows CI + claw ReDoS 2026-06-18 20:02:30 -04:00
git-summary.ts fix(security): add host/origin allowlist + validate git refs + quote workflow input (#2185) 2026-06-15 13:49:40 -04:00
index.ts feat(opencode): 全面升级OpenCode集成 (#2251) 2026-06-15 14:01:34 -04:00
lint-check.ts feat(opencode): 全面升级OpenCode集成 (#2251) 2026-06-15 14:01:34 -04:00
run-tests.ts fix: stabilize opencode declarations across package managers 2026-04-05 15:11:19 -07:00
security-audit.ts fix: stabilize opencode declarations across package managers 2026-04-05 15:11:19 -07:00