New:Socket for Asana Is Now Available.Learn more
Get Started

hacker-bob

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hacker-bob

Portable autonomous bug bounty hunting MCP framework with host adapters

Source
npmnpm
Version
1.3.2
Version published
Weekly downloads
14
-74.07%
Maintainers
1
Weekly downloads
 
Created
Source

Hacker Bob

Hacker Bob

A local MCP workflow framework for authorized bug bounty research.

CI hacker-bob on npm hacker-bob-cc on npm hacker-bob-codex on npm Apache-2.0 license OpenSSF Scorecard

Hacker Bob installs a local MCP runtime into a project directory and connects it to Claude Code, Codex, or another MCP-capable host. The runtime coordinates reconnaissance, authentication setup, parallel surface testing, finding verification, grading, reporting, and local evidence handling.

Bob is designed for authorized security testing. It can send real network requests, run local recon tools, import local artifacts, and preserve sensitive run data on disk. You are responsible for using it only where you have permission.

Quickstart

Choose the project directory where you want to run Bob. Install into that project, not into this source checkout unless you are developing Bob itself.

npx -y hacker-bob@latest install /path/to/your/project
cd /path/to/your/project
node -e "require('./mcp/server.js'); console.log('MCP ok')"

Restart your host CLI from the same project directory, then run the matching command:

HostCommand
Claude Code/bob-hunt target.com
Codex$bob-hunt target.com
Generic MCP hostConnect the generated .mcp.json, then follow .hacker-bob/generic-mcp/hacker-bob.md.

Run a status check before a full hunt if you want to confirm the integration is loaded:

HostStatus command
Claude Code/bob-status
Codex$bob-status
Shellhacker-bob doctor /path/to/your/project

Safety

Only run Bob against targets, accounts, applications, APIs, and infrastructure you own or are explicitly authorized to test. Read the target program's scope and rules of engagement before starting a hunt.

Bob does not prove authorization, enforce a program policy, or guarantee containment. By default, supported HTTP tooling does not block localhost, private networks, internal hostnames, or cloud metadata-style hostnames. That default keeps local labs, VPN scopes, internal programs, and authorized pivots usable, but it also means you must choose targets carefully. For tools that support it, pass block_internal_hosts: true when you need that restriction.

If your Claude Code workflow uses --dangerously-skip-permissions, use it only in a dedicated workspace for authorized security testing.

Installation

hacker-bob is the canonical npm package:

npx -y hacker-bob@latest install /path/to/your/project

Adapter-specific installs are available when you want to choose the host explicitly:

npx -y hacker-bob@latest install /path/to/your/project --adapter claude
npx -y hacker-bob@latest install /path/to/your/project --adapter codex
npx -y hacker-bob@latest install /path/to/your/project --adapter generic-mcp
npx -y hacker-bob@latest install /path/to/your/project --adapter all

The installer is idempotent and preserves unrelated host configuration. It writes the shared MCP runtime to mcp/, neutral Bob resources to .hacker-bob/, and adapter-specific files for the selected host.

AdapterInstalled files
claude.claude/ commands, skills, agents, hooks, statusline setup, and MCP settings.
codex$bob-* skills in ~/.codex/skills, a local .codex/plugins/hacker-bob plugin, .agents/plugins/marketplace.json, and Codex MCP activation metadata.
generic-mcpA root .mcp.json entry plus prompt guide files under .hacker-bob/generic-mcp/.

When --adapter is omitted, Bob chooses an adapter from prior install metadata, host environment markers, project files, and installed host CLIs. Claude is the final fallback.

The MCP server namespace is still bountyagent. Seeing bountyagent in .mcp.json, claude mcp list, or tool names such as mcp__bountyagent__bounty_* is expected and kept for compatibility.

Small wrapper packages are available when you want the host choice encoded in the package name:

npx -y hacker-bob-cc@latest install /path/to/your/project
npx -y hacker-bob-codex@latest install /path/to/your/project

You can also install the CLI globally:

npm install -g hacker-bob
hacker-bob install /path/to/your/project --adapter claude

A global install only adds the hacker-bob command to your PATH; it does not install Bob into every project automatically.

Source installs are for contributors and local development:

git clone https://github.com/vmihalis/hacker-bob.git
cd hacker-bob
./install.sh /path/to/your/project

Commands

Claude Code commands:

/bob-hunt target.com         # start a normal hunt
/bob-hunt target.com --deep  # broader recon and deep lead follow-up
/bob-hunt resume target.com  # resume an existing session
/bob-status                  # show latest session status
/bob-debug                   # inspect the latest local run
/bob-update                  # preview and install the latest release
/bob-export                  # create a release-scoped improvement bundle

Codex uses the same command names with a $ prefix:

$bob-hunt target.com
$bob-status
$bob-debug
$bob-update
$bob-export

For install diagnostics:

hacker-bob doctor /path/to/your/project
hacker-bob doctor /path/to/your/project --adapter codex

How A Hunt Works

Bob follows a structured workflow:

RECON -> AUTH -> HUNT -> CHAIN -> VERIFY -> GRADE -> REPORT
  • RECON: Collects subdomains, live hosts, archived URLs, crawled URLs, nuclei signals, JavaScript hints, and optional deep-recon lead data.
  • AUTH: Attempts authorized account setup when possible and records usable profiles for later differential testing.
  • HUNT: Starts parallel hunters against runtime-prioritized attack surfaces.
  • CHAIN: Evaluates whether individual findings combine into higher-impact scenarios.
  • VERIFY: Runs independent verification passes and collects bounded evidence for surviving reportable findings.
  • GRADE: Scores confirmed findings and decides whether they are ready to submit, should be held, or should be discarded.
  • REPORT: Produces a clean report with verified proof and evidence references.

MCP ranking computes runtime priority for status views and hunter briefs. Imports and public-intel fetches do not rewrite attack_surface.json.

Requirements

  • Node.js 20 or newer
  • One supported host: Claude Code, Codex, or another MCP-capable host
  • curl and python3
  • A dedicated project directory for the installed runtime

Optional recon tools improve coverage when they are installed:

go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
go install github.com/projectdiscovery/httpx/cmd/httpx@latest
go install github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
go install github.com/owasp-amass/amass/v4/...@latest
go install github.com/tomnomnom/assetfinder@latest
go install github.com/projectdiscovery/chaos-client/cmd/chaos@latest
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest
go install github.com/projectdiscovery/tlsx/cmd/tlsx@latest
go install github.com/projectdiscovery/katana/cmd/katana@latest
go install -v github.com/PentestPad/subzy@latest
git clone https://github.com/ticarpi/jwt_tool ~/jwt_tool
python3 -m pip install -r ~/jwt_tool/requirements.txt

Bob still runs without the optional tools; the installed toolset determines which recon paths are available.

Updates

From Claude Code:

/bob-update

From Codex:

$bob-update

From a shell:

hacker-bob update /path/to/your/project --adapter claude

After an update, fully restart your host CLI in the project directory so it reloads commands, MCP config, hooks, and skills.

Bob also checks for available updates once per day on session start and stores the result under ~/.cache/hacker-bob/update-checks/. Status views read that local cache.

Exporting Run Data

After testing with an installed release, run /bob-export in Claude or $bob-export in Codex. Bob writes a timestamped bundle under:

~/bounty-agent-telemetry/release-bundles/v<version>/

The bundle includes summaries, filtered telemetry, session references, and a handoff document for improving future releases. Export is read-only and does not touch targets.

Troubleshooting

Use the doctor command first:

hacker-bob doctor /path/to/your/project --adapter all

Common checks:

  • node -e "require('./mcp/server.js'); console.log('MCP ok')" should pass from the installed project.
  • Claude Code must be restarted after install or update before /bob-* commands and MCP settings load.
  • Codex must be restarted after install or update before $bob-* skills and local plugin wiring load.
  • .mcp.json should contain an mcpServers.bountyagent entry pointing at the installed project's mcp/server.js.
  • If an upgrade leaves mcp/lib/tools/ missing, rerun the installer with hacker-bob@latest.

Detailed guides:

Data And Security Model

Bob stores local run state, telemetry, and evidence under ~/bounty-agent-sessions. Treat that directory as sensitive. It can contain target names, request metadata, notes, credentials metadata, and report evidence from authorized testing.

During a hunt, Bob may make outbound HTTP requests, run local recon tools, import HTTP or static artifacts, and use host-side reasoning over the collected context. Optional third-party services and dependencies, such as browser automation dependencies, CAPTCHA solving, public-intel sources, or external recon tools, are used only when you configure the relevant dependencies or credentials.

The npm packages are published through the project release workflow with npm provenance. hacker-bob is the canonical package; hacker-bob-cc and hacker-bob-codex are small wrapper packages that depend on the matching canonical version.

Read DISCLAIMER.md before using Bob on any target.

Development

For local development on Bob itself:

npm test
npm run release:check

To push the current checkout into a separate test workspace:

./dev-sync.sh /absolute/path/to/test-workspace
./dev-sync.sh /absolute/path/to/test-workspace --adapter codex

The maintainer workflow is documented in CLAUDE.md.

Contributing

Pull requests are welcome. Read CONTRIBUTING.md before opening an issue or PR. Report vulnerabilities in Hacker Bob itself through SECURITY.md.

License

Apache License 2.0. See LICENSE and NOTICE.

FAQs

Package last updated on 11 May 2026

Related posts