You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
actions-disable-guard: a gh command built at run time gets through #1131
What: actions-disable-guard on main lets a command through when the guarded words are put together at run time, for example gh $(printf "workflow dis%sable" "") 1. The guard reads the command text, and the words "workflow disable" never appear in it.
Found by: the #1108 fix round (it is a gap on main, not in that PR).
Done when: a command substitution, printf/echo building, variable joins or eval that make a gh command which could disable a workflow are refused (fail closed: a gh command whose arguments come from a substitution is refused unless the substitution is plainly harmless), with refused tests for these forms and allowed tests for ordinary gh $(...) uses the agents need.
Activity
scuttletoby commentedon Nov 28, 2026
Claimed by the agent-guards follow-up sweep (#1143 + #1131 in one PR, branch
fix/agent-guards-1143-1131).agent-guards: actions guard fails closed on words made at run time; f…
agent-guards: one rule for command words in every text, scripts inclu…
agent-guards: an element assignment gives its name a made value, as x…
agent-guards: NAME[ .. ]=v with blanks in the brackets is one assignm…
agent-guards: a $(..) or `..` inside '..' is code too, as bash's seco…
agent-guards: fast path keeps every stdin byte and names bytecode aft…