Skip to content

feat(enrichment): install-script & lifecycle-hook auditor#1497

Merged
JSONbored merged 1 commit into
mainfrom
feat/enrichment-install-scripts
Jun 26, 2026
Merged

feat(enrichment): install-script & lifecycle-hook auditor#1497
JSONbored merged 1 commit into
mainfrom
feat/enrichment-install-scripts

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Fourth REES analyzer (the #1 brainstorm pick). For each npm dep a PR adds/upgrades, fetches the registry packument and flags versions that run preinstall/install/postinstall scripts — the #1 npm-malware execution vector the CVE scan misses and the no-checkout reviewer can't see. Public-safe output (package@version + hook names + publish date, never the script body). Reuses extractDependencyChanges. 3 new node:test units (19 total) + a live registry check.

Fourth analyzer behind the REES /v1/enrich contract (top brainstorm pick). For each npm dep
a PR adds/upgrades, fetches the registry packument and flags versions that ship preinstall/
install/postinstall scripts — the #1 npm-malware execution vector, which the shipped CVE scan
misses entirely and the no-checkout reviewer can't see. Public-safe output: package@version +
hook names + publish date (not the script body). Reuses extractDependencyChanges. 3 new
node:test units (19 total) + a live registry check (core-js@3.30.0 → postinstall).
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jun 26, 2026
@JSONbored JSONbored merged commit fcd7eaf into main Jun 26, 2026
6 checks passed
@JSONbored JSONbored deleted the feat/enrichment-install-scripts branch June 26, 2026 12:44
@superagent-security

Copy link
Copy Markdown

Superagent didn't find any vulnerabilities or security issues in this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant