Module 78: Secure Development

Lesson 4 of 5 · 15–25 minutes

Static analysis

🏠The everyday picture

A spelling and grammar checker reads every page of a manuscript without getting tired, catching the routine mistakes so the editor can focus on meaning.

📘What it really is

🖱️Try it

Add a Semgrep job (or CodeQL, if your repository supports it) to your CI workflow. Run it, review every finding, fix the real ones and document the false positives. Turn on TypeScript's strict if it isn't already.

✅Quick check

What can static analysis find, and what does it usually miss?

Show the answer

It finds risky code patterns (injection, unsafe functions, secrets); it usually misses business-logic and authorisation flaws.

What should you do with a false positive?

Show the answer

Review it, and if it's really safe, mark it with an explanation rather than turning the tool off.

← PreviousSupply chain security
ProLearners Assist