1701 Commits
Author SHA1 Message Date
gensokyo-devandgensokyo-dev ca26f2ac84 fix(analysis-view): read older UEFI extraction Evidence and drop filter-count ceilings
extract_uefi_firmware rows gained a required ffs_file, so extraction Evidence saved before that field failed to parse in retained views. The field is now optional when reading: the extractor still always records it, and an unrecorded owner matches no owner filter. UEFI view filters also capped each list at 64 values without a format, protocol or resource reason; overlapping filters cannot be split into separate requests without miscounting, so the cap is removed. MCP input-element admission still bounds every request.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 17:41:53 +08:00
gensokyo-devandgensokyo-dev e617a55385 perf(uefi)!: summarize firmware extraction by default over MCP
A whole-image extraction of a 4 MiB OVMF image lists 560 files in about 553 KB of structured content, which exceeds client result limits. MCP extract_uefi_firmware now retains the complete manifest and returns its summary unless the caller passes detail complete. Targeted extractions fit in the summary's file preview. An optional view returns the first uefi-extraction page in the same call; later pages use inspect_analysis_view. The one-shot CLI command still returns complete Evidence.

BREAKING CHANGE: MCP callers that need every published file inline must pass detail: "complete" to extract_uefi_firmware.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 14:58:56 +08:00
morluto 5817ebb288 fix(ci): close static-check cache gaps and prune stale settings (#14017)
* fix(ci): close static-check cache gaps and prune stale settings

* chore(ci): remove unused Actionlint runner label
2026-11-23 01:11:58 -05:00
morluto 4fdacbf982 fix(ci): track configuration inputs across cached checks (#14015) 2026-11-23 01:03:08 -05:00
morluto b565f787cb refactor(cli/server): break remaining module-layer cycles (#14013)
* refactor(cli,server): break remaining module-layer cycles

* fix(ci): follow relocated CLI entry points

* refactor: remove retired internal reader exports
2026-11-23 00:58:01 -05:00
morluto 88dfad5bb7 refactor: remove internal re-export shims and guard against new ones (#14009)
* refactor: remove internal re-export shims and guard against new ones

* fix(ci): catch namespace module re-exports
2026-11-23 00:47:47 -05:00
morluto a5d427a2d1 chore(guards): declare desktop build-computer entries and clear the entry baseline (#14011) 2026-11-23 00:43:38 -05:00
gensokyo-devandgensokyo-dev 11ac37a42f perf(uefi)!: summarize firmware inspection by default over MCP
A complete map of a 4 MiB OVMF image is about 514 KB of structured content, which exceeds client result limits. MCP inspect_uefi_firmware now retains the complete map and returns its summary unless the caller passes detail complete. An optional view returns the first uefi-firmware page in the same call; later pages use inspect_analysis_view. The one-shot CLI command still returns complete Evidence.

BREAKING CHANGE: MCP callers that need every volume, file and section inline must pass detail: "complete" to inspect_uefi_firmware.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-23 13:12:02 +08:00
morluto 209bee0bf3 refactor(server): extract browser, Electron, and JavaScript runtime tool bindings (#13939)
* refactor(server): extract browser, Electron, and JavaScript runtime tool bindings

* test(ci): select browser checks for extracted bindings
2026-11-23 04:35:03 +00:00
morluto 7f939d7508 refactor(server): extract debugger and instrumentation tool bindings (#13909)
* refactor(server): extract debugger and instrumentation tool bindings

* test(server): track extracted debugger bindings in reverse tools coverage

* fix(cli): defer artifact AnalysisView loading until requested

(cherry picked from commit e58fda3f26)
2026-11-23 03:55:43 +00:00
morluto 6ce7f932bd perf(apk-signature): stream APK signature inspection over FileHandle (#13877)
* perf(apk-signature): stream APK signature inspection over FileHandle

* fix(apk-signature): preserve bounded reads and file identity

* fix(apk-signature): handle deflate EOF and repair verifier bounds

* fix(apk-signature): recognize internal pipeline cancellation at EOF
2026-11-23 03:18:38 +00:00
morluto 11a7a34dfc feat(adb): add optional limit and offset paging to list_adb_features and list_adb_services (#13873)
* feat(adb): add optional limit and offset paging to list_adb_features and list_adb_services

* test(adb): verify feature and service paging guidance
2026-11-22 21:46:36 -05:00
morluto 1d4fadceb2 feat(tools): add optional limit and offset paging to find_xrefs_to_name (#13858)
* feat(tools): add optional limit and offset paging to find_xrefs_to_name

Closes #13857

* fix(tools): preserve xref discovery coverage in paged results
2026-11-23 02:44:42 +00:00
morluto 2cf600fc7f refactor(application): unify 5 pass-through analysis services into ProviderOperationService (#13856)
Closes #13855
2026-11-23 02:33:17 +00:00
morluto 9ec23ad03b feat(frida): add optional limit and offset paging to list_frida_processes (#13854)
* feat(frida): add optional limit and offset paging to list_frida_processes

Closes #13853

* fix(frida): stabilize paged process discovery

* docs(frida): scope paging claims to shipped discovery
2026-11-23 02:28:45 +00:00
morluto cc5df28644 refactor: prune 5 redundant single-call wrapper modules (#13807)
* refactor: prune 5 redundant single-call wrapper modules

* chore(ci): remove deleted providerEnvironment.ts from Stryker and CI scope configs

* fix(ci): retarget provider environment mutation coverage
2026-11-23 02:25:46 +00:00
morluto f47dbd9351 feat(android): add optional limit and offset paging to search_android_classes (#13846)
* feat(android): add optional limit and offset paging to search_android_classes

Closes #13845

* fix(android): honor larger class search pages

* fix(android): size JADX reads to the requested page

* test(android): separate class paging from Evidence retention
2026-11-22 21:19:46 -05:00
morluto dbd6057454 feat(adb): add optional limit and offset paging to list_adb_packages, list_adb_processes, and list_adb_directory (#13843)
* feat(adb): add optional limit and offset paging to list_adb_packages, list_adb_processes, and list_adb_directory

Closes #13842

* fix(adb): honor larger pages and preserve empty-list coverage

* docs(adb): explain listing pagination and coverage
2026-11-22 21:12:59 -05:00
morluto d0560b1b88 feat(tools): add optional max_depth and max_nodes bounds to get_call_graph and trace_call_path (#13828)
* feat(tools): add optional max_depth and max_nodes bounds to get_call_graph and trace_call_path

* fix(tools): preserve call graph depth warnings through cleanup
2026-11-22 20:53:25 -05:00
morluto 3843fb2dd0 refactor(composition): prune binaryDiagnostics re-export barrel and migrate callers (#13839)
Closes #13838
2026-11-22 20:41:11 -05:00
morluto f6a83f1fcf fix(contracts/mcp): collapse Evidence wire schemas, project type lists, preserve discover_tools guidance (#13752)
* fix(contracts/mcp): collapse Evidence wire schemas, project type lists, preserve discover_tools guidance

* fix(mcp): preserve borrowed Evidence arrays in advertised schemas

* fix(mcp): retain typed union constraints and clarify tool discovery

* test(mcp): refresh advertised schema summaries

* style(mcp): format compact schema tests
2026-11-22 20:23:50 -05:00
morluto c4be5b7065 refactor(artifacts): extract releaseExposureFailures from ReleaseExposureReader (#13739)
* refactor(artifacts): extract releaseExposureFailures from ReleaseExposureReader

* fix(artifacts): preserve release audit operation in errors

* style: format files with oxfmt
2026-11-22 20:23:07 -05:00
morluto 33061332ef refactor(native): extract NativeMacosErrorProjection from NativeMacOSProvider (#13741)
* refactor(native): extract NativeMacosErrorProjection from NativeMacOSProvider

* refactor(native): remove unused error projection imports
2026-11-22 19:39:55 -05:00
morluto 67388539e0 refactor(server): extract ErrorEvidenceTransport from EvidenceMcpServerCore (#13761)
* refactor(server): extract ErrorEvidenceTransport from EvidenceMcpServerCore

* refactor(mcp): drop unused error encoding import
2026-11-23 00:37:03 +00:00
morluto 8e619be40c refactor(setup): extract SupportedClientLocations from SupportedClients (#13731)
* refactor(setup): extract SupportedClientLocations from SupportedClients

* refactor(setup): remove clientProjectConfigurationPaths re-export

* refactor(setup): remove unused client location imports
2026-11-23 00:22:36 +00:00
morluto 7af28969ed refactor(ghidra): extract GhidraSessionErrorProjection from GhidraProviderClient (#13722)
* refactor(ghidra): extract GhidraSessionErrorProjection from GhidraProviderClient

* refactor(ghidra): remove unused error projection imports

* refactor(ghidra): remove guidance re-exports and import directly
2026-11-23 00:07:20 +00:00
Jaws 60dfeec745 fix(ci): read portable build plan from a file instead of a pipe (#13456)
* fix(ci): read portable build plan from a file instead of a pipe

Write the Turbo dry plan to .cache/ci-build-plan.json, then have key
and snapshot read that complete file by path. This removes the live
stdin pipe from the portable-build-cache plan step.

* fix(ci): clear stale portable build output when the plan file is missing

If readFile fails, still remove the previous key plan or snapshot so a
missing or unreadable input cannot leave stale output for later steps.
2026-11-22 15:51:20 -05:00
morluto 0eaea650c0 fix(evidence): reject unknown fields in comparison record pairs (#13523) 2026-11-22 17:56:50 +00:00
morluto 8688eb0195 perf(cli/mcp): eliminate eager JSON schema work, double projection, and O(N^2) error compaction (#13466)
* perf(cli/mcp): eliminate eager JSON schema work, double projection, and O(N^2) error compaction (#13464)

* test(mcp): cover reuse of the registration input schema projection
2026-11-22 16:42:37 +00:00
morluto 07df0f1c04 fix(ci/tests): bound untyped oxlint threads and fail fast on terminal POSIX poll errors (#13447)
* fix(ci/tests): bound untyped oxlint threads and fail fast on terminal POSIX poll errors

* style(tests): format POSIX observation polling

* fix(ci): pass REA_OXLINT_THREADS and GITHUB_ACTIONS through Turbo lint and format
2026-11-22 15:48:48 +00:00
morluto c60cf4e3b8 fix(wasm): report observed WABT diagnostic bytes (#13436)
* test(wasm): verify auxiliary paths in real WABT CLI parity

* fix(wasm): report observed WABT diagnostic bytes
2026-11-22 09:35:41 -05:00
ashritandmorluto 3db9120c5e fix(ghidra): point to the LC_MAIN entry when a stripped Mach-O has no main symbol (#12966)
* fix(ghidra): derive the LC_MAIN entry address from bounded snapshot reads

* fix(ghidra): point to the LC_MAIN entry when a stripped Mach-O has no main symbol

* fix(ghidra): keep snapshot cleanup failures from the LC_MAIN hint read

* fix(ghidra): admit the LC_MAIN segment's file range before hinting

* fix(ghidra): give no LC_MAIN hint for an entry in a file-only segment

admitMachoSegmentCommand admits a segment with no VM size and no protection but marks it unmapped; it owns no analysis address, so the hint must not name one.

* fix(ghidra): confirm Mach-O entry retries against the function inventory

* fix(hopper): offer inventory recovery for unresolved selectors

* fix(ida): offer inventory recovery for missing procedures

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-22 14:14:21 +00:00
morluto 3d3e7db5b5 fix(ghidra): report incomplete language catalogs at the file size limit (#13407) 2026-11-22 12:08:44 +00:00
morluto 16732c6b72 fix(release): bind checkpoint references to frozen history (#13392) 2026-11-22 11:14:02 +00:00
morluto da6f89808d test(dotnet): consolidate managed PE and field constant contracts (#13365) 2026-11-22 09:31:27 +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
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
Xiangfang Chen 85154de8ab fix(android): advertise the external-reference inputs the bridge accepts
The bridge-owned catalog omitted method_name and reference_target from
get_class_summary and reference_target from get_xrefs_to_method, even
though the bridge reads both on its external-prototype path and REA
sends both for reference queries. Neither side validates against the
schema today, but the verified catalog contradicted the traffic it
describes, and any schema-validating client would reject REA's own
reference queries.

The REA call sites also stopped sending limit, resolve_line and
smali_fallback, which the bridge never reads.

Validation: check:fast, and the Android MCP boundary plus JadxAnalysis
tests (92 tests). The bridge source itself was not compiled here; the
local engine JAR is absent, so verify:android against the real 0.8.0
JAR remains the authoritative catalog check.
2026-11-22 16:01:00 +08:00
Xiangfang Chen ab3ae658da test(android): assert bridge property types and surface Java stderr
The catalog check compared property names and required fields only, so
advertising `overload_index` as a string would still have passed even
though the bridge rejects it. Each expected property now carries its type.

The transport piped the bridge's stderr and never read it, so a failing
startup or catalog reply surfaced as "Connection closed" with the Java
error hidden. Retain a bounded tail and append it to the failure.

Validation: bridge-catalog against the real 0.8.0 JAR passes; a wrong
expected type fails with "get_method_body.overload_index must stay
string", and a missing engine JAR now reports the javac diagnostics
instead of only the closed connection.
2026-11-22 16:01:00 +08:00
Xiangfang Chen 2b6ede2d0c fix(android): let the bridge advertise its own tool schemas
Listing the bridge tools closed the connection. The bridge copied each
property from the pinned engine's schema, and that schema has no
`overload_index` for `get_xrefs_to_method`, so the advertised map carried
a null that kotlinx serialization cannot write. Only `tools/list` was
affected: REA calls tools by name, which is why the real lanes never saw
it, and the same defect reproduces against the 0.7.1 engine.

The bridge now declares the properties and required fields it accepts, so
an engine bump can neither advertise a null nor drop the overload
selector REA relies on. The real Android lane lists the live catalog to
keep the shape under test. One tool list serves both the consumed set and
the reimplementation loop, unknown names fail fast instead of inheriting
a method-shaped schema, and the identity moves to 12 because main's JNI
split-qualification change already owns 11.

Validation: build:cached, check:fast, docs:check, test:focused over the
Android boundary files, and verify:android against the real 0.8.0 JAR and
ApiDemos 6.0.18. The new catalog step passes; the lane still stops at the
pre-existing `missing java` recovery expectation, which this change does
not touch.
2026-11-22 16:01:00 +08:00
Xiangfang Chen 3ca89d8272 feat(android): pin jadx-headless-mcp 0.8.0
Move the audited engine release and its submodule gitlink from v0.7.1 to
v0.8.0 (commit 2b2a560e, sha256 4b9a01c2...). Upstream only changed
source-window paging and metadata-only field reads, so the six tools REA
consumes and the bridge identity stay unchanged.

Hand-copied version numbers now derive from JADX_RELEASE: the fixture
download name, the metadata-bridge workflow path and the fake MCP
server's reported engine version. The composition fallback availability
text no longer names a release, because the Android boundary owns the
versioned remediation.

Validation: build:cached, check:fast, docs:check, test:focused over the
16 Android test files (296 tests), and verify:android against the real
0.8.0 JAR and ApiDemos 6.0.18.
2026-11-22 16:01:00 +08:00
gensokyo-devandgensokyo-dev 5d136df3ce ci(apple): run the bundle executable provenance regression on macOS
The CLI/MCP regression is skipped off darwin, and no macOS job listed it,
so CI never exercised the provenance it covers. Add it to the Apple
artifact lane and its owned paths.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-22 15:41:50 +08:00
morluto 87243c0c0e perf(schemas): eliminate generator/clone overhead in schema compaction and compact union projections (#13313) 2026-11-22 03:57:03 +00:00
d0ukanandmorluto 88d1d9b8b5 fix(website): verify markdown fragments from parsed headings (#13265)
* fix(website): verify markdown fragments from parsed headings

* fix(website): derive image heading fragments from parsed alt text

* fix(website): exclude YAML front matter from Markdown paths and anchors

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-21 22:06:51 -05:00
6357f775a0 fix(pwntools): release each PLT emulator so CET binaries keep their PLT map (#13213)
* fix(pwntools): release each PLT emulator so CET binaries keep their PLT map

pwntools 4.15.0 emulates each PLT section in a new Unicorn instance with
a 1 GiB virtual map, and hook closures keep each instance alive until
cyclic GC. Under the default 3 GiB address-space limit the third section
of a CET x86-64 image failed upstream's 1 GiB probe, so linkage.plt was
truncated with only a stderr warning (/usr/bin/ls: 4 of 108 entries).

Wrap upstream's emulate_plt_instructions for the PLT pass so each
section's emulator is collected before the next, restoring it in
finally. Peak PLT address space drops from about 3.2 GiB to 1.1 GiB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(pwntools): make the CET verifier deterministic and supervised

---------

Co-authored-by: aadheel <250292080+aadheel@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-22 02:35:42 +00:00
morluto 411e78ea64 fix(ci): check the MCP SDK validator option in its constructor slot (#13266) 2026-11-22 01:54:17 +00:00
morluto d6c4776e65 fix(setup): unify OpenCode layer resolution and alias ownership (#13226) 2026-11-22 01:35:37 +00:00
morluto ac0dd6b371 fix(verification): isolate MCP package canaries from target settings (#13256) 2026-11-22 01:35:33 +00:00
morluto 0209d3e1b5 fix(mcp): keep doctor launches target-free on Windows (#13250) 2026-11-22 01:14:11 +00:00
morluto eacbd2522a fix(verification): distinguish MCP probe refusals from local deadlines (#13246) 2026-11-22 00:31:34 +00:00