Static Analysis: Chaining CodeQL, Semgrep, and SARIF into a Reusable SAST Workflow

The static-analysis plugin in the Trail of Bits skills marketplace combines deep CodeQL analysis, Semgrep rule-set scanning, and SARIF parsing into reusable Agent workflows. It includes three skills—codeql, semgrep, and sarif-parsing—along with the run-scans.sh and merge_sarif.py scripts and the /static-analysis:semgrep-scan and /static-analysis:codeql-build workflows. The article covers installation commands, typical invocation patterns, approval gates, differences from read-only scanning, and practical constraints such as ensuring database build quality and disabling metrics, to help systematically implement SAST in AI-assisted security audits.

Read More
rust-review: A Security Review Skill for Rust Codebases

rust-review is a Rust code security review Skill in the Trail of Bits skills marketplace. It uses an orchestrator with worker, dedup, and fp subagents to cover safe/unsafe boundaries, unsafe memory safety, concurrency, panic-DoS, FFI, and async runtime issues, producing REPORT.md and REPORT.sarif. It is suitable for auditing crates and services that include unsafe code, FFI, or concurrency; for scenarios such as pure C/C++, smart contracts, and key zeroing, use c-review, contract-specific Skills, or zeroize-audit instead. After adding the trailofbits/skills marketplace in Claude Code or Codex, start the review with /rust-review:rust-review.

Read More