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