rea/tests/boundary
Kaoru0822 0b04d384cc fix(native): refuse truncated executable headers at target admission
Target admission accepted a thin Mach-O after reading only its magic and
CPU type, so a 12-byte prefix opened as a valid arm64 executable and the
first provider query failed as a generic execution failure. ELF headers
were likewise accepted after 20 bytes, and a FAT file whose selected slice
lies beyond its end was admitted.

Require the complete fixed header (Mach-O 28 or 32 bytes, ELF 52 or 64),
Mach-O load commands that fit in the file, and a selected FAT slice within
the file, checking commitments against the file size rather than the
probed prefix. Each refusal names the failed constraint.

Fixes #1189

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 03:51:37 +00:00
..
android fix(android): validate engine archive prerequisites (#1145) 2026-10-09 09:15:33 +08:00
binaryDiagnostics fix(providers): validate ELF versions and preserve probe cancellation 2026-10-09 00:49:30 +08:00
browser fix(browser): preserve captures when response bodies are unavailable 2026-10-09 07:47:34 +08:00
cli fix(cli): advertise defaulted inputs as optional in --schema and help (#1175) 2026-10-09 11:11:11 +08:00
evm feat(evm): inspect offline bytecode interfaces through EVMole (#1051) 2026-10-08 15:32:05 +08:00
filesystem fix(native): refuse truncated executable headers at target admission 2026-10-09 03:51:37 +00:00
firmware fix(firmware): reject malformed UTF-8 producer reports 2026-10-09 05:15:23 +08:00
inspector fix(inspector): bound retained metadata and preserve cancellation 2026-10-09 05:15:23 +08:00
javascript fix(process): avoid cold ownership helper deadline exhaustion (#1139) 2026-10-09 07:18:07 +08:00
javascript-recovery test: remove duplicate result assertions before throwing guards 2026-10-09 02:58:03 +08:00
mcp perf(mcp): reuse input schemas without losing caller guidance (#1162) 2026-10-09 11:38:07 +08:00
native fix(providers): validate ELF versions and preserve probe cancellation 2026-10-09 00:49:30 +08:00
process fix(android): validate engine archive prerequisites (#1145) 2026-10-09 09:15:33 +08:00
providers fix(native): refuse truncated executable headers at target admission 2026-10-09 03:51:37 +00:00