bb-huge CLAUDE.md

bb-huge CLAUDE.md is an instructions file for coding agents from ShulkwiSEC/bb-huge. It costs 1,676 tokens per session, scanned A, original, MIT.

Repository instructions for bb-huge, a bug-bounty web application and agent skill layer. It covers the portal, its REST API, tests, architecture, and how agents connect through MCP.

In plain words
What is it for?
Running the portal, understanding the app and skill layers, using the API bridge, and following the project’s test and architecture guidance.
Why use it?
It gives coding agents the project context needed to work on the repository without guessing how its parts fit together.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/shulkwisec/bb-huge/claude-md
Clone the repo
git clone --depth 1 https://github.com/ShulkwiSEC/bb-huge

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bb-huge CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shulkwisec/bb-huge/claude-md.svg)](https://agentmods.dev/instructions/shulkwisec/bb-huge/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/shulkwisec/bb-huge/claude-md"><img src="https://agentmods.dev/badge/instructions/shulkwisec/bb-huge/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,676 This file is loaded in full into every session.
When invoked 1,676 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01676 $0.01676
Opus 5 $0.00838 $0.00838
Sonnet 5 $0.00335 $0.00335
Haiku 4.5 $0.00168 $0.00168

Measured 5d ago against content hash f41d78daa2bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bb-huge CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this repo is

bb-huge is two things wired together over MCP:

  1. Portal (app/) — a Flask + SQLAlchemy (SQLite) web app that stores bug bounty findings, programs, recon data, observations/hypotheses, evidence, assets, and endpoints. It has a dashboard UI and a REST API.
  2. Skill layer (skills/bb-huge/) — a SKILL.md persona + reference docs that, when loaded into an AI agent (Claude Code, gemini-cli, codex, etc.), turns it into a disciplined bug bounty hunter that calls the portal's API via MCP tools as it works.

mcp_server.py is the bridge: a stdio MCP server that translates ~35 MCP tool calls (bb_create_finding, bb_get_program_brief, ...) into REST calls against the running Flask portal. Any MCP-compatible agent can drive the portal through it.

skills/curated/ is a separate, large (350+) bundle of community security skills (per vuln class, per platform, per technique) that get lazy-loaded on demand — not core to the portal itself.

Running the portal

cp .env.example .env        # set SECRET_KEY and DEV_KEY before anything else
python -m venv .venv && source .venv/bin/activate   # (or .venv\Scripts\activate on Windows)
pip install -r requirements.txt
python run.py                # serves on :5000 (waitress in prod, Flask dev server if FLASK_DEBUG=1)

Docker: docker compose up -d (same port).

Auth is a single shared DEV_KEY, not per-user accounts:

  • Web UI: session cookie set via /login (form posts dev_key, compared in app/routes/auth.py).
  • REST API: X-Dev-Key header (or ?dev_key=) checked in app/routes/api.py, required on every /api/v1/* call.

Tests

python -m unittest tests/test_api.py -v          # whole file
python -m unittest tests.test_api.V2ApiTests.test_program_brief_includes_new_entities  # single test

Tests spin up a real create_app() instance against a temp SQLite DB + temp upload dir per test (see TestConfig / setUp in tests/test_api.py) — no mocking of the DB layer. Follow this pattern (fresh app + tempdir per test) for new API tests rather than reusing a shared instance.

Read the full file on GitHub · 117 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 117 lines · 1,676 tokens per session scan A f41d78daa2bc

Subscribe to this mod's changes

bb-huge CLAUDE.md is an instructions file published in the GitHub repository ShulkwiSEC/bb-huge (22 stars, last pushed 1mo ago), licensed MIT. It adds 1,676 tokens to every session, about $0.0084 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.