Awesome REA
English
Back to all cases

Open-source REA Lab: pinning an npm artifact and analyzing its entry slice

Target: Official npm rea-agents 6.4.0 package.json and scripts/rea.mjs

Author / attribution: martinlofranodeoliveira

Source review date:

Review status: Sources reviewed; author tests not independently rerun.

The question

How can a release artifact be identified before answering a bounded entry-file question?

What REA did

An independent Python auditor checks archive structure and hashes first. REA statically analyzes two unchanged files extracted from the verified package. Entry-branch semantics also use manual syntax checks; the auditor and manual conclusions are not REA output.

Author-reported results

The author publishes pinned digests, audit JSON, sanitized Evidence summaries and reproduction scripts. The slice reports 1 parsed JavaScript file, 469 AST nodes, 14 findings and zero parse failures, while noting that full-package analysis was interrupted during semantic expansion.

Limitations and unverified claims

The 14 findings are not a vulnerability count. The slice retains 110 semantic unknowns and lacks dist implementations, so it cannot establish full-package security or runtime correctness. A sanitized summary is not replayable canonical Evidence; full-package coverage is partial. This catalog did not rerun it.

What to learn

Bound the question and input while retaining interruptions and unknowns. Structural checks, byte identity and runtime safety are different conclusions.

REA usage evidence in the source

Can REA statically parse the actual shipped dispatcher?

Excerpt formatting is simplified. Read the original source for full context.

Original sources

Independent editorial summary. Credit belongs to the original authors. Target software, installers and complete decompiler output are not redistributed here.

View this case on GitHub · Suggest a correction