sast-tooling
Installation
SKILL.md
SAST Tooling
Overview
Static Application Security Testing (SAST) — find security defects in source code without running it. SAST catches the LOW-MEDIUM hygiene defects (verify=False, eval(user_input), hardcoded password= strings, unsafe deserialisation, weak cryptography) that secret-scanning and dep-currency-check don't cover. Per the S038 alf sweep verdict, this skill closes the "no SAST runner" gap (finding F-H2).
The runner choices in 2026, with Gemini freshness-probe corroboration (2026-05-22):
| Tool | Languages | Maintenance | Speed | False positives | Use case |
|---|---|---|---|---|---|
| bandit | Python only | Active (v1.9.4 Feb 2026, py3.10+ required) | Fast | Low-medium | Python-specific; CI gate; pre-commit |
| semgrep | Multi-language (Python/JS/TS/Java/Go/Ruby/PHP/C/+more) | Active (v1.x, no breaking v2.0 — Agentic IDE hooks added 2025-26) | Fast | Medium (configurable per ruleset) | The de-facto multi-language SAST; default choice for polyglot repos |
| eslint-security | JavaScript / TypeScript | Active (eslint-plugin-security) | Fast | Medium | JS/TS-specific; runs as ESLint plugin; CI gate |
| CodeQL | Many (C/C++/C#/Go/Java/JS/Python/Ruby/Swift) | Active (GitHub) | Slower (compile-then-analyze) | Low (deep dataflow) | Best for high-stakes / open-source; license-gated for private repos since Apr 2025 |