REA Brakeman notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Brakeman trees (brakeman.ignore / confidence / check pins) record Ruby/Rails SAST identity. In REA 6.7.x, treat selected ignore and confidence labels as Evidence beside archive/package routes — complementing Bandit / gosec / Semgrep cousins without inventing APIs. Distinct from rea-bandit (Ruby ≠ Python) and rea-gosec (Ruby ≠ Go). Preferred slug kept free — KEEP.

Mental model

  1. Authorize the Brakeman config tree (+ packaged charts you hold).
  2. Quote selected identity labels you actually see (never paste secrets/tokens).
  3. Cousins → bandit · gosec · semgrep · snyk.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_brakeman API REA never called.

Minimal path

# authorized Brakeman brakeman.ignore / checks (+ charts you hold)
# quote selected identity labels into case notes (never live secrets)
# cousins → peer lanes above
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_brakeman .

Compare

ArtifactHonest posture
ignore / confidence pinsBrakeman stack identity facts
Peerrea-bandit
Peerrea-gosec
Not thisrea-semgrep (Semgrep zoom)
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote selected check IDs, confidence floors, and ignore path labels only — enough for most Evidence binders.
  • Tokens and private ignore files with secrets are secrets — record key names only.
  • Keep Brakeman stack identity distinct from Bandit / gosec trees in case notes.
  • Chart image tag pins are identity Evidence — label them separately from cousin pages.
  • Select keys are useful inventory — quote them without inventing REA helpers for live Brakeman scans.

Scope we will not cover

  • No inventing inspect_brakeman / automatic scans against foreign repos.
  • No credential theft from tokens or private ignore files.
  • No pirate redistribution of proprietary Brakeman trees.
  • No crack framing via Brakeman pins.
  • No cookbooks that weaken SAST policy on foreign accounts.
  • No using Brakeman as an unauthorized SAST-recon guide against repos you do not own.

Honest limits

RepoRead documents config literacy — how authorized Brakeman trees relate to Evidence — not a full Rails SAST course. Prefer upstream Brakeman docs; use rea-bandit for Bandit peers. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-bandit / rea-gosec / rea-semgrep / rea-snyk?

rea-bandit covers Bandit. rea-gosec covers gosec. rea-semgrep covers Semgrep. rea-snyk covers Snyk. This page zooms on Brakeman Ruby/Rails SAST stack identity — it does not overwrite those pages.

Is there inspect_brakeman in 6.7.0?

Not assumed. Quote brakeman.ignore / confidence / check pins you actually open, then use documented package/archive lanes. Do not invent inspect_brakeman.

Does REA call Brakeman APIs or steal tokens?

No. Local trees only. Redact tokens and private ignore files with secrets; do not treat REA as a Brakeman runner. No credential theft.

How should I label Evidence vs cousin trees?

Label Evidence by the file present. Keep Brakeman stack identity separate from rea-bandit and rea-gosec.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources