mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-25 17:30:56 +08:00
The argv allow denylist is the only gate that stops an always-allow rule from naming a program whose flags can run arbitrary commands. git (aliases, hooks, -c), cmake (-P), ctest and cpack run commands from user-controlled files, so an allow prefix for them is never safe. Also key the arity table by the normalised program name so a path-qualified binary derives the same prefix length as the bare name.