fuzzing dictionary

Other Community

Skill notes

Overview

Dictionaries are text files containing quoted strings that represent meaningful tokens for your target. They help fuzzers bypass early validation checks and explore code paths that would be difficult to reach through blind mutation alone.

Key Concepts

Concept · Description Dictionary Entry · A quoted string (e.g., "keyword") or key-value pair (e.g., kw="value") Hex Escapes · Byte sequences like "\xF7\xF8" for non-printable characters Token Injection · Fuzzer inserts dictionary entries into generated inputs Cross-Fuzzer Format · Dictionary files work with libFuzzer, AFL++, and cargo-fuzz

When to Apply

Apply this technique when: Fuzzing parsers (JSON, XML, config files) Fuzzing protocol implementations (HTTP, DNS, custom protocols) Fuzzing file format handlers (PNG, PDF, media codecs) Coverage plateaus early without reaching deeper logic

Quick Reference

Task · Command/Pattern Use with libFuzzer · ./fuzz -dict=./dictionary.dict ... Use with AFL++ · afl-fuzz -x ./dictionary.dict ... Use with cargo-fuzz · cargo fuzz run fuzz_target -- -dict=./dictionary.dict Extract from header · grep -o '".*"' header.h > header.dict

Step 1: Create Dictionary File

Create a text file with quoted strings on each line. Use comments (#) for documentation. Example dictionary format:

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@trailofbits · no license declared
Token usage
Lean
Setup complexity
Plug-and-play
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
  • Write / modify
Network behavior
External requests
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview fuzzing-dictionary.preview
# Additional Examples

**[OSS-Fuzz Dictionaries](https://github.com/google/oss-fuzz/tree/master/projects)** Real-world dictionaries from Google's continuous fuzzing service. Search project directories for `*.dict` files to see production examples.

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.