Skip to content

Add Evidence v2 and deterministic process investigations - #74

Merged
morluto merged 1 commit into
mainfrom
morl/evidence-v2-process-fidelity
Jul 12, 2026
Merged

morluto merged 1 commit into
mainfrom
morl/evidence-v2-process-fidelity

Conversation

@morluto

@morluto morluto commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • replace the provider-specific evidence envelope with deterministic, provider-neutral Evidence v2 records and a bounded session ledger
  • add evidence bundle import/export with semantic ID recomputation, tamper rejection, atomic merges, and path-independent deduplication
  • complete Hopper function dossiers with typed callers and callees, comments, references, strings, names, CFG successors, independent continuation offsets, and strict boundary parsing
  • add approval-gated PTY/process/filesystem capture with loopback HTTP and WebSocket replay, normalization, secret redaction, and capture comparison
  • expand the public CLI/MCP inventory to 50 exact contracts and reposition REA as an agent-first reverse-engineering toolkit with Hopper as its first provider
  • pin Node 24.18.0 and npm 11.16.0, approve only the node-pty lifecycle scripts, and provide a native rebuild command

Contract changes

Evidence v2 is an intentional breaking change. Evidence v1 compatibility is not retained.

The MCP surface now contains 33 direct analysis tools, 10 investigation workflows, and 7 workspace/session tools. New session tools are export_evidence_bundle, import_evidence_bundle, capture_process_scenario, and compare_process_captures.

Dynamic process capture is disabled by default. It requires operator-configured executable, working-directory, and environment allowlists plus approved: true on each call.

Verification

  • npm run check — 155 tests passed
  • npm run lint:dead — no unused-code findings
  • npm run verify:package — packaged CLI and target-free 50-tool MCP server passed
  • npm run verify:fixtures — seven source-built conformance fixtures passed
  • npm run verify:hopper with /bin/ls and /usr/bin/true — real Hopper decompilation, dossier analysis, target switching, and clean shutdown passed
  • Node 24.18.0 native rebuild and live node-pty capture test passed on macOS arm64
  • pre-commit Prettier, oxlint fixes, and TypeScript typecheck passed

Current limitations

  • process capture is an observation harness, not an operating-system security sandbox; loopback replay is bounded, but the target is not technically prevented from making unrelated external network connections
  • process trees are sampled and filesystem behavior uses before/after snapshots, so short-lived descendants and transient filesystem operations may remain unknown
  • Hopper remains the only full static-analysis provider in this PR; additional providers stay behind the provider/evidence conformance roadmap
  • node-pty may require npm run rebuild:native when its packaged native binary is incompatible with the host; source builds require the platform compiler toolchain

Real Hopper

Real Hopper verification was performed against two distinct Mach-O binaries. The verifier required nonempty pseudocode, a semantically valid function dossier, a successful target switch, and clean bridge shutdown.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@morluto
morluto merged commit 8f53837 into main Jul 12, 2026
8 checks passed
@morluto
morluto deleted the morl/evidence-v2-process-fidelity branch July 28, 2026 17:39
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
…idelity

Add Evidence v2 and deterministic process investigations
@morluto morluto added enhancement New feature or request area: runtime Process capture and runtime observation labels Oct 14, 2026
DrAbdulmalek pushed a commit to DrAbdulmalek/rea that referenced this pull request Oct 26, 2026
…-t-cookbook

feat(workflow): anti-debug/obfuscation cookbook A-T (morluto#65)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: runtime Process capture and runtime observation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant