securesauce / precli

Precaution CLI - command line static application security testing tool
https://precli.readthedocs.io/
Other
22 stars 3 forks source link

Check for no action passed in argparse rule #396

Closed ericwb closed 7 months ago

ericwb commented 7 months ago

The default value for action when no value is passed is "store" which is the exact value we are trying to detect for issues. So if a program creates CLI arguments via add_argument with api-key or password arg and unset action, it needs to surface this as an issue.