mirror of
https://github.com/morluto/rea.git
synced 2026-11-29 18:06:46 +00:00
* refactor(artifacts): preserve bounded partial inspection for trailing boot/OTA metadata and deduplicate UEFI/iNES probes
Preserve bounded partial firmware/container inspection across UEFI, iNES, uImage, FIT, Android boot, Android OTA, and ASAR readers while maintaining all fail-closed invariants on required headers, truncation, overlapping ranges, I/O, identity, and cancellation.
- UEFI: admit aligned _FVH volumes with valid structural framing even when header.checksumValid is false; surface fv-checksum-mismatch in UefiArtifactReader and UefiImageScan.
- iNES: return 'ines' from classifyRootFormat on nesContainerFormat match without pre-lane parseInesLayout throws; InesArtifactReader owns layout parsing and error reporting.
- uImage: extend ArtifactContainerIntegrityPair with standard crc32 and expose containerIntegrity() on PositionalArtifactReader/UImageArtifactReader so scanReader enforces integrity policy ('fail' rejects with declared-digest; 'record-and-continue' emits payload.bin + header metadata with crc_verified: false and records the contradiction); degrade malformed multi/script size tables under 'record-and-continue' while preserving strict refusal under 'fail'.
- FIT: thread caller integrity policy into FitArtifactReader so 'fail' preserves rejecting all 6 hash algorithms and 'record-and-continue' emits all /images/* entries with FIT metadata, mismatch limitations, and sha256/md5 integrity contradictions.
- Android boot: tag overlap failures with typed ParseFailure fields so non-overlap trailing AVB footer and vendor ramdisk table parse failures degrade to non-complete coverage + limitations while preserving fail-closed refusal on truncation, capacity limits, and overlapping component/vbmeta ranges.
- Android OTA: retain parsed payload header and partition entries with non-complete coverage and explicit limitation when optional trailing payloadSignature parsing fails.
- ASAR: carry validated AsarHeaderExtents + AsarHeaderAdmission from classifyRootFormat into AsarArtifactReader to avoid duplicating parseAsarHeaderExtents and maximumBytes admission.
Closes #14346
* fix(artifacts): preserve fail-closed OTA signature limits, boot overlap checks, and error schema
Documentation directory
Find an installation step, investigation guide, or contributor reference by task. The REA website has worked examples and product pages.
Getting started
- Installation and setup
- Supported targets and requirements
- Client configuration and troubleshooting
- CLI and Evidence
- Guided MCP prompts and completion
Desktop applications
- Desktop installation directories
- Desktop application capture
- Desktop application state
- Desktop application tasks
- Desktop application export
- Desktop build computer
- Desktop build witness
Agent environments
Native binaries
- Native binary investigation
- Go binary build metadata
- DWARF compile units
- Offline binary diagnostics
- ELF separate debug files
- ELF and Mach-O initializer functions
- ELF unwind function ranges
- Linux kernel build config
- Recorded crash evidence
- Windows Shell Link shortcuts
- Acquired NTFS metadata
- Binary hardening
- ELF note tables
- ELF dependency tables
- Linux kernel modules
- PE Authenticode certificate tables
- PE import and delay-load tables
- PE TLS callbacks and load configuration
- Match native functions across builds
- Rust binary dependency metadata
- Static CUDA and HIP code objects
JavaScript and Electron
- JavaScript Application Graph
- Cross-layer JavaScript application workflows
- JavaScript artifact reconstruction
- JavaScript source recovery
- Passive Node and Electron runtime observation
- JavaScript static/runtime reconciliation
- Electron file-page observation
- V8 code cache inspection
- Electron fuse state
- Static JavaScript route inventory
- Bun standalone executables
- Deno compile executables
- Node.js single executable applications
Browser and captured websites
- Website observation with CDP
- Browser scenario contract
- Website runtime source attribution
- Historical web network captures
- HTTP/3 capture lab
- Captured website source locations
- Captured website module relationships
- Captured website scripts and static JavaScript analysis
- Offline Playwright traces
Android applications
- Static Android APK analysis
- Apktool resource decoding
- ADB device inspection and acquisition
- Flutter build identification
- Android boot and vendor_boot images
- APK signature schemes
Apple applications
.NET assemblies
Firmware
- Firmware analysis
- Android OTA update payloads
- Flattened devicetree inspection
- ESP flash images
- ESP images
- U-Boot FIT images
- Intel HEX and S-record images
- UF2 and DfuSe images
- U-Boot legacy uImage containers
HarmonyOS packages
Packages and metadata
- Offline API contract inventory
- CycloneDX dependencies
- Maven POM and Gradle module metadata
- Release exposure
- Model file declarations
- Python packaged applications
- CPython pyc inspection
- Erlang BEAM files
- Godot PCK archives
- UnityFS AssetBundle archives
- iNES containers
- WeChat mini-program wxapkg archives
- GPU asset headers: DDS, GLB, KTX and KTX2
WebAssembly
EVM contracts
Databases and recorded packets
Process capture and instrumentation
Provider setup and formats
- Ghidra provider semantics
- DOS MZ and COM analysis with Ghidra
- Optional NativeAOT metadata recovery
- MIPS ELF analysis through Ghidra
- PSP static ELF analysis through Ghidra
- RISC-V ELF analysis through Ghidra
- Windows Ghidra P0
- Headerless raw-binary analysis with Ghidra
- IDA provider
- JEB instrumentation and analysis
- GameCube DOL analysis through Ghidra
- PowerPC ELF analysis through Ghidra
- Kuna provider
- Reverse-engineering tool integrations
Contracts and evidence
Development and verification
- Documentation ownership and authoring
- Settings and recovery
- REA limit inventory
- MCP tool design
- Testing REA
- Client and agent verification
- Reconstruction readiness conformance
- Releasing REA
- Testing lanes and provider verification
- Measure MCP catalog costs in Codex
- Static analysis in GitHub Actions
Release migrations
Signal recordings
Generated files and release records
| Path | Owner and update command |
|---|---|
public/product-catalog.json |
Ignored contract projection; npm run docs:generate |
verification/managed-conformance-*.json |
Ignored managed conformance projections; npm run evidence:generate |
error-contract.schema.json |
Tracked schema from contracts; npm run docs:error-schema |
user-visible-errors.csv |
Generated error code and category per domain and provider-owned error case; npm run docs:error-schema |
releases/<version>.contributions.json |
Durable release contribution record; follow the release guide |
Regenerate catalogs and Evidence projections from their canonical source.
Release records preserve the exact commit messages and references for each release.
Guides share authored images in assets/.