agentsclimarketplace

Static analysis

Skill ComeOnOliver/skillshub/skills/elizaOS/eliza/static-analysis

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.

Install
npx -y skills add ComeOnOliver/skillshub --skill static-analysis

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

3.0 KB, 733 tokens by cl100k_base, as published. Nobody here has run it

Static Analysis

Comprehensive static analysis toolkit for security vulnerability detection, based on the Trail of Bits Application Security Testing Handbook.

When to Use

  • Running security scans on codebases (any language)
  • Writing custom CodeQL queries or Semgrep rules
  • Processing and triaging SARIF output files from analysis tools
  • Setting up static analysis in CI/CD pipelines
  • Comparing and aggregating results from multiple tools

When NOT to Use

  • Writing Semgrep rules from scratch (use semgrep-rule-creator skill instead)
  • Dynamic analysis or fuzzing (use testing-handbook-skills)
  • Smart contract auditing (use security-building-secure-contracts)

Sub-Skills

ToolPurposeBest ForSkill Path
CodeQLSemantic code analysis with database queriesDeep data flow tracking, taint analysis, cross-function analysisskills/codeql/SKILL.md
SemgrepFast pattern-matching static analysisQuick scans, custom rules, CI integration, lightweight checksskills/semgrep/SKILL.md
SARIF ParsingParse and process SARIF result filesAggregating results, CI/CD integration, multi-tool triageskills/sarif-parsing/SKILL.md

Tool Selection Guide

ScenarioRecommended Tool
Quick security scanSemgrep
Deep vulnerability analysisCodeQL
Data flow / taint trackingCodeQL (best) or Semgrep taint mode
Custom pattern detectionSemgrep (simpler) or CodeQL (more powerful)
CI/CD integrationSemgrep (fastest) + CodeQL (thorough)
Processing scan resultsSARIF Parsing
Non-building codebaseSemgrep (works on incomplete code)

Quick Start

Semgrep (fast scan)

# Install
pip install semgrep

# Run with recommended rulesets
semgrep --config=auto .

# Run specific ruleset
semgrep --config=p/security-audit .

CodeQL (deep analysis)

# Create database
codeql database create mydb --language=python --source-root=.

# Run security queries
codeql database analyze mydb codeql/python-queries:codeql-suites/python-security-extended.qls --format=sarif-latest --output=results.sarif

SARIF Processing

# Parse results with jq
jq '.runs[].results[] | {ruleId, message: .message.text, location: .locations[0].physicalLocation.artifactLocation.uri}' results.sarif

Workflow

  1. Quick scan with Semgrep for fast results
  2. Deep analysis with CodeQL for thorough coverage
  3. Aggregate results using SARIF parsing
  4. Triage findings by severity and exploitability
  5. Custom rules for project-specific patterns

Related Skills

  • semgrep-rule-creator - Dedicated skill for writing production-quality Semgrep rules
  • variant-analysis - Find similar vulnerabilities using CodeQL/Semgrep patterns
  • security-differential-review - Security-focused code review using static analysis findings

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,984. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.