About Hacker Bob
Hacker Bob is an MCP server published by vmihalis in the Social category: a local MCP runtime that attacks what you own and only reports what it proved. 17 CVEs across 9 projects came out of this repo. Install: npx -y hacker-bob@latest install /path/to/project, then run /bob-evaluate target.com. Conduid read 38 tools from its source: bob_advance_session, bob_append_frontier_event, bob_apply_wave_merge, bob_attach_contract, bob_auth_store, bob_build_verification_adjudication and 32 more. No package is published for it, so it installs from a source checkout.
The repository has 101 stars and 19 forks, and its last commit was on 7 Nov 2026. Conduid has no tagged release on record for it. Its topics include appsec, cve, fuzzing, offensive-security, pentesting and security.
Install
git clone https://github.com/vmihalis/hacker-bobTools (38)
bob_advance_sessionAdvance the persisted SessionNucleus to a new lifecycle_state. Enforces the allowedTransitions table from lifecycle-gates.js. Pass override: "operator_force" with a non-empty override_reason to bypass blockers; the override is folded (as override/override_reason/blockers fields) into the single governance.lifecycle.advanced event recorded in session-events.jsonl.bob_append_frontier_eventAppend a frontier event to frontier-events.jsonl. Append-only authority. Each event is normalized, content-hashed, and bounded by FRONTIER_EVENTS_MAX_RECORDS. Most producers append events implicitly via init/leads/routes/http/static/coverage/dead-ends; this tool is for rare direct operator use and internal tooling.bob_apply_wave_mergeApply one wave merge to session state from authoritative structured handoff JSON, including exclusions, leads, and findings summary.bob_attach_contractAttach a hash-bound Contract to a TaskGraph node and transition the node to "contracted". The default path is proposed → contracted; the X.8 re-contract path also allows failed → contracted (operator re-contracts a failed node with a refined Contract; prior failure events stay on the ledger so the next bob_prepare_node call's `prior_attempt` brief slice surfaces the structured failure payload). Validates the Contract schema (≥1 invariant + ≥1 witness + ≥1 production_path per X-P2; invariant statements capped at ${INVARIANT_STATEMENT_MAX_CHARS} chars),hashes the canonical form with the per-Contract severity_floor bound in (X-D9), and runs the pre-dispatch satisfiability check (X-D11): every production_paths[].tool_call_pattern[].tool must exist in the MCP tool registry, every tool_output_match witness must reference a tool present in production_paths, and every relational_value_match / hash_equals predicate must use an artifact_ref prefix in the X-D12 closed set. Mismatch → structured contract_unsatisfiable refusal.bob_auth_storeStore an authentication profile by profile_name. Names such as attacker, victim, admin, and tenant_b are caller-defined auth profiles.bob_build_verification_adjudicationBuild the deterministic v2 verification adjudication plan from current brutalist and balanced rounds.bob_clear_operator_noteClear the compact operator note from session state.bob_clear_terminal_blockClear a terminally-blocked surface from the frontier ledger and record the clear in state.terminal_block_clear_history. Operator-driven: call this only after the missing prerequisite material (auth profile, egress profile, funded wallet, etc.) has been registered. Rejects surfaces that are not currently terminally blocked (per frontier-projections.currentBlockers), and rejects clearing while a wave is pending — the operator must merge the current wave first. The reason field (>=20 chars) is durable in state.json, not just the pipeline event. blocked_prereq_history is retained for debugging; the loop detector uses the clear epoch to ignore pre-clear entries.bob_emit_runtime_driftOrchestrator-facing entry for runtime-channel protocol drift telemetry (Y-D13). The runtime emits defensively when the live tool call disagrees with the agent's expectation (write-arg INVALID_ARGUMENTS retries that succeed, wrong-mode tool calls, hook denials on Bob-owned hooks, partial-surface advance acknowledgements). Y-P7: ADVISORY telemetry only — the runtime never decides skill-vs-MCP rightness. detected_by is ALWAYS stamped 'mcp_runtime_auto_emit'; voluntary agent emissions go through bob_log_protocol_drift. Per Y-R20: idempotent on (run_id, drift_signature, details.tool).bob_evaluate_capabilitiesRun the built-in capability evaluation harness. Each fixture exercises a specific capability against synthetic inputs and asserts the expected outcome (security-class divergence emitted, top-K finding ranked correctly, frontier branched, etc.). Call without args to run every fixture; pass `fixture: '<name>'` to run one. Use to catch capability regressions before parishioner review.bob_export_security_hub_findingExport finalized SUBMIT/MEDIUM+ Hacker Bob findings to AWS Security Hub as ASFF records, write the hash-bound evidence bundle to S3 Object Lock, and append aws-security-hub-export.jsonl. Requires an existing ReportSnapshot row from bob_finalize_report.bob_finalize_agent_runEvaluator-final completion check that validates the structured wave handoff and records metadata-only completion telemetry.bob_finalize_nodeFinalize a TaskGraph node (clou-style three-call protocol, third call). Validates prep_token against the most recent dispatched node.transitioned event; refuses stale tokens, refuses empty agent_output. Emits dispatched → executed, then runs the X.6 mechanical verifier FIRST (X-P3). On verifier failure → executed → failed with structured failure_reason (including extracted values for relational_value_match failures so the next bob_prepare_node call's prior_attempt slice can inline them). On verifier pass → executed → verified → finalized with severity_floor-gated adjudication chain queued in the verified payload (X-D9). Computes edge_added_to[] from now-unblocked downstream nodes (contracted nodes whose surface_refs overlap). Orchestrator + graph-scheduler only.bob_get_context_budgetReturn the versioned context budget for a capability pack. If surface_id is supplied, target_domain is required so the routed surface can be validated.bob_import_http_trafficImport Burp/HAR-style request history into session-owned traffic.jsonl. Entries are validated, capped, deduped, and limited to the target's first-party hosts.bob_ingest_audit_reportParse a markdown audit report into structured findings and persist them to audit-reports.jsonl. Idempotent by source_doc_hash; later ingestion of the same report is a no-op for unchanged content. Each finding gains a vulnerability_class label (reentrancy, access_control, arithmetic_overflow, oracle_manipulation, ...) so I5's invariant template corpus can suggest matching Foundry harnesses.bob_init_sessionInitialize a new session state.json for a target domain.bob_list_auth_profilesReturn redacted auth profile status for a target. Shows profile names, header/cookie key names, credential presence, and expiry/staleness hints without token, cookie, localStorage, or password values.bob_list_candidate_claimsList all recorded candidate claims for a target. Each row is projected from the claim's inline finding payload.bob_log_capability_frictionAppend a capability_friction_observed observation to frontier-events.jsonl. The agent declares the MCP tool it wanted (wanted_tool MUST exist in TOOL_REGISTRY), the closed-enum purpose, the Bash fallback it reached for, and the friction_kind (tool_absent vs tool_inadequate). tool_inadequate REQUIRES inadequate_invocation_ref pointing at a recorded MCP invocation in the same run_id (Y-P10 mechanical witness). Per-(run_id, node_id, wanted_tool, friction_kind, purpose, detected_by) idempotent (Y-P3) — second emission with the same canonical identity is silently de-duped. friction_kind is an identity field so a tool_absent and a tool_inadequate record for the same tool/purpose/detected_by coexist (Y-P11).bob_log_coverageAppend concise endpoint/bug-class/auth-profile coverage records for the assigned surface. Call after meaningful tests and before long pivots so coverage survives maxTurns. Validated against wave assignments.bob_log_dead_endsAppend dead ends and WAF-blocked endpoints discovered so far. Call periodically (~every 30 turns) so terrain survives if the evaluator hits maxTurns. Validated against wave assignments.bob_log_protocol_driftAppend a protocol_drift_observed observation to frontier-events.jsonl. Drift records are advisory telemetry only (Y-P7); the runtime NEVER decides skill-vs-MCP rightness. CI dimensions (Y.7 lifecycle / write-tool-schema / runtime-constraint) and operators resolve drift. Per-(run_id, skill_path, drift_signature) idempotent — runtime-emitted records without a skill_path collapse onto a <runtime> sentinel so multiple CI drifts on the same run coexist.bob_log_technique_attemptAppend one validated technique-pack selection, attempt, skip, or outcome record to MCP-owned technique-attempts.jsonl.bob_materialize_cell_floorMaterialize the deterministic coverage-cell FLOOR: sweep the surface inventory and emit one cell_proposed observation.recorded event per reachable (element x bug_class x auth_role) cell (OSS surfaces fan out sanitizer x input_class, no auth axis), which the materializer folds into schedulable 'cell' TaskGraph nodes. Already-covered cells are pruned; the floor is enumerated regardless of the nesting depth budget. Single-spawner: the orchestrator appends, no worker spawn.bob_materialize_frontierFold frontier-events.jsonl into the surface-index.json and task-queue.json materialized views and write both to disk under the session root. Producers trigger a debounced auto-materialization; this tool is for rare direct operator use or recovery after an external mutation of the event log.bob_materialize_producer_floorMaterialize the deterministic recon-producer FLOOR: sweep the PRODUCER_PACKS DAG and emit one producer_proposed observation.recorded event per producer that is ready (root seed present / an available upstream artifact kind intersects its consumes) and not already terminal in the producer_run ledger, which the materializer folds into schedulable 'producer' TaskGraph nodes. Drains to producer_floor_at_fixpoint (no new non-advisory producer). Not-ready derived producers are reported in producer_gaps[] / uncovered_input_types[], never dropped. Single-spawner: the orchestrator appends, no worker spawn.bob_materialize_task_graphFold frontier-events.jsonl into the deterministic task-graph.json materialized view and write it under the session root. Producers already trigger a debounced auto-materialization; this tool is for rare direct operator use or recovery after an external mutation of the event log. Refuses materialization when the ledger exceeds 18,000 events (per X-R1 ledger-pressure guardrail).bob_merge_wave_handoffsMerge structured wave handoffs for one wave using the persisted assignment file.bob_plan_recon_anglesPlan the SETUP recon sweep: emit a deterministic recon-angle fan-out plan for a target_domain. Returns plan.mode ('fanout' | 'sequential') and the four coverage-disjoint angles (host_family, urls, nuclei, js_jwt) read off the surface-discovery steps. Resolves the host pool server-side and the lifetime governor (queue-policy max_total_spawned_agents minus the spawn-ledger total): a finite-pool/unknown host or an exhausted governor degrades to a single sequential agent (today's path) without dropping any angle. Read-only, non-mutating, deterministic.bob_prepare_nodePrepare a TaskGraph node for dispatch (clou-style three-call protocol, first call). Reads the node from the materialized task-graph, derives its capability pack via X.5 (≤1-hop graph context per X-P5), renders the per-node brief via the X.8 `node` profile slice registry, and mints a prep_token binding node_id + contract_hash + brief_hash + materialized_at + graph_context_hash so post-dispatch drift is detectable. Emits node.transitioned (contracted | ready) → dispatched with prep_token in payload. Per X-P9 the brief inlines DISTILLED SUMMARIES of recommended_reads — never bodies; the agent calls bob_resolve_body for bodies. When the node has prior node.transitioned → failed events on the ledger (operator re-contracted a failed node via bob_attach_contract per the X.8 re-contract path), the brief surfaces the prior failure payloads in the `prior_attempt` slice so the agent reasons against the prior verdict. Refuses on state ∉ {contracted, ready} or when no Contract is attached. Nodes with a physical_resource_bundle are refused on this public MCP path and must be prepared through the broker-private physical graph coordinator. Orchestrator + graph-scheduler only.bob_promote_surface_leadsPromote top-ranked entries from surface-leads.json into frontier surface events so later waves can assign them from surface-index.json.bob_propose_friction_promotionPromote a recorded capability_friction_observed group to a NEW TaskGraph Hypothesis (Y-P6). Scans frontier-events.jsonl for frictions matching (wanted_tool, friction_kind, surface_id?) and, when the group reaches the operator-configurable promotion threshold (queue-policy.friction_promotion_threshold; min_frictions override per call), appends a hypothesis_proposed observation whose suggested_contract threads the bounded friction_history AND a pack_widening_request naming the wanted_tool. The downstream bob_attach_contract (X.4) sees the widening request BEFORE the satisfiability gate runs — Y-P6 pack widening BEFORE satisfiability. tool_absent and tool_inadequate groups do NOT merge (separate groupings). tool_inadequate frictions are Y-P11 synthetic-quarantined by default; pass include_inadequacy: true to opt in. Idempotent: a prior promotion covering the same friction event_ids short-circuits.bob_propose_hypothesisPropose a TaskGraph Hypothesis node. Appends an observation.recorded frontier event with payload.kind: "hypothesis_proposed". The hypothesis_statement is capped at ${HYPOTHESIS_STATEMENT_MAX_CHARS} characters at append time per X-P9(over → structured prose_too_long error). The Hypothesis stays Contract-less until bob_attach_contract (X.4) attaches one and binds the dispatcher-ready Contract hash to the node.bob_propose_transitionPropose a TaskGraph Transition node bridging two surfaces. Appends an observation.recorded frontier event with payload.kind: "transition_proposed". trust_assumption is capped at ${TRANSITION_TRUST_ASSUMPTION_MAX_CHARS} characters at append time per X-P9(over → structured prose_too_long error). The transition_kind must be in the X-D3 closed enum so the cross-stack brief composer (X.11) can select the right hunting vocabulary.bob_public_intelFetch optional public bug bounty intel: HackerOne-style program policy summary, stats, structured scopes, disclosed report hints, and operator-provided NVD/CVE JSON matched against the current attack surface. Network/API failures degrade to empty results with errors.bob_query_audit_reportsQuery the persisted audit-report corpus for a target. Filters by severity (critical/high/medium/low/informational/info) and vulnerability_class (reentrancy, access_control, arithmetic_overflow, etc.). Use to enumerate audit findings before generating invariants for a Foundry harness.bob_read_assignment_briefReturn everything a evaluator needs to start testing: assigned surface, exclusions, valid surface IDs, coverage summary, ranking summary, run context budget, plus profile-specific context. Web evaluators get bypass tables, bounded technique_packs.selected with registry warnings, small legacy technique/payload hint summaries, traffic/audit/circuit-breaker summaries, public intel, and static scan hints. Smart-contract evaluators get bob_spec_status (filtered to their surface) and the chain rpc_pool. Evaluators call this once on startup instead of receiving everything via spawn prompt.Security checks
6 checks have not been run yet.