What it finds
- Internal functions that must never receive user input
- Deprecated calls your team has agreed to stop using
- Patterns from a past incident, so it does not happen twice
scancodebase lets you add rules for the patterns that matter in your own code, written with a syntax compatible with Semgrep.
Code that has already been analysed is not analysed again, so adding a rule gives you an answer across the whole codebase quickly.
Captain and above. Compare plans.
FAQ
The rule syntax is compatible with Semgrep, so existing rules are a good starting point.
The finding is reported again, so a temporary exception does not become permanent by accident.