Skill: CodeQL Security Analysis
by Trail of Bits
Trail of Bits' CodeQL skill: build databases, run taint-tracking and data-flow queries across eight languages, and model project-specific sources and sinks.
CodeQL, Semgrep and SARIF static-analysis toolkit from Trail of Bits: taint tracking, fast pattern scans and merged, deduplicated security findings for coding agents.
Trail of Bits' Static Analysis is a security-focused agent skill that gives a coding assistant a real vulnerability-hunting toolkit rather than generic advice. It bundles three capabilities: CodeQL for deep interprocedural taint tracking and data-flow analysis (building databases for Python, JavaScript, Go, Java and C/C++, then running security-extended and Trail of Bits query packs), Semgrep for fast pattern-based scanning with OWASP, CWE and Trail of Bits rulesets plus custom YAML rules and taint mode, and SARIF parsing to aggregate, deduplicate and triage findings across tools with correct severity resolution.
The skills are distilled from the Trail of Bits Testing Handbook, so the guidance reflects how a professional security-audit firm actually runs these tools. Two packaged workflows — semgrep-scan and codeql-build — drive an end-to-end, read-only scan and walk the CodeQL build-method ladder (autobuild, custom command, multi-step, no-build) with a quality gate, and the scan commands live in versioned scripts so critical flags like metrics-off and output-directory exclusions can't be dropped by the model.
It is aimed at developers and security engineers who want auditor-grade static analysis wired into Claude Code or another agent harness. Authored by Axel Mierczuk and Paweł Płatek and published under CC-BY-SA-4.0; install with /plugin install trailofbits/skills/plugins/static-analysis.
The instructions your agent loads, as published by Trail of Bits.
by Trail of Bits
Trail of Bits' CodeQL skill: build databases, run taint-tracking and data-flow queries across eight languages, and model project-specific sources and sinks.
by Trail of Bits
Trail of Bits' skill for writing production-quality Semgrep rules — pattern design, taint mode for data-flow bugs, and mandatory test-driven validation.
by Trail of Bits
Finds secrets left in memory in C, C++ and Rust — including wipes the compiler deleted — and requires IR or assembly evidence before calling one optimized away.
by Trail of Bits
Compiles cryptographic code and reads the emitted assembly for variable-time instructions, then triages which flagged operations actually touch secrets.