Docs-first hub for AI bug bounty workflows with schemas, checklists, pipeline scripts, and component integration guidance for authorized testing of AI-enabled applications (RAG, embeddings, fine-tuning, tool-using agents, and logging).
This project is informational and operational guidance only. It is not legal advice. Only test systems where you have explicit authorization.
ROADMAP.mdBUGCROWD.mdGUIDE.mdCONTEXT.mddashboard.html(local repo overview)docs/PROJECT_OUTLINE.mddocs/ROE.mddocs/BUG_BOUNTY_STARTER_WORKFLOW.mddocs/BUGCROWD.md(MkDocs copy ofBUGCROWD.md)docs/GUIDE.md(MkDocs copy ofGUIDE.md)docs/PROJECT_MANAGEMENT.mddocs/TARGET_PROFILE.mddocs/THREAT_MODEL.mddocs/LLM_THREAT_MODEL.mddocs/PROGRAM_REGISTRY.mddocs/INGESTION_FEASIBILITY.mddocs/KNOWLEDGE_FORMAT.mddocs/KNOWLEDGE_TAGS.mdknowledge/INDEX.mddocs/KNOWLEDGE_INDEX.md(MkDocs-published knowledge index)docs/knowledge/(MkDocs-published knowledge pages)docs/ARCHITECTURE.mddocs/ADR_COMMAND_CENTER_ARCHITECTURE.mddocs/COMMAND_CENTER_TRIAGE.mddocs/PIPELINE.mddocs/TRIAGE.mddocs/SEVERITY_MODEL.mddocs/INTEL.mddocs/TOOLS.mddocs/ENVIRONMENT.mddocs/COMPONENTS.mddocs/COMPONENT_CONTRACT.mddocs/COMPONENT_MANIFEST.mddocs/REPORTING.mddocs/PUBLIC_ONLY_MODE.mddocs/EVIDENCE_LOG.mddocs/TOOLS_POLICY.mddocs/SAFE_DEFAULTS.mddocs/PIPELINE_GUARDRAILS.mddocs/THREAT_MODELING_METHOD.mddocs/SCOPING_GUIDE.mddocs/OPERATIONS.mddocs/REDACTION_GUIDE.mddocs/REPORTING_EXAMPLES.mddocs/GOVERNANCE_SECURITY.mddocs/RISK_ASSESSMENT.mddocs/CHANGELOG_POLICY.mddocs/IMPROVEMENT_TASKS.mddocs/CASE_STUDY_SELECTION.mddocs/SCORING.mddocs/NOTIFICATIONS.mddocs/MODULE_BOUNDARIES.mddocs/HACK_TYPES.mddocs/COVERAGE_MATRIX.mddocs/TESTING.mddocs/RELEASE_PLAN.mddocs/RELEASE_NOTES_TEMPLATE.mddocs/RELEASE_CHECKLIST.mdknowledge/checklists/bug-bounty-starter-workflow.md
docs/paths/bug-bounty-hunter.mddocs/paths/appsec-review.mddocs/paths/threat-model-only.md
- Preferred: run
python -m http.server 8000and openhttp://localhost:8000/dashboard.html. - If you open
dashboard.htmlviafile://, use "Import repo folder" (Chrome/Edge) to load data. - Bounties include a Level (P0-P4) lens/filter and a "Most Wanted" carousel (official icons when sponsor websites are set in Sponsor Profiles).
- Docs are browsable as a "forum" (categories from
mkdocs.yml). - Workflow includes a live tracker backed by
data/workflow_tracker.json(optional local overrides can be exported).
dashboard.htmlanddashboard/- local interactive repo overview (static HTML/CSS/JS)command-center/- React + TypeScript + Tailwind command-center app scaffold (MVP shell)command_center_api/- FastAPI backend with SQLite persistence and ingestion endpoints (MVP baseline)docs/- architecture, rules, and planning docsbounty_board/- planning-only bounty board markdown (public metadata only). Bugcrowd boards:bounty_board/bugcrowd/andbounty_board/bugcrowd_vdp/. Full brief exports are generated withpython -m scripts.bugcrowd_briefs(gitignored underbounty_board/bugcrowd_full/).schemas/- data model schemascomponents/- component repos (submodules or subtrees)knowledge/- sources, cards, and checklists (publish todocs/knowledge/withpython -m scripts.publish_knowledge_docs)examples/- sample profiles and outputsdata/- local tracking data and registriesevidence/- evidence registry entriestemplates/- scan planning, reporting, platform export, and engagement workspace templatesscripts/- bootstrap and automation scriptslabs/- synthetic lab scaffoldingtests/- unit and validation tests
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txtEditable installs:
python -m pip install -e .
python -m pip install -e .[dev]cd command-center
npm install
npm run dev
npm run lint
npm run test
npm run test:e2e:install
npm run test:e2e- Feed and workflow pages now include:
- Bounty Feed table with filters/sorting and local saved views.
- Bounty Detail page with provenance/conflict review and workspace creation action.
- Workspaces page with ROE acknowledgement form and run-mode gating status.
- Tools Hub runner page with script catalog, run controls, and log tail viewer.
- Findings DB UI with CRUD and JSON import/export.
- Report Composer actions for report bundle and issue draft exports.
- Logs, notifications, and docs-search pages for operator workflows.
- Analytics dashboard page with computed metrics and snapshot history.
- Task board page with Kanban lanes and finding-linked task automation.
- Session auth supports
bootstrapmode (default) andoidc_pkcemode with explicit Sign In/Sign Out controls and/auth/callbackhandling. - Playwright smoke and visual suites live under
command-center/e2e/.
Baseline images are captured by Playwright visual tests and committed for quick preview on the repo home page.
python -m pip install -r requirements.txt
python -m scripts.command_center_ingest --db data/command_center.db
python -m scripts.command_center_api --host 127.0.0.1 --port 8787 --db data/command_center.db- OpenAPI contract:
docs/COMMAND_CENTER_OPENAPI.yaml - SQLite schema:
schemas/command_center_sqlite_schema.sql - Local SQLite files under
data/are gitignored. - Workspace creation endpoint scaffolds engagement files plus
ROE_ACK.yamlandpipeline_config.yaml. - Run-mode tool records require a workspace with recorded ROE acknowledgement.
- Tool execution endpoint runs approved scripts with captured logs and notification events.
- Tool execution now uses a request-file runner so user arguments are not passed directly on subprocess command lines.
- Docs endpoints provide markdown search and page retrieval for in-app Help/Docs views.
- Ingest/docs/plugins/report/compliance file paths are constrained to safe repository output roots.
- Slack notification delivery validates allowed HTTPS webhook hosts before sending.
- Connector endpoints support Bugcrowd, GitHub, Intigriti, and YesWeHack sync flows with webhook/audit coverage and connector-run tracking.
- Metrics endpoints compute/store snapshot series, task endpoints support board workflows, and notifications can dispatch via Slack/SMTP.
- Start with
docs/ROE.mdand confirm written authorization. - Create a TargetProfile from the questionnaire or a minimal YAML in
examples/. - Run the pipeline in plan mode (
docs/PIPELINE.md) to generate artifacts. - Review outputs and produce report bundles or issue drafts (
docs/REPORTING.md). - Report bundles emit
report.md,compliance_checklist.md,findings.json,attachments_manifest.json, andreproducibility_pack.json. - Use
bbhai report --repro-steps <path>and--attachments-manifestto enrich report bundles and issue drafts with reproducibility metadata. - Start from
examples/repro_steps.jsonwhen authoring repro steps. - Configure optional integrations via
docs/ENVIRONMENT.mdanddocs/NOTIFICATIONS.md.
python -m bbhai init --workspace output
python -m bbhai profile --workspace output
python -m bbhai model --workspace output
python -m bbhai plan --workspace output
python -m bbhai report --workspace output --findings examples/outputs/findings.jsonpython -m bbhai --help
python -m bbhai profile --input examples/target_profile_questionnaire.yaml --output output/target_profile.json
python -m bbhai plan --config examples/pipeline_config.yaml
python -m bbhai catalog build --public-only --output data/program_registry.json
python -m bbhai catalog score --public-only --output data/program_scoring_output.json
python -m bbhai export summary --findings examples/outputs/findings.json
python -m bbhai migrate --input components/bbhai-review-sample/component_manifest.yaml --from 0.0.0 --to 0.1.0 --dry-runpython -m pip install -e .
bbhai --help
bbhai --version
bbhai profile --input examples/target_profile_questionnaire.yaml --output output/target_profile.jsonpython -m scripts.init_engagement_workspace --platform bugcrowd --slug moovit-mbb-og
python -m scripts.target_profile_generate --input examples/target_profile_questionnaire.yaml --output output/target_profile.json
python -m scripts.dataflow_map --target-profile output/target_profile.json --output output/dataflow_map.json
python -m scripts.threat_model_generate --target-profile output/target_profile.json --output output/threat_model.json
python -m scripts.pipeline_orchestrator --config examples/pipeline_config.yaml --mode plan
python -m scripts.report_bundle --findings examples/outputs/findings.json --target-profile examples/target_profile_minimal.yaml --output-dir output/report_bundle
python -m scripts.report_completeness_review --report output/report_bundle/report.md --findings output/report_bundle/findings.json
python -m scripts.export_issue_drafts --findings examples/outputs/findings.json --output-dir output/issue_drafts
python -m scripts.export_summary --findings examples/outputs/findings.json --output-dir output/summary
python -m scripts.catalog_build --public-only --output data/program_registry.json
python -m scripts.program_scoring --input data/program_registry.json --output data/program_scoring_output.json --public-only
python -m scripts.case_study_selection --registry data/program_registry.json --scoring data/program_scoring_output.json
python -m scripts.suggested_approach --input data/program_scoring_output.json --output data/suggested_approach_output.json
python -m scripts.program_relevance --input data/program_registry.json --output data/program_relevance_output.json
python -m scripts.program_provenance --input data/program_registry.json --output data/program_provenance_output.json
python -m scripts.scoring_calibration --scoring data/program_scoring_output.json --labels examples/scoring_calibration_dataset.json --output data/scoring_calibration_report.json
python -m scripts.program_brief --input data/program_registry.json --output-dir output/program_briefs
python -m scripts.catalog_pdf --input data/program_registry.json --output output/catalog/master_catalog.md --generate-briefs
python -m scripts.component_bootstrap --name bbhai-review-example --output-dir components/bbhai-review-example
python -m scripts.demo_runner --mode plandocker build -t bbhai .
docker run --rm bbhai- Docker image builds are the primary distribution mechanism today.
- Tag releases in git and update
docs/RELEASE_CHECKLIST.mdbefore publishing. - Package registry support can be added later if needed.
- PDFs are maintained locally and are ignored by git.
- Issue backlog is tracked in GitHub Issues.
- Command-center backlog issues
#165-#206are delivered; seeCHANGELOG.mdfor implementation batches anddocs/COMMAND_CENTER_TRIAGE.mdfor accepted scope history. - Command Center v2 platform controls now include org/team RBAC, OIDC session APIs, secret-provider resolution endpoints, compliance bundle exports, plugin discovery, job queue worker controls, and scope-map visualization APIs/UI.
- Command Center API includes CORS middleware for local frontend hosts (
:4173and:5173) to support browser sessions and e2e test runs. - Issue labels use
prio:,type:, andarea:prefixes (seedocs/PROJECT_MANAGEMENT.md). - Milestone status and backlog tracking are aligned with
ROADMAP.mdand GitHub milestones. - Scope assets support ports and wildcards; see
schemas/scope_asset.schema.jsonandexamples/scope_assets_example.json. - Roadmap planning now reflects completion through the v0.9 milestone.
- Evidence registry entries can include hashes and custody metadata (see
docs/REPORTING.md). - Evidence storage can use encryption at rest guidance in
docs/REPORTING.md. - Architecture and outline docs call out attachments manifest and reproducibility pack outputs.
- Component registry index lives at
data/component_registry_index.json. - Program registry lives at
data/program_registry.json. - Tool usage guidance and constraints live in
docs/TOOLS.md. - Scan plan templates live in
templates/scan_plans/. - Tool run schema and example live in
schemas/tool_run.schema.jsonandexamples/tool_runs/tool_run_example.json. - Risk assessment template and example live in
docs/RISK_ASSESSMENT.mdandexamples/risk_assessment_example.json. - Example pipeline config includes reporting and export stages (
examples/pipeline_config.yaml). - Program schema and registry examples live in
schemas/program.schema.jsonandexamples/program_example.json. - Issue templates include bug, feature, security, research, and epic scaffolds in
.github/ISSUE_TEMPLATE. - Triage rules and milestone guidance are documented in
docs/PROJECT_MANAGEMENT.md. - Starter labels/issues can be bootstrapped with
GITHUB_REPO=<owner>/<repo> scripts/bootstrap_issues.sh. - Standard report templates live in
templates/reporting/standard/. - PDF exports use
templates/reporting/pandoc_header.texandtemplates/reporting/fontconfig.conf. - Set
BBHAI_PANDOC_PDF_ENGINE=tectonicto use Tectonic for Pandoc PDF output. - Master catalog policy URLs render as autolinks to keep PDF tables within margins.
- Program registry entries retain source license and attribution metadata.
- Program registry diffs are generated with
python -m scripts.program_registry_diff. - Local program registry storage is managed with
python -m scripts.program_registry_store. - CI runs lint and format checks, schema validation, dependency audits, test coverage reporting, generated-doc sync checks, coverage matrix checks, golden example re-emits, and a demo runner plan. Matrix test runs are limited to unit tests to avoid redundant non-test checks.
- CI includes Playwright smoke and visual regression checks for Command Center on Windows to validate committed snapshot baselines.
- Offline connector fixtures for tests live in
tests/fixtures/connectors/. - Catalog build connectors include yeswehack, intigriti, huntr, bounty-targets-data,
disclose-io, and projectdiscovery (override with
--connectors). - Catalog ingestion writes audit logs and summaries (JSON/Markdown) under
data/ingestion_audit/and blocks catalog outputs fromoutput/orevidence/.
See CONTRIBUTING.md for how to suggest updates or fixes.
See SECURITY.md for reporting guidance.
For questions or feedback, open an issue or email support@ravdevops.com.
Apache-2.0. See LICENSE.

