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