Commit Graph
8656 Commits
Author SHA1 Message Date
morluto 82fa175d2f fix(managed): refuse empty field definition identities (#12467) 2026-11-19 18:27:36 +00:00
morluto 5a62623cd1 fix(macho): validate symbol extents before the hardening scan limit (#12465)
fix(macho): validate hardening symbol extents before capacity
2026-11-19 18:23:37 +00:00
morluto a627952bd5 fix(native): preserve numeric Mach-O identities and CodeView path bytes (#12458) 2026-11-19 18:12:35 +00:00
morluto 11c014f022 fix(dol): require exact file extent for header admission (#12460) 2026-11-19 18:10:34 +00:00
morluto 71f5a12ad8 fix(desktop): preserve Linux launch, title, and package source facts (#12455) 2026-11-19 18:06:09 +00:00
morluto 2837de5159 fix(har): retain Playwright 1.64.1 bracketed IPv6 addresses (#12456) 2026-11-19 18:04:38 +00:00
morluto f6a7db0025 fix(managed): reject empty names in saved member comparisons (#12451) 2026-11-19 18:04:23 +00:00
morluto 3d763126cc fix(node-sea): read blobs with a declared main code format (#12454) 2026-11-19 18:03:19 +00:00
morluto 0b12a6533b fix(elf): validate section-name backing before decode budget (#12449) 2026-11-19 18:03:03 +00:00
morluto a3759e714e fix(debuggers)!: preserve exact Cutter output and GNU MI escapes (#12457) 2026-11-19 18:02:31 +00:00
morluto 16e3263b10 fix(pe): bound TLS and export reads by declared section content (#12432)
* fix(pe): bound TLS template mappings by section content

* fix(pe): map export tables within declared section content (#12444)
2026-11-19 18:00:01 +00:00
speedcubing d58942a4ea refactor(apk): read signing block and v1 local header fields through BinaryReader (#12450)
Move the eight remaining raw DataView reads in src/domain/apkSignature
onto the shared BinaryReader and drop the three APK signature entries
from the raw-buffer-read baseline. Every read stays behind its existing
range check, so results, error kinds and messages are unchanged.

Refs #11865
2026-11-19 17:59:56 +00:00
morluto c84fde05e3 fix(website): resolve authored links and verify documentation routes (#12453) 2026-11-19 17:56:20 +00:00
morluto 49981ca709 fix(elf): share dynamic table framing and admission (#12445)
* fix(elf): share dynamic table row framing

* refactor(elf): reuse admitted dynamic ranges in hardening

* fix(elf): validate initializer table geometry before capacity

* refactor(elf): centralize strict dynamic directory admission
2026-11-19 17:56:16 +00:00
morluto a363346949 refactor(ci): share bounded hosted package acquisition (#12407) 2026-11-19 17:52:29 +00:00
morluto 4377c1a392 fix(managed): keep empty definition names out of member identity (#12448) 2026-11-19 17:51:46 +00:00
morluto 760478c5e9 fix(managed): retain Module identity when its name is unreadable (#12441)
fix(managed): retain module identity when its name is malformed
2026-11-19 17:47:18 +00:00
morluto bc7ed746de fix(artifacts): retain parser limits in inventory failures (#12435) 2026-11-19 17:39:20 +00:00
morluto 0ea671abf5 fix(il2cpp): validate record extents before width inference (#12429) 2026-11-19 17:28:17 +00:00
morluto 7cc7bda6e3 fix(android): validate OTA manifest and signature extents before capacity (#12431)
fix(android-ota): admit complete manifest and signature extents before limits
2026-11-19 17:22:55 +00:00
873ac4f3b6 ci(real-go-binary): pin Go 1.26.11 (#6992)
* ci: pin real-go-binary Go toolchain to 1.26.10

go 1.26.1 -> 1.26.10 (latest 1.26 patch release on go.dev/dl) for the real Go binary verification job.

* ci(go): update the binary verification pin to 1.26.11

---------

Co-authored-by: Mladen Lotar <mladen@the-shop.hr>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 17:20:52 +00:00
ShuaixinHuangandShuaixinHuang 0c191d8b2c fix(website): preserve cached GitHub refs in link audits (#12427)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
2026-11-19 12:17:05 -05:00
morluto 5e8a451e1c test(go): assert structured Mach-O framing failures (#12430) 2026-11-19 17:15:24 +00:00
ebd709cef5 fix(esp): disclose partition entries outside the table checksum (#12384)
* fix(esp): disclose partition entries outside the table checksum

* fix(esp): label the partition checksum offset origin

* fix(esp): count partition entries outside the table MD5

The coverage warning was only prose, and it presented the MD5 entry's
table-relative offset without a structured fact. Record
entriesAfterChecksum on the MD5 result, project it as
entries_after_checksum, and keep the warning as presentation.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* fix(esp): accept saved flash inventories without the checksum count

A required entries_after_checksum rejected ESP flash Evidence written
before the field existed. Keep the count exactOptional so omission
stays unknown, and still emit it for new inventories.

Co-authored-by: morluto <morluto@users.noreply.github.com>

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-19 11:59:02 -05:00
8c3dbd99e1 fix(desktop): bind dconf profiles to selected database sources (#11161)
* fix(desktop): bind dconf profiles to selected database sources

* fix(desktop): resolve dconf before changing working directory

* fix(desktop): retain refused dconf lookup diagnostics

* fix(desktop): preserve execution-time dconf search fallback

* fix(desktop): keep host spawn failures outside dconf fallback

* fix(desktop): retain staged reader cleanup through command close

* test(kuna): await eviction boundary events explicitly

* test(kuna): bound lifecycle acknowledgements through shared owner

Cherry-picked shared follow-up from a5761c7545.

* fix(desktop): keep dconf sources independent of wrapper stdin

* test(desktop): restrict procfs command checks to Linux

* fix(desktop): own dconf wrapper cleanup before source retirement

* fix(desktop): retain dconf preparation inspection owners

* fix(desktop): classify dconf read failures by kind and errno

Record the failure kind, host errno, exit status, selected command, and
child stderr on DconfDump, and carry those facts to view_failure. Tests
assert the typed fields instead of error prose, including a PATH refusal
whose executable is not the last candidate.

* test(desktop): gate real dconf diagnostics on Linux

The real reader checks /proc file descriptors before launch, so macOS
reports descriptor-unavailable/ENOENT instead of launch-failed/EACCES.
Keep that launch refusal on Linux and cover the Evidence contract with
a mocked reader on every platform.

Co-authored-by: morluto <morluto@users.noreply.github.com>

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-19 11:40:08 -05:00
4491c84c82 fix(node-sea): bound duplicate blob verification work (#11736)
* fix(node-sea): bound duplicate blob verification work

* test(mcp): observe cleanup failures at their current delivery boundary

* fix(mcp): preserve workflow completion progress through delivery

* test(setup): keep the Windows Kimi profile fixture on a supported profile

The Windows-only case at `clientConfigurationEnvironment.test.ts:226` wrote
`rea_mcp_input_schema_profile: "full"`. That profile was retired: the reader
now refuses it ("REA_MCP_INPUT_SCHEMA_PROFILE accepts only \"compact\" …"),
so `configureClientConfiguration` returned `failed/readback` before writing
and the case failed on every Windows run, including main's own
`Windows capability and package lane`.

The case has no Windows dependency — it passes an explicit `configPath` and
the Kimi write dialect is the same everywhere — so it now runs on every
platform, which is what let the stale value rot unnoticed. The fixture keeps
the lowercase explicit key the case is about, with the supported value.

Verified on `main` `d6bcfc10`: the same fixture driven through
`configureClientConfiguration(..., "win32")` on this host reproduced
`{"status":"failed","reason":"readback"}` with the retired value and now
returns `{"status":"configured"}` with `compact`. The file's 75 cases pass
here (66 run, 9 platform-conditioned skips) and `check:fast` passes.

* test(ci): restore verifier and MCP contract regressions

* test(captures): assert adapter-owned input issue field names

* fix(ghidra): avoid Java probes for missing installations

* test(ghidra): drop duplicate absent-installation coverage

Merging main reapplied the #11732 case beside the copy already on main.

Co-authored-by: morluto <morluto@users.noreply.github.com>

* test(node-sea): assert duplicate-blob refusal without stdout prose

The CLI coverage already checks the truncated code and limit details.

Co-authored-by: morluto <morluto@users.noreply.github.com>

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
Co-authored-by: g0at <50488370+g1at@users.noreply.github.com>
Co-authored-by: IvenKooLab <276572622@qq.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-19 11:25:23 -05:00
morluto 1ba93c8a1b refactor(elf): share fixed header declaration widths (#12391) 2026-11-19 15:59:06 +00:00
morluto ad996352c3 refactor(macho): own complete fixed segment and section fields (#12405) 2026-11-19 15:44:31 +00:00
morluto ed05170424 fix(mips): recognize unsupported Android relocation declarations (#12397)
fix(elf): retain Android relocation declarations in MIPS coverage
2026-11-19 15:37:21 +00:00
6a5d77bf21 fix(windows): floor LinkInfo string offsets at the mandatory header (#12403)
A LinkInfoHeaderSize below 0x1C no longer lowers the string-offset floor.
Reserved 0x1D..0x23 headers still end at their declared size, so ANSI
fields after that header stay readable.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-19 10:35:40 -05:00
ShuaixinHuangandmorluto 422b5dff1a ci: retry bounded Ubuntu archive fetches (#12343)
* ci: retry bounded Ubuntu archive updates

* ci: retry MinGW package downloads

* fix(ci): bound Ubuntu toolchain acquisition end to end

* fix(ci): fall back to the Ubuntu Azure archive for Noble layout

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 10:33:33 -05:00
ShuaixinHuangandShuaixinHuang 80e8bbc871 fix(release): retry commit history gateway timeouts (#12377)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 10:33:19 -05:00
morluto e9af636128 fix(macho): share marker-bearing dylib field decoding (#12400)
* fix(macho): share marker-bearing dylib field decoding

* fix(macho): retain legacy lazy dylib timestamps
2026-11-19 15:33:09 +00:00
ShuaixinHuangandShuaixinHuang a90278daf7 fix(ci): exclude skipped steps from job timing samples (#12385)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 10:33:05 -05:00
ShuaixinHuangandShuaixinHuang 947ff63602 fix(ci): retain Turbo cache generations per Git ref (#12381)
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 10:32:51 -05:00
ShuaixinHuangandShuaixinHuang 29a3f3c8dd fix(artifacts): preserve ASAR unpacked companion path identity (#11749)
* fix(artifacts): preserve ASAR unpacked path identity

* test(artifacts): use the current ASAR resource entry

* test(artifacts): assert ASAR unavailable content facts

---------

Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-19 10:32:03 -05:00
morluto de9da86333 fix(windows): validate opaque shortcut block framing (#12401)
* fix(windows): check shortcut PropertyStore block size

* fix(windows): validate shortcut Shim block framing
2026-11-19 15:31:11 +00:00
morluto 205ab4a587 refactor(elf): share fixed symbol record widths (#12379) 2026-11-19 15:28:37 +00:00
morluto 0eac37277d fix(pe): distinguish positional resource framing from capacity (#12402) 2026-11-19 15:26:52 +00:00
ShuaixinHuang 11bfc727d3 fix(ci): retain the website manifest reader in Knip (#12392) 2026-11-19 15:24:43 +00:00
morluto bd4339ade9 fix(model): project the enforced parser limit and cause (#12399) 2026-11-19 15:24:26 +00:00
morluto 2773327843 fix(android): validate boot header size before capacity (#12396)
fix(android): distinguish header layout and capacity limits
2026-11-19 15:23:27 +00:00
morluto e59b4f6faa fix(android): validate vendor ramdisk table before capacity (#12395)
fix(android): validate vendor ramdisk table framing before capacity
2026-11-19 15:22:42 +00:00
morluto a22cbcfd7d fix(rust): validate WebAssembly section framing before capacity (#12394)
* fix(rust): validate WebAssembly section framing before capacity

* docs(rust): describe the WebAssembly payload limit
2026-11-19 15:22:34 +00:00
morluto dd4be52a83 fix(windows): flag reserved shortcut LinkInfo header sizes (#12388)
fix(windows): report reserved LinkInfo header sizes
2026-11-19 15:22:03 +00:00
morluto cb9fce082d fix(elf): preserve compressed note storage through program aliases (#12390) 2026-11-19 15:20:25 +00:00
morluto 88983ebac7 fix(macho): prove command table framing before capacity (#12376)
* fix(macho): prove command table framing before capacity

* test(macho): match shared table admission precedence

* test(macho): separate encryption capacity from invalid framing
2026-11-19 15:19:50 +00:00
morluto a4c4366db2 fix(windows): report missing shortcut Darwin and Shim blocks (#12378)
* fix(windows): report missing shortcut Darwin and Shim blocks

* test(windows): accept declared Darwin and Shim blocks
2026-11-19 15:17:49 +00:00
Nianze WuandCursor Agent a4a633bae7 fix(windows): bound shortcut string offsets to structure data (#10416)
* fix(windows): reject shortcut paths into LinkInfo headers

* test(windows): cover shortcut suffix header offsets

* fix(windows): bound nested shortcut string offsets

* fix(windows): compare only complete shortcut targets

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-11-19 10:15:38 -05:00
Muhammad Hamzaandmorluto 6a782c3573 fix(environment): map id-list elements when a scalar set also changed (#7161)
* fix(environment): map id-list elements when a scalar set also changed

When comparing an answer's scalar id list, the id mapping ran only on the
sameItems fast path. Once one element genuinely changed, or the lengths
differed, array fell to pairwise comparison that compared each element
without its id-list field, so scalar skipped the mapping: comparing live
[101,102] with env [1,9] under 101->1, 102->2 reported /ids/0 (101 vs 1) as
a change as well as the real /ids/1 (102 vs 9).

Thread an idList flag from array to scalar, set by the same per-element rule
sameItems uses, so a mapped element matches and is counted as a normalised
id while a genuine change is reported with its original value. Non-id arrays
are unchanged.

* fix(environment): pair id-list survivors by translated identity

The first fix mapped each id-list element but still paired scalar arrays by
position, so a survivor that shifted position paired with the wrong item:
[101,102] versus [2] under 101->1, 102->2 still emitted a false /ids/0 value
difference even though 102->2 is the survivor and only the removal changed.

Pair id-list survivors by the environment identity they map to, then any
remaining live and environment items by position. The translation is one owner
shared with sameItems, and the paired comparison still maps the original live
id and reports its original value on a genuine change. Non-id arrays keep
positional pairing.

* fix(environment): keep id-list order checks to matched survivors

#idListPairs appended a positional fallback pair for a replaced id, and the
order check read every pair, so a single surviving identity that shifted
emitted a spurious order difference: [101,102] versus [2,9] under 101->1,
102->2 reported order as well as the real /ids/0 value change.

Return the identity-matched survivor pairs separately and compute order from
them alone; the positional fallbacks are value replacements, not the same
item in a new position. Two or more reordered survivors still report order.

* perf(environment): limit ID recovery to conflicting components

* fix(environment): prove response list order across maximum matches

* fix(environment): detect complete duplicate ID list reorders

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-19 15:14:49 +00:00