Commit Graph
9532 Commits
Author SHA1 Message Date
morluto 1a613fd0d5 test(release): consolidate immutable checkpoint fixtures (#13388) 2026-11-22 10:52:15 +00:00
morluto 2fdf3d61d9 test(managed): consolidate observed member matching proofs (#13386) 2026-11-22 05:39:41 -05:00
morluto 55a320be87 perf(release-exposure): reuse verified packaged PE bytes (#13385) 2026-11-22 10:32:16 +00:00
morluto 6154c610a6 test(managed): exercise both comparison snapshot admissions (#13384) 2026-11-22 05:27:57 -05:00
morluto 3daf6aacdd fix(release-exposure): settle cancellation and package cleanup together (#13383) 2026-11-22 10:24:16 +00:00
morluto ca7572d6e9 test(release-exposure): consolidate native and packaged evidence checks (#13382) 2026-11-22 10:21:44 +00:00
morluto c001100e57 test(firmware): consolidate OTA integrity and transport proof (#13381) 2026-11-22 10:14:53 +00:00
morluto 457f90e5cd perf(firmware): stream the owned reconstructed OTA buffer (#13380) 2026-11-22 10:12:15 +00:00
morluto 64d42d2971 test(ghidra): consolidate raw profile and packaged producer proof (#13379) 2026-11-22 05:04:48 -05:00
morluto ac7ae19cb2 test(firmware): observe decoded region descriptor settlement (#13378) 2026-11-22 10:02:55 +00:00
morluto 5fc6b3351e test(managed): consolidate ambiguous heap and Module identity checks (#13377) 2026-11-22 05:00:30 -05:00
morluto 7aa15c4ac7 test(firmware): consolidate HEX wire limits and public inspection (#13376) 2026-11-22 09:55:47 +00:00
morluto 1f2805e6c8 refactor(firmware): use one cooperative OTA reconstruction path (#13375) 2026-11-22 09:52:38 +00:00
morluto e84668c76b fix(firmware): honor the final Android OTA timestamp record (#13373) 2026-11-22 09:49:35 +00:00
morluto 0c0130ce50 test(dotnet): consolidate malformed metadata and table stream proofs (#13374) 2026-11-22 04:48:44 -05:00
morluto e9dead75ea test(firmware): consolidate UF2 numbering and shared reader identity (#13372) 2026-11-22 04:44:13 -05:00
morluto 6050e0882a test(ghidra): consolidate session authority checks (#13367)
* test(ghidra): consolidate session authority checks

* test(ghidra): surface typed handshake errors on success checks
2026-11-22 09:43:12 +00:00
morluto 95220bcde1 perf(firmware): bound DfuSe overlap diagnostics before formatting (#13371) 2026-11-22 09:42:33 +00:00
morluto fb6e0dc6e8 refactor(ghidra): require an owned committed project copy (#13363) 2026-11-22 09:38:42 +00:00
morluto 7c8493d41d test(ghidra): synchronize import descriptor finalization (#13370) 2026-11-22 09:31:31 +00:00
morluto da6f89808d test(dotnet): consolidate managed PE and field constant contracts (#13365) 2026-11-22 09:31:27 +00:00
morluto 2e8bdfd808 test(dotnet): prove scoped member ownership within the caller budget (#13369) 2026-11-22 09:30:54 +00:00
morluto 62114e940f fix(audit): preserve owner failures after cleanup settles (#13352) 2026-11-22 09:30:41 +00:00
morluto 2209acc824 test(firmware): consolidate staging and resource recovery checks (#13358)
* test(firmware): consolidate staging and resource recovery checks

* test(firmware): preserve the cumulative staging-byte limit
2026-11-22 09:27:13 +00:00
4f43d7422f feat(browser): accept mitmproxy 12.3.1 for native capture decode (#8088)
* feat(browser): accept mitmproxy 12.3.1 for native capture decode

Bump the offline adapter profile, provider identity, Linux verification archive, and docs so callers can use mitmproxy 12.3.1 instead of the 12.2.3 pin that blocks patched Brotli/cryptography. Keep SaveHar null postData admission for both producer versions.

Fixes #8078

* test(web): regenerate published HAR example identities

The HAR limitation now names both admitted mitmproxy profiles, which
changes the decoded capture's Evidence ID and both views' parent and
view digests. Update the published API surface and environment manifest
examples to the identities reproduced from their fixture bytes.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

---------

Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-22 09:26:35 +00:00
morluto 3a36311004 fix(process): retain synchronous command launch failures (#13350) 2026-11-22 09:26:24 +00:00
morluto 734ef0f9b2 test(firmware): consolidate extraction report ownership checks (#13351) 2026-11-22 09:25:48 +00:00
morluto caa2fab476 fix(audit): interpret Go trimpath rewrites at the flag parser (#13349) 2026-11-22 09:23:33 +00:00
morluto cdba576469 test(audit): consolidate release exposure document routing (#13347) 2026-11-22 09:11:52 +00:00
morluto 0ecb6dde4b fix(audit): bind Electron fuse reads to the inventoried file (#13348) 2026-11-22 09:10:16 +00:00
RRFZ 9a6ee71886 fix(cli): reject nonnumeric output slice bounds (#13344) 2026-11-22 03:54:12 -05:00
morluto 6cc7de3005 perf(native): eliminate quadratic lookups, comparator Zod/stringify churn, and redundant clones across native workflows (#13306)
* perf(native): eliminate quadratic lookups, comparator Zod/stringify churn, and redundant clones across native workflows

* test(native): assert exact compositeKey ordering sequence in objcSwiftMetadata
2026-11-22 08:54:10 +00:00
morluto 25d0c53a40 fix(audit): preserve distinct opaque CodeView paths (#13346) 2026-11-22 08:53:51 +00:00
RRFZ d4f78cb592 fix(cli): preserve explicit null output (#13342) 2026-11-22 03:53:17 -05:00
morluto d0929f9aa2 fix(audit): preserve explicit source map schemes (#13345) 2026-11-22 08:48:43 +00:00
morluto d35e142709 fix(artifacts): verify owned carriers before retrying package reads (#13343) 2026-11-22 08:46:43 +00:00
morluto 5b3ef76e4d perf(ghidra): fuse project snapshot I/O, parallelize language catalog, drop double validation, and add callTool progress heartbeats (#13310) 2026-11-22 08:46:18 +00:00
morluto 2f171faa9f perf(search/kuna): optimize regex worker dispatch and Kuna inventory validation (#13320)
perf(search,kuna): optimize RegexMatcher worker dispatch and Kuna inventory validators
2026-11-22 03:46:02 -05:00
morluto e0d8cc942f perf(dotnet): push down native boundary and member selection predicates (#13317)
* perf(dotnet): push down native boundary, selection, Constant, and #US overflow predicates

* fix(dotnet): preserve readonly member drafts through literal recovery
2026-11-22 08:45:49 +00:00
morluto fde2c87b86 perf(javascript): index feature, semantic, IPC, and source map lookups (#13319)
perf(javascript): eliminate double preload AST pass and index feature/semantic/IPC/sourcemap lookups
2026-11-22 03:43:13 -05:00
morluto 79887f7a3b perf(native): eliminate hot allocations in ELF/DWARF readers and enlarge signature copy chunks (#13318) 2026-11-22 03:42:58 -05:00
23970fc63f feat(web): deduplicate bundle findings across scripts by value and mechanism (#11354)
* feat(web): deduplicate bundle findings across scripts by value and mechanism

Per-script findings were deduplicated only within one script, so the same
endpoint or route observed in N scripts appeared N times in the merged
bundle, inflating the finding list and overstating the inventory.

Merge now deduplicates routes and endpoints across scripts by
(value, mechanism). The first occurrence keeps its location and order;
later occurrences fold into optional occurrences/script_keys on the
retained entry, so no script is silently dropped and single-script
findings keep their original shape. The key uses the existing compositeKey
helper (JSON) instead of a NUL join. bundleLimitations gains a line
describing the cross-script merge.

* fix(web): address Greptile review on cross-script bundle dedup

- Accept merged endpoint occurrences/script_keys in the web-bundle
  view row schema so unfiltered pages no longer throw.
- Match endpoint script_keys filters against retained script_keys,
  falling back to location.script_key for older records.
- Generate distinct finding keys in the wide-result capacity fixtures
  so routes/endpoints still exercise a 130,000-entry merged result.
- Append later script keys in place instead of rebuilding the list.
- Compare the dedup limitation against its owning constant instead
  of freezing the explanatory sentence in the test.
- Update the route-inventory guide for merged endpoints.

* test(web): expect the cross-script endpoint merge in the semantic budget case

Main added a regression where two budget-limited scripts both report
/health. With findings merged across scripts, it is one entry whose
occurrences and script_keys name both scripts, which keeps the case's
per-script attribution.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>

---------

Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-22 16:33:22 +08:00
b57671cb42 feat(evidence): find direct referrers by linked Evidence ID (#11709)
* feat(evidence): find direct referrers by linked Evidence ID

* docs(evidence): record real APK referrer verification

---------

Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-22 16:30:29 +08:00
morluto 23af000299 test(audit): consolidate release exposure evidence checks (#13341) 2026-11-22 03:23:26 -05:00
morluto 26917581d6 fix(audit): preserve non-ASCII whitespace in Go build paths (#13340) 2026-11-22 08:17:40 +00:00
morluto 667fa3d646 fix(artifacts): commit package listings only after traversal (#13339) 2026-11-22 03:16:51 -05:00
7b6e816b0b feat(javascript): inventory Expo Router require.context route keys (#10624)
* feat(javascript): inventory Expo Router require.context route keys

Problem: Expo Router (Metro) web exports register file routes through a
bundled require.context map whose keys are literal route filenames such as
"./(app)/<section>/[id]/edit.tsx", "./_layout.tsx" and "./+not-found.tsx".
The route scan did not recognise that map, so the javascript-routes view of
analyze_javascript_application returned an empty inventory for these apps.

Fix: the route scan owner recognises Metro's context template,
Object.defineProperties({}, {"./file.tsx": getter, ...}). When every key is a
./-relative .js/.jsx/.ts/.tsx file and the map holds at least one _layout or
"+" file, each other key becomes a candidate with the new
expo-router-context-key mechanism, located at the key literal, with low
confidence and inferred derivation. The route-path owner converts keys with
Expo Router file conventions: groups (including group arrays) contribute no
segment, [id] -> :id, [...rest] -> :rest+, a trailing index names its
directory, platform extensions select the same route, and +api files keep
their API path. Layouts and other "+" files are not URL patterns.
Classification stays unknown; a bundled key does not establish platform,
navigator, server or reachability. A file map without a layout or "+" file
retains an interpretation unknown instead of becoming routes. Other
defineProperties calls are not read. The route inventory guide documents this.

Validation: new scan, inventory and CLI acceptance cases with a synthetic
Metro-style module. On the base, the scan and inventory cases failed with
empty candidates and routes; they pass now. Ran test:local for the route
scan, inventory, view, delivery-contract, result-budget and advertised
schema tests (378 passed), test:focused for
tests/acceptance/javascriptRoutesCli.test.ts (13 passed), docs:check and
check:fast. The conventions were checked against the published metro 0.88.0
context template and expo-router 58.0.31 matchers, not a real Expo export.

Refs morluto/rea#7510

* fix(javascript): admit Expo Router context keys within the fact budget

Review follow-up for Expo Router route keys.

The context-map reader converted every key and kept each derived path
in a local array before emission. Only a location per property was
charged, so a map with many long filenames retained route text beyond
the fact budget, including text later discarded at capacity. The reader
now establishes applicability in a first pass without keeping derived
paths. A second pass converts and admits one key at a time through the
budgeted fact owner. Emitted facts and their order are unchanged.

The route inventory guide said Expo keys stay classified unknown, but
the existing path-name heuristic still applies: ./login.tsx becomes
/login, classified system by path-name-heuristic. The guide now says a
bundled key adds no classification of its own.

Tests: a budgeted case with 80 long keys admits a key-ordered prefix and
stays within the limit. The route scan and inventory tests (355) and the
routes CLI acceptance tests (13) pass. check:fast and docs:check pass.

* docs(specs): record the Expo Router route key feature

The documentation guide asks each feature for a spec.md, plan.md and
tasks.md under docs/specs/. Add the record for reading Expo Router
require.context keys in the JavaScript route inventory, and index it.

---------

Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-22 16:15:33 +08:00
morluto 297630cbf3 perf(ghidra): eliminate non-ASCII search flood, compact bridge inventories, and stream JSON responses (#13305)
* perf(ghidra): eliminate non-ASCII search flood, compact bridge inventories, and stream JSON responses

* fix(ghidra): resolve :: in procedure leaf and add checked-in bridge helper tests

* fix(ghidra): handle CRLF line endings in bridge helper tests
2026-11-22 03:15:15 -05:00
morluto b795aee553 perf(process): wake OwnedCommand on output close, lazily materialize diagnostic snapshots, and bound tail copies (#13261)
* perf(process): wake OwnedCommand on output close, lazily materialize diagnostic snapshots, and bound tail copies

* fix(process): capture event-time bytes in diagnostic snapshots and make wrap test independent
2026-11-22 03:15:02 -05:00
morluto 9e379c9589 perf(evidence): eliminate redundant bundle re-validation, cloning, and nested generator yields (#13257)
* perf(evidence): eliminate redundant bundle re-validation, cloning, and nested generator yields

* fix(evidence): detach exported snapshots and preserve equalJsonText validation
2026-11-22 03:14:49 -05:00