Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

fuzzing-dictionary — Claude Code skill: what it does, how to install

Generates and connects token dictionaries for parsers and protocols in libFuzzer or AFL++ when coverage stalls on initial checks.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add trailofbits/skills --skill fuzzing-dictionary -a claude-code
Open on GitHub

What fuzzing-dictionary does

Blind mutations rarely hit deep branches in format parsers or network protocols. This skill instructs the agent to assemble targeted dictionaries containing protocol commands, magic bytes, and format delimiters for libFuzzer and AFL++.

Tokens can be pulled from C headers using grep or extracted from compiled binaries with strings. For AFL++, the compiler afl-clang-lto can also harvest string comparisons at build time via AFL_LLVM_DICT2FILE. Entries are saved as quoted strings or hex escapes like \xF7\xF8.

Dumping thousands of tokens into a file hurts mutation speed. Keeping the dictionary focused between 50 and 200 entries yields better results, because the engine wastes fewer cycles on meaningless variations. Also, libFuzzer silently ignores any dictionary entry longer than -max_len.

What it helps with

  • Build token dictionaries for file format and protocol fuzzers
  • Extract keywords from header files and compiled binaries
  • Configure dictionary flags for libFuzzer or AFL++
  • Prevent fuzzers from stalling on magic bytes and header checks

Example prompts for the agent

  • Generate a dictionary file for a PNG parser with magic bytes and chunk names.
  • Extract quoted string tokens from header.h into a format ready for libFuzzer.
  • Show how to pass multiple dictionary files to afl-fuzz for protocol testing.

How to install fuzzing-dictionary

1Skills CLI (Vercel)

npx skills add trailofbits/skills --skill fuzzing-dictionary -a claude-code

2Manually: put the files in place

~/.claude/skills/fuzzing-dictionary/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/fuzzing-dictionary/

From the same set35

The whole set →
semgrep trailofbits Runs a Semgrep static security audit on your codebase. It presents a plan for user confirmation and merges all findings into SARIF. Claude Code CX Codex Cursor +1 9,500installs differential-review trailofbits Reviews code changes for security issues using Git history and test coverage. Use it for commits, diffs, and pull requests that need a written review report. Claude Code CX Codex Cursor +1 8,800installs modern-python trailofbits Configures Python projects with a modern tooling stack: uv for dependency management, ruff for linting and formatting, ty for type checking. Use when starting new projects, writing scripts, or migrating from legacy tools. Claude Code CX Codex Cursor +1 8,700installs secure-workflow-guide trailofbits Guides smart contracts through Trail of Bits' 5-step security audit on check-in or before deployment. It runs static analysis, generates visual charts, and prepares fuzzing tests. Claude Code CX Codex Cursor +1 7,400installs sharp-edges trailofbits Audits API designs and configuration schemas for developer footguns. Flags dangerous defaults and fragile interfaces where the easiest path causes security vulnerabilities. Claude Code CX Codex Cursor +1 6,900installs agentic-actions-auditor trailofbits Inspects GitHub Actions workflows for prompt injection risks and insecure AI agent setups. Catches attacker inputs leaking into prompts via event contexts or environment variables. Claude Code CX Codex Cursor +1 6,700installs gh-cli trailofbits A skill that redirects GitHub requests from curl and fetch to authenticated gh CLI for repositories, pull requests, and issues. Use it for private repos and higher API limits. Claude Code CX Codex Cursor +1 6,600installs variant-analysis trailofbits Finds related occurrences of an already identified defect across a repository. Use it after a vulnerability or logic issue turns up and similar code needs checking. Claude Code CX Codex Cursor +1 6,400installs

Similar

arize-experiment official arize Runs Arize experiments with the ax CLI to benchmark models and export evaluation scores across dataset versions. GitHub Copilot 1,100installs arize-evaluator official arize Runs LLM-as-judge workflows in Arize for spans and experiments, with evaluator management, task control, column mapping, and continuous monitoring. GitHub Copilot 1,100installs arize-dataset official arize This skill manages Arize datasets and examples through ax. Use it for test sets, evaluation examples, and dataset exports. GitHub Copilot 1,100installs lint-and-validate sickn33 Runs configured linters and type checkers after code changes, telling actual failures apart from tools that never ran. Claude Code CX Codex Cursor +1 1,300installs improve-codebase-architecture Matt Pocock This skill scans a codebase for architectural friction, then builds a visual HTML report with refactoring candidates. Use it before a deeper architecture review. Claude Code 1,163,035installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. Claude Code CX Codex Cursor +1 673,100installs tdd Matt Pocock Guides the red-green TDD loop: ensures tests are written first, keep them at public interfaces, and avoid coupling to implementation details. Claude Code 1,141,062installs skill-creator official anthropics Creates and refines skills, then tests them with prompts, evaluations, and performance checks. Claude Code Claude.ai 414,180installs

Questions about fuzzing-dictionary

How do I install fuzzing-dictionary in Claude Code?

Run npx skills add trailofbits/skills --skill fuzzing-dictionary -a claude-code in your terminal.

What does fuzzing-dictionary do?

It guides the creation of token lists containing keywords, magic numbers, and byte sequences to help fuzzers reach deeper parser logic.

Which fuzzing tools work with these dictionaries?

The generated format works with libFuzzer via -dict, AFL++ via -x, and cargo-fuzz using the -- -dict argument.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor