REA SpotBugs notes (unofficial)
SpotBugs trees (spotbugs.xml / include / exclude / effort pins) record Java bytecode SAST identity. In REA 6.7.x, treat selected filter and effort labels as Evidence beside archive/package routes — complementing Bandit / gosec / CodeQL cousins without inventing APIs. Distinct from rea-gosec (Java ≠ Go) and rea-codeql (SpotBugs ≠ CodeQL). Preferred slug kept free — KEEP.
Mental model
- Authorize the SpotBugs config tree (+ packaged charts you hold).
- Quote selected identity labels you actually see (never paste secrets/tokens).
- Cousins → bandit · gosec · codeql · semgrep.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_spotbugsAPI REA never called.
Minimal path
# authorized SpotBugs spotbugs.xml / filters (+ 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_spotbugs .
Compare
| Artifact | Honest posture |
|---|---|
| include / exclude / effort pins | SpotBugs stack identity facts |
| Peer | rea-gosec |
| Peer | rea-codeql |
| Not this | rea-bandit (Bandit zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected bug categories, exclude filters, and effort levels only — enough for most Evidence binders.
- Tokens and private filter files are secrets — record key names only.
- Keep SpotBugs stack identity distinct from gosec / CodeQL 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 SpotBugs scans.
Scope we will not cover
- No inventing
inspect_spotbugs/ automatic scans against foreign repos. - No credential theft from tokens or private filters.
- No pirate redistribution of proprietary SpotBugs trees.
- No crack framing via SpotBugs pins.
- No cookbooks that weaken SAST policy on foreign accounts.
- No using SpotBugs as an unauthorized SAST-recon guide against repos you do not own.
Honest limits
RepoRead documents config literacy — how authorized SpotBugs trees relate to Evidence — not a full Java SAST course. Prefer upstream SpotBugs docs; use rea-codeql for CodeQL 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-codeql / rea-semgrep?
rea-bandit covers Bandit. rea-gosec covers gosec. rea-codeql covers CodeQL. rea-semgrep covers Semgrep. This page zooms on SpotBugs Java SAST stack identity — it does not overwrite those pages.
Is there inspect_spotbugs in 6.7.0?
Not assumed. Quote spotbugs.xml / include / exclude / effort pins you actually open, then use documented package/archive lanes. Do not invent inspect_spotbugs.
Does REA call SpotBugs APIs or steal tokens?
No. Local trees only. Redact tokens and private filter files; do not treat REA as a SpotBugs runner. No credential theft.
How should I label Evidence vs cousin trees?
Label Evidence by the file present. Keep SpotBugs stack identity separate from rea-gosec and rea-codeql.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).