Skip to content
cccskills

Browse skills

83 skills (repositories by trailofbits) · sorted by popularity

Compare implementation code with a specification, whitepaper, or design document. It checks individual requirements, independently challenges reported mismatches, and writes evidence-based reports covering missing or partial implementation, contradictions, undocumented behavior, and requirements that cannot be judged.

  • Check an implementation against a specification
  • Compare protocol code with a whitepaper
  • Verify guarantees stated in a README
trailofbits/skills7.6KUpdated Oct 16, 2026

modern-cpp

FreeSummary

Write or modernize C++ with guidance on C++20, C++23, and C++26 features. Review memory ownership, error handling, and template constraints, with recommendations for compiler protections and runtime checks that detect bugs.

  • Modernize legacy C++ patterns
  • Choose approaches for new C++ code
  • Review memory ownership and error handling
trailofbits/skills7.6KUpdated Oct 16, 2026

second-opinion

FreeSummary

Get independent code reviews of uncommitted changes, branch differences, or individual commits using Codex or Antigravity. Receive findings with severity, locations, impact, and suggested corrections, and compare where the two reviewers agree or differ.

  • Reviewing uncommitted changes for bugs
  • Comparing Codex and Antigravity on the same branch diff
  • Reviewing a specific commit for security issues
trailofbits/skills7.6KUpdated Oct 16, 2026

Inspects compiled instructions and bytecode to identify timing risks in cryptographic code. Helps trace flagged operations back to secret data, distinguish false positives, and review fixes across compiler settings and target architectures.

  • Reviewing signing and encryption routines
  • Checking division involving secret values
  • Inspecting authentication tag comparisons
trailofbits/skills7.6KUpdated Oct 16, 2026

Reviews code changes for security risks using Git history, caller counts, and test coverage. Produces a Markdown report with evidence, potential attack scenarios, affected code, and clear limits on what was reviewed.

  • Reviewing a pull request for security risks
  • Checking whether a fixed bug has returned
  • Assessing which callers a change could affect
trailofbits/skills7.6KUpdated Oct 16, 2026

semgrep

FreeSummary

Scan source code for security weaknesses with Semgrep after approving the target and rulesets. Choose full results or focus on important findings, then receive merged results and a record of failed or skipped scans.

  • Audit source code for security weaknesses
  • Check for vulnerabilities before code review
  • Focus on findings with medium-to-high confidence and impact
trailofbits/skills7.6KUpdated Oct 16, 2026

skill-improver

FreeSummary

Runs repeated reviews and fixes on a Claude Code skill until no critical or major findings remain. Tracks findings across rounds, checks change boundaries, and stops for a design decision when fixes stop making progress.

  • Refining a skill until critical and major findings are resolved
  • Improving skill metadata, trigger descriptions, and references
  • Tracking recurring findings across review rounds
trailofbits/skills7.6KUpdated Oct 16, 2026

Assesses smart contract and blockchain codebases against Trail of Bits’ nine-category maturity framework. Produces evidence-backed ratings covering areas such as arithmetic, access controls, documentation, and testing, plus a prioritized improvement roadmap with effort estimates.

  • Assessing the maturity of a smart contract project
  • Identifying gaps in tests and documentation
  • Reviewing access controls and operational practices together
trailofbits/skills7.6KUpdated Oct 16, 2026

Scan Android APK files for Firebase configuration and access-control weaknesses in databases, storage, authentication, and cloud functions. Produce text and JSON reports with evidence, severity ratings, and suggested fixes for authorized security assessments.

  • Auditing Firebase security in Android apps
  • Checking unauthenticated database access
  • Testing storage listing and write permissions
trailofbits/skills7.6KUpdated Oct 16, 2026

github-triage

FreeSummary

Organize open GitHub issues and pull requests using the gh CLI, GitHub's command-line tool. Identifies resolved issues and pending fixes, estimates priorities and change sizes locally, and proposes closures, links, reviews, or merges for approval.

  • Clean up resolved issues left open
  • Link issues to pull requests with pending fixes
  • Estimate priorities and change sizes for outstanding work
trailofbits/skills7.6KUpdated Oct 16, 2026

Validate security patches by comparing vulnerable and patched code against exploit tests, related attack variants, and normal behavior. Produce reproducible logs showing remaining flaws, regressions, newly introduced security failures, and gaps that still need testing.

  • Validate an AI-generated security patch before review
  • Check related attack variants for incomplete fixes
  • Check whether a fix breaks normal behavior
trailofbits/skills7.6KUpdated Oct 16, 2026

Create an interactive HTML guide to a branch’s code changes, with complete file diffs arranged in a logical reading order, explanations of design choices, and review findings labeled by severity.

  • Understanding a branch’s changes in a logical order
  • Reviewing diffs alongside design explanations
  • Checking findings labeled by severity
trailofbits/skills7.6KUpdated Oct 16, 2026

Creates custom Semgrep rules to detect vulnerabilities, bug patterns, or coding standard violations. Builds tests for unsafe and safe examples, then validates and refines each rule to check for false alarms and missed cases.

  • Creating detection rules for recurring bug patterns
  • Tracking untrusted input reaching dangerous operations
  • Enforcing coding standards with custom rules
trailofbits/skills7.6KUpdated Oct 16, 2026

Port an existing Semgrep rule to specified programming languages, producing separate rule and test files for each. The skill checks applicability, adapts detection patterns to each language, and reports validation results.

  • Porting an existing rule to Go or Java
  • Checking whether a detection pattern applies to another language
  • Creating language-specific detection and safe-code tests
trailofbits/skills7.6KUpdated Oct 16, 2026

mutation-testing

FreeSummary

Assess test strength by introducing deliberate code changes with mewt or muton. Configure test runs, examine changes that tests miss, distinguish harmless equivalents from testing gaps, and investigate potential bugs in the affected code.

  • Set up and scope a mutation testing run
  • Investigate code changes that tests fail to detect
  • Distinguish equivalent changes from testing gaps
trailofbits/skills7.6KUpdated Oct 16, 2026

Review Substrate and Polkadot runtime modules, called pallets, for seven security patterns, including unsafe arithmetic, crashes, incorrect processing costs, and weak permission checks. Produce a complete coverage table, findings with code references, and proposed fixes.

  • Auditing custom Substrate pallets
  • Reviewing processing costs and fees
  • Checking permissions for privileged operations
trailofbits/skills7.6KUpdated Oct 16, 2026

pr-improver

FreeSummary

Runs repeated PR reviews and fixes on the directories changed by the current branch. Uses an installed reviewer, checks editing scope after each round, and reports whether blocking findings were resolved or the loop stopped.

  • Cleaning up a branch before opening a pull request
  • Fixing review findings before updating a pull request
  • Repeating reviews after each fix
trailofbits/skills7.6KUpdated Oct 16, 2026

Review smart contract projects against Trail of Bits development guidelines. Examines architecture, upgrade mechanisms, implementation, dependencies, and tests, then provides system documentation, identifies gaps, and recommends improvements in priority order with code references.

  • Review smart contract architecture
  • Check upgrade and proxy designs
  • Identify gaps in specifications and documentation
trailofbits/skills7.6KUpdated Oct 16, 2026

dwarf-expert

FreeSummary

Inspect DWARF, the debug information stored with compiled code, to find functions and types, check structural integrity, and clarify specification details. Also helps write parsing tools using libraries such as pyelftools, libdwarf, or gimli.

  • Finding functions and types in debug information
  • Checking DWARF structural integrity
  • Comparing debug-information quality metrics
trailofbits/skills7.6KUpdated Oct 16, 2026

Reviews Algorand smart contracts written in TEAL or PyTeal for 11 vulnerability patterns. Produces a complete coverage table and findings with code references, severity ratings, and suggested fixes, with optional automated checks using Tealer.

  • Security checks before an Algorand contract audit
  • Reviewing TEAL or PyTeal transaction validation
  • Verifying fixes for reported vulnerabilities
trailofbits/skills7.6KUpdated Oct 16, 2026

Build a documented understanding of unfamiliar code before a security audit. It records function assumptions, guarantees, dependencies, and open questions, producing a dossier and individual function notes to support later vulnerability analysis.

  • Understanding unfamiliar code before an audit
  • Mapping dependencies for threat modeling
  • Preparing background notes for an architecture review
trailofbits/skills7.6KUpdated Oct 16, 2026

Review token contracts and the protocols that accept them for ERC20/ERC721 compliance, privileged controls, and unusual transfer behavior. Produces evidence-based risk assessments and prioritized fixes, with supply and holder analysis when deployed contract details are provided.

  • Checking ERC20/ERC721 implementations against their standards
  • Reviewing support for tokens with unusual transfer behavior
  • Assessing administrator powers and upgrade risks
trailofbits/skills7.6KUpdated Oct 16, 2026

Build and test code with AddressSanitizer, a tool that detects invalid memory access during execution. Configure checks for C/C++ and unsafe Rust, investigate crash reports, and adjust settings for fuzzing, or testing with generated inputs.

  • Detect memory errors while fuzzing C/C++
  • Test unsafe Rust and calls to external libraries
  • Interpret an ASan crash report
trailofbits/skills7.6KUpdated Oct 16, 2026

Create an isolated development container configured for Claude Code and the project's languages. Generate container files, editor settings, dependency setup commands, and persistent storage for Python, Node/TypeScript, Rust, and Go projects.

  • Add devcontainer support to a project
  • Set up an isolated Claude Code workspace
  • Configure development tools for a multilingual project
trailofbits/skills7.6KUpdated Oct 16, 2026