Expand description
Minimal, conservative classification of Bash command strings for policy
decisions. The first consumer is the verification-phase gate, which must
recognize a standalone tracevault verify-start (the command that opens
the phase) WITHOUT being fooled by compounds that hide other commands.
Functions§
- is_
standalone_ tracevault_ subcommand - True iff
commandis a single, simple invocation oftracevault <subcommand>— no shell compounding of any kind. Rejecting compounds is the security crux:tracevault verify-start && rm -rf /must NOT match, or the gate could be tricked into ignoring a hidden command.