pub fn command_characteristics(command: &str) -> CommandCharacteristicsExpand description
Analyze a command segment for security-relevant properties.
Reports the surface-level command classification: what the outermost command is and whether it’s an indirect execution pattern. This is O(1) in wrapper depth — it does not recurse.
For the fully-resolved inner command (after recursively stripping
wrappers), use resolve_command.