Skip to the content.

~

~/Security

~/Security/Appsec



Static Code Analysis

Static Code Analysis (also known as Source Code Analysis) is usually performed as part of a Code Review (also known as white-box testing) and is carried out at the Implementation phase of a Security Development Lifecycle (SDL)

Scales Well (Can be run on lots of software, and can be repeatedly (like in nightly builds))

For things that such tools can automatically find with high confidence, such as buffer overflows, SQL Injection Flaws, etc. they are great.

Main Advantages

Types of static analysis

Static Analysis with Python

covered here

Automate Static Analysis

Incorporate it into your project

Most popular static analysis tools have plug-ins for popular IDEs, and run against open files, project files, or workspace files

pass in your prospector args in Visual Studio Code

Incorporate it into CI/CD

Use something like Github Actions to perform static analysis before code goes live. Here you can configure automated actions for:

fin