gstack/plan-devex-review
Stefan Andrei 886721d13a fix(security): guard brain-sync arithmetic against injected .brain-last-pull content; sanitize _GBRAIN_HOST
The generated preamble bash fed the raw file content of
~/.gstack/.brain-last-pull into $(( )) — bash arithmetic evaluates array
subscripts and command substitution, so a writable state file is an
execution vector. It also interpolated the gbrain host string into the
trusted status line unsanitized. Both are now normalized: .brain-last-pull
content is reset to 0 unless purely numeric, and the host is clamped to a
single line of hostname-safe characters.

Regenerated all host outputs + re-blessed ship goldens.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-15 23:47:03 +03:00
..
sections v1.57.10.0 feat: Codex review default-on across review/ship/plan/docs (#1966) 2026-06-10 21:14:58 -07:00
SKILL.md fix(security): guard brain-sync arithmetic against injected .brain-last-pull content; sanitize _GBRAIN_HOST 2026-08-15 23:47:03 +03:00
SKILL.md.tmpl v1.56.0.0 Token-reduction Phase B + AUQ paranoid safety net (#1849) 2026-06-04 11:14:43 -07:00
dx-hall-of-fame.md feat: /plan-devex-review + /devex-review — DX review skills (v0.15.3.0) (#784) 2026-04-03 16:22:57 -07:00