braket
A library that classifies the effects a Bash command may have on files, networks, and processes without executing it.
What does it do?
It analyzes Bash commands and returns the capabilities they may use, including the file system, network, and processes. Its readable output marks each capability with a use, read, or mutate level and combines the effects of pipelines, command substitutions, redirections, and branches. It returns unknown for unrecognized input or unsupported syntax. Commands can be passed as arguments or read from standard input.
Key features
- Analyze potential file system, network, and process effects without executing a Bash command
- Show capability access levels as use, read, or mutate
- Combine the effects of pipelines, substitutions, redirections, and branches
- Return unknown for unrecognized input and unsupported syntax
- Accept a command as an argument or through standard input and output the result