Building safely

Static analysis (SAST)

A tool that reads your source code without running it and flags patterns that often lead to security bugs, such as unsafe queries or hard-coded secrets.

In plain words

It is like a spell checker for security: it reads every line and underlines the ones that look risky, before anything goes live.

When it affects you

Anyone who writes or generates code, including code written with AI assistants. It catches common mistakes early and cheaply, but it also raises false alarms and cannot see problems that only appear when the app runs.

What to do today

  1. Run a free scanner such as Semgrep or Bandit on your project before each release.
  2. Read each finding: fix the real ones and mark the false alarms so they stop coming back.
  3. Add the scan to your build so new code is checked automatically.

← All termsNo. 37 / 42

Related on this site

Tools

Last reviewed: 2026-11-30. Written for non-experts. Check an advisory or your vendor for the details of a specific flaw.

Newsletter · every Friday · free

Get the weekly security briefing

One email every Friday: what to act on now and what to plan this week, in plain words. The free one-page runbooks come in your welcome email. You confirm your address first.

Subscribe for free

Press / to search from any page