by gtsop · 4y ago · 0 comments
- shell=True: https://semgrep.dev/r?q=python.lang.security.audit.subproces...
- system-like calls with a non-static argument: https://semgrep.dev/r?q=python.lang.security.audit.dangerous...
Custom rules can be written for additional patterns of concern (or specific/uncommon/private APIs) too.
https://github.com/elanning/checkr
It's a nice inbetween solution for quick stuff not worth writing a full static analysis plugin for.