REA npm-audit notes (unofficial)

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

npm audit trees (package.json / package-lock.json / audit-level / omit pins) record Node SCA audit identity. In REA 6.7.x, treat selected audit-level and omit labels as Evidence beside archive/package routes — complementing OSV-Scanner / Retire.js / package.json cousins without inventing APIs. Distinct from rea-npm-package-json (audit identity ≠ package.json depth) and rea-osv-scanner (npm audit ≠ OSV). Preferred slug kept free — KEEP.

Mental model

  1. Authorize the npm-audit config tree (+ packaged charts you hold).
  2. Quote selected identity labels you actually see (never paste secrets/tokens).
  3. Cousins → osv-scanner · retirejs · npm-package-json · snyk.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_npm_audit API REA never called.

Minimal path

# authorized npm package.json / package-lock.json (+ 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_npm_audit .

Compare

ArtifactHonest posture
audit-level / omit pinsnpm audit stack identity facts
Peerrea-osv-scanner
Peerrea-retirejs
Not thisrea-npm-package-json (package.json depth)
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote selected audit-level floors, omit lists, and registry hostnames only — enough for most Evidence binders.
  • npm tokens and registry secrets are secrets — record key names only.
  • Keep npm audit stack identity distinct from package.json / OSV 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 npm audit scans.

Scope we will not cover

  • No inventing inspect_npm_audit / automatic scans against foreign repos.
  • No credential theft from npm tokens or registry secrets.
  • No pirate redistribution of proprietary npm trees.
  • No crack framing via npm audit pins.
  • No cookbooks that weaken SCA policy on foreign accounts.
  • No using npm audit as an unauthorized SCA-recon guide against repos you do not own.

Honest limits

RepoRead documents config literacy — how authorized npm audit trees relate to Evidence — not a full Node SCA course. Prefer upstream npm docs; use rea-osv-scanner for OSV 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-osv-scanner / rea-retirejs / rea-npm-package-json / rea-snyk?

rea-osv-scanner covers OSV-Scanner. rea-retirejs covers Retire.js. rea-npm-package-json covers package.json depth. rea-snyk covers Snyk. This page zooms on npm audit stack identity — it does not overwrite those pages.

Is there inspect_npm_audit in 6.7.0?

Not assumed. Quote package.json / package-lock.json / audit-level / omit pins you actually open, then use documented package/archive lanes. Do not invent inspect_npm_audit.

Does REA call npm-audit APIs or steal tokens?

No. Local trees only. Redact npm tokens and registry secrets; do not treat REA as an npm audit runner. No credential theft.

How should I label Evidence vs cousin trees?

Label Evidence by the file present. Keep npm audit stack identity separate from rea-npm-package-json and rea-osv-scanner.

npm version checked?

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

Sources