NEWBravos is available: point it at a repo and see which threats an attacker can reach.Create your account

Bravos · Code graph · Team plan

Ask your code what reaches what.

The code graph indexes your repository so your coding agent can answer one bounded question at a time: which routes there are, who calls a function, which sinks a route reaches, and what a change could break. A graph answer replaces reading or grepping the tree.

npm install -g @bugb-technologies/bravos
bravos graph build .

The question and the answer play in real time; the agent's 14 seconds of work in between are sped up 5×.

What the graph answers.

  • Routes and attack surface

    Every route, and the attack surface ranked: where outside input enters and what it can get to.

  • Reachable sinks

    The sinks reachable from a symbol, the call path from an entry point to it, and whether code is live at all or reached by no entry point.

  • Blast radius

    What a change affects, its callers and the files it reaches, so a fix is followed into other files.

  • Who may reach a route

    The auth boundary in front of a route, and the unannotated entry points a change adds.

  • Untested exposures, by reach

    Open exposures in the threat model ranked by how reachable they are, so the most reachable are tested first.

  • An honest verdict

    Every answer carries a verdict and a confidence. Unknown or insufficient resolution is said plainly, never shown as clean or unreachable.

In a terminal

Build it once per commit.

bravos graph build indexes the repository and says which languages it read, how many annotations it linked, and any language whose calls it could not fully resolve, with the fix. A graph belongs to the commit it was built at; when a session starts on a commit with none, Bravos builds one quietly in the background.

  • bravos graph build .index the repository; runs none of its code by default
  • bravos graph build . --jsonthe same, as JSON: files, languages, annotations linked
  • bravos graph attack-surface --jsonask one question from a shell
  • bravos graph --jsonevery question this machine's graph answers

Real time. This machine has no Python type checker installed, so the build says so first and gives the fix.

Where the answers go

One graph, read everywhere.

Asked over MCP, in the session.

bravos setup registers the graph's MCP server in .mcp.json with no path, so the entry works for every teammate. Your agent asks one question, such as routes or reachable sinks, and gets the same answer bravos graph <question> --json gives in a shell.

Findings joined to reach.

SAST follows request-to-sink taint over the graph and says whether a dependency's vulnerable function is reached. Annotation marks code the graph shows unreached instead of guessing, and the threat hunt starts from the attack surface.

A map you can look at.

The dashboard's Code graph view shows the map, owners and history, coupling, trust, the attack surface, entry points and links. bravos watch shows how much of each language's calls resolved and the entry points.

bravos dashboard

Questions

Does building the graph run my code?

Not by default. bravos graph build uses --scip no-exec, so the repository's own build scripts and type checkers' build steps are not run. The auto and trusted modes do run them, and the agent never chooses those without your say-so.

Does it prove a finding is exploitable?

No. The graph judges reach only: reachability is not exploitability. Only an authorized test run confirms an exposure.

Where is the graph stored?

Outside the repository, in ~/.bravos/codegraph/store by default (or BRAVOS_CODEGRAPH_DIR), readable only by you. There is no Bravos server and no Bravos database.

Does it stay current?

A graph belongs to the commit it was built at. When a session starts on a commit that has none, Bravos starts one quiet background build, with no tokens and no network. It never builds in CI, and BRAVOS_GRAPH_AUTOBUILD=off turns it off.

What if a language's calls don't resolve?

The build says so for that language and gives the fix it found, such as installing the language's type checker. Until then, calls through interfaces may not connect, and answers say their confidence.

Which plan is it on?

Team. bravos account activate starts a 30-day Team trial with no card when your account has no plan, and bravos setup then builds the graph for the repository.

Build your repository's graph.

Install the CLI and run bravos setup in your repository. On the Team plan it fetches the code graph and builds it for you.

npm install -g @bugb-technologies/bravos

Open your project in your coding agent, then paste this.

Bring any model
  • Claude
  • OpenAI Codex
  • Mistral
  • GLM (Zhipu)
  • DeepSeek
  • Meta Llama
  • NVIDIA
  • Groq
and more

Everything Bravos does