Description
static-analysis is an agent skill from Trail of Bits that helps find security vulnerabilities with static analysis tools. It combines CodeQL and Semgrep and parses SARIF, the output format those scanners share, so findings from several tools can be merged into one list. The skill covers taint tracking and data-flow analysis, which follow user input to risky operations such as SQL queries, and pattern-based scanning across Python, JavaScript, Go, Java, C and C++. Its listed uses include running CodeQL taint analysis, writing Semgrep rules for a specific weakness, combining SARIF results from several scanners into a deduplicated findings list, scanning a pull request against OWASP and Trail of Bits rulesets, and generating CodeQL data extension models for project-specific API sinks. The content is based on the Trail of Bits Testing Handbook. It suits security engineers and developers who want more than a single grep-style check. You install it with the skills command from the trailofbits/skills repository, and the source is public on GitHub.…
Highlights
- Runs CodeQL and Semgrep together
- Parses and merges SARIF output from several scanners
- Taint tracking and data-flow analysis
- Writes Semgrep rules for a specific weakness pattern
- Covers Python, JavaScript, Go, Java and C/C++
Ratings & Reviews
No ratings yet
Be the first to rate trailofbits/static-analysis.
People also visit
trailofbits/static-analysis FAQ
What does this skill do?
It guides your coding assistant through static analysis with CodeQL and Semgrep, and through merging the results in SARIF format.
How do I install it?
Run npx skills add https://github.com/trailofbits/skills --skill static-analysis, or paste the repository link and ask your coding assistant to install it.
Which languages are covered?
The page lists Python, JavaScript, Go, Java, C and C++ among the languages the analysis covers.
Who is it for?
Security engineers and developers who want to trace input to dangerous operations or check a pull request against security rulesets.
Is it free?
The skill is in a public repository on GitHub and the page shows no price, so it is open source.
What are the best trailofbits/static-analysis alternatives?
Popular alternatives to trailofbits/static-analysis include Trail of Bits Security Skills, codeql and security-review. See all trailofbits/static-analysis alternatives















