Architecture of elementalsouls/claude-bughunter
elementalsouls/claude-bughunter is 352 source files holding 1,214 symbols across 10 modules, written mainly in Python, Shell, Dockerfile. The largest module is engine, with 49 files, and 8 files are entry points into the dependency graph.
How claude-bughunter fits together
Skill files are grouped by topic, covering web app vulnerability classes, enterprise platform attacks, reconnaissance and reporting, and Claude loads them when a request matches. The plugin manifest at .claude-plugin/plugin.json registers these skills and slash commands with Claude Code. The cbh/cli.py file is the entry point for the cbh terminal runner, and the cbh directory is where a target's scope is loaded. The engine directory holds the Autonomous Hunt Engine, which maps the attack surface of an authorized target from a scope file of in-scope and out-of-scope hosts, and engine/scope.py enforces that scope in code. The engine/engine.py and engine/recon.py files are hotspot files of the engine, and the scripts directory holds install.sh, which copies skills and commands into the Claude Code configuration directory.
Largest modules
- engine: 49 files and 4,543 lines of code
- tests: 29 files and 1,743 lines of code
- scripts: 15 files and 1,982 lines of code
- docs: 10 files and 1,230 lines of code
- research: 9 files and 757 lines of code
- eval: 8 files and 982 lines of code
- cbh: 3 files and 1,793 lines of code
- skills: 3 files and 1,280 lines of code
Languages
By file count: Python 121 files, Shell 5 files, Dockerfile 2 files.
Documentation
Repowise documents claude-bughunter in 93 pages generated from the source, 13 of them written explanations of the repository and its modules. Module guides include:
- engine: Autonomous Hunting Engine
More on claude-bughunter: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos