Reverse engineer anything with agents, from app behavior down to native binaries.
APK signing verification
Current posture qualification
Runtime 4fcbdf6fb78873b47f424c5e15ebda6af715befe, tree 5cadce8a73107560d77045de481559b6eb6ef666,
integrates main 2c3dd946d59c870388b03c3417eeb5218af96eeb. The latest review exposed two additional
derived-fact errors: unchanged multi-signer sets could look rotated, and an
unknown current signer could be replaced with its readable lineage origin.
Three regressions failed against the previous published owner, with14 controls.
The owner now shares one signer-set comparison and preserves missing identity.
- 225 source tests /14 suites, 11 public CLI/MCP tests /3 suites, 23 real SDK cases, uncached typecheck/lint and CI static passed.
- The new public regression proves the missing-identity result through real CLI, SDK summary and retained lineage reads after source deletion. The earlier416-test combined registration/schema matrix stays pinned to8f8541c; contracts, raw framing and process-wide admission have not changed here.
- Current complete versus selected F-Droid task, same answer and complete parent: 5,246 → 4,230 tokenx estimates, 3.850 → 3.591s elapsed, 4.732 → 4.666 CPU s, 694,124,544 → 689,983,488 bytes peak family RSS.
JSON latest_posture_fix records exact profiles and scope. The prior
three-provider comparison remains pinned to35a9b13. These are fresh-process,
warm-cache observations; actual model tokens, statistical speedups,
cryptographic authenticity and independent Windows/macOS behavior are unverified.
Current-head CI/review follows publication.
Integration qualification at8f8541c
Runtime 8f8541c39586d78911e4743d6ec07f75c449a0d5, tree 50b93dccf15c40f9067030614d743d59e0aa334c,
integrates main 2c3dd946d59c870388b03c3417eeb5218af96eeb. The previous published head passed all
technical CI and5/5 review before new upstream Python pyc registrations caused
three additive conflicts. Documentation links, test adapter coverage and named
tool effects now preserve both capabilities. The APK provider/domain/view and
stable-file reader are byte-identical to35a9b13.
- 222 source tests /14 suites, 416 compiled public tests /15 suites (including actual advertised schemas and combined CLI/MCP registrations), 23 real SDK cases, uncached typecheck/lint and exact CI static passed.
- Complete versus selected F-Droid task, same answer and complete parent: 5,243 → 4,227 tokenx estimates, 3.616 → 3.799s elapsed, 4.389 → 4.825 CPU s, 709,554,176 → 717,103,104 bytes peak family RSS. These fresh-process observations use warm OS caches; used input declarations and every call/reply/export are counted, with full-catalog estimates in JSON.
- The earlier three-provider memory comparison remains pinned to35a9b13; it is not a new measurement of this integration. No selection bypasses hashing, and no cryptographic authenticity or statistical speedup is claimed.
JSON latest_main_integration records exact commands and input receipts.
The earlier sections retain their original commit-specific evidence.
Current-head CI and review follow publication.
Review follow-up qualification at35a9b13
That review runtime is 35a9b13adaaccff109125664898d99886d76d959, tree db41f5fbee2d1dca69544c221324daa8238b8e8b.
The original qualification below remains historical at f85a887; JSON
review_followup records the new commands, outcomes and costs.
- 216 source tests /13 suites, 394 compiled boundary tests /13 suites, 23 real SDK cases, uncached typecheck/lint and exact CI static passed. The unchanged schema contracts retain the earlier15-check qualification.
- Corrected regressions reproduce 13 assertion failures and67 passing controls against the published producer source. Required lineage and CMS signature framing, present empty signer sets, full ZIP/Zip64 directory extents and pre-aborted cancellation reasons are now handled at their owning boundaries.
- A shared FIFO admits one active APK scan and eight pending requests across provider instances. Pending scans hold no APK bytes. Capacity, cancellation, release recovery and close/drain have deterministic tests; production-boundary tests use real files with a controlled descriptor pause.
- Three simultaneous scans of the same generated/re-signed180MB input: 981,049,344 → 448,929,792 bytes peak process-family RSS, 2.355 → 2.257s elapsed, 3.116 → 2.491 CPU s. Every result matches the same source SHA, SDK signer fingerprints and declared content digests.
- Current complete versus selected F-Droid SDK task, same answer and complete parent: 5,243 → 4,227 tokenx estimates, 3.564 → 3.824s elapsed, 4.289 → 4.271 CPU s, 754,368,512 → 762,630,144 bytes peak RSS.
These are single fresh-process observations with warm OS caches. Queueing bounds live materialization; it does not make selection skip hashing or establish a statistical speedup. Earlier failed fixture probes, lint and library preparation checks are retained in the JSON record. Current-head CI/review follows publication.
Original qualification
Issue #4537, existing PR
#4158. Runtime f85a887a05fa62d0675139746dbce6eba7548aee,
tree ff1f42613847e198988bf84dfb2d50d578084bdb, integrates main a4a548718d696d7329ffc7b9caa64ee72a215461 while retaining
contributor head 76445a83c8e6542131f7b38290ec749b3a199ba4. The JSON record
pins commands, inputs, resource profiles, failed controls and limits.
The selected-file provider owns ZIP/signing/PKCS#7 parsing and digest work. The shared application workflow owns identity validation, cancellation and Evidence retention. CLI/MCP use the same summary and signer/digest/lineage projections; immutable report caches recheck parent subject identity. Selected pages preserve identity links, source scope and unknowns after source deletion. Complete source Evidence remains accessible and CLI compact delivery exports it.
Executed checks
- 201 source tests /12 suites passed, and uncached typecheck/lint passed. Tests ran on the exact staged tree; commit hooks left that tree identical.
- 408 compiled public tests /14 suites passed, including15 advertised schema checks, both SDK input profiles, CLI/MCP parity, retained reads after deletion, batch/field/page semantics, partial v1/lineage facts, cached subject identity, cancellation/cleanup, stable readers and CI selection/required gates.
- The original real-toolchain verifier passed before and after: 23 verifier-reported CLI/SDK cases, including v1 RSA/EC, legacy v1+v2+v3, rotation, v3.1, source stamp, tampered bytes and forged declared digests. Forged declarations can match bytes while apksigner rejects their signature; REA preserves that distinction. Build Tools36.1.0/platform36 were downloaded from Google, checked against repository metadata and pinned SHA-256.
- Exact CI static checks passed. Documentation validation follows this generated report; current-head GitHub CI and review are checked separately.
The initial matrix had four failures and28 controls. Two missing/truncated framing cases and one lost algorithm-field case were genuine; its universal suffix-refusal assertion was incorrect and is withdrawn. The owner now checks complete signer framing, matching signed/outer v3 SDK bounds and exact algorithm records. Reports retain raw unsigned algorithm IDs, declared digest hex, signature lengths and unknown algorithms. Real SDK signing exposed an extra empty signed-data field accepted by Android readers. Scheme/signer/signed-data/record suffixes now retain explicit uninterpreted counts instead of being mislabeled malformed; required lengths and repeated v3 SDK bounds remain checked. Representation expansion is charged before report allocation. Shared fixtures now produce full framing. No cryptographic signature verification is claimed.
The larger public matrix exposed two old30s test timeouts. The SDK matrix now passes its actual advertised definition; malformed stateless inputs share one production stdio session while representative CLI cases remain. All original assertions and deadlines are retained. Failed preparations and superseded runs are explicitly recorded in JSON.
Public artifact and resource evidence
The unchanged official F-Droid APK is
12,569,951 bytes, SHA-256
19d51fad482239f6df6a99120e34513667e9a86d136dafdc4a211a68c3327b52. SDK apksigner verify -v --print-certs
verified v3 and identified 43238d512c1e5eb2d6569f4a3afbf5523418b82e0a3ed1552770abb9a9c9ccab; every task reproduces that
fingerprint and exports the complete parent report. URL, response metadata and
input identity are retained. Android code was never executed.
A distinct generated stress input adds a160MiB stored asset to that APK and
re-signs it with a generated fixture key. It is
180,350,384 bytes, SHA-256
cf3a3936f90bb79dabe2598dc4290f8c47d10680993c054fe8cac9d391fadaaf; apksigner verifies it. Three provider
calls per input check exact source identity, signer and content-digest equality.
Their first/repeated in-process timings are recorded separately. An additional
512MiB+1 sparse file is refused before whole-file allocation.
Whole resource probe: 2.047 s / 2.393 CPU s / 449,503,232 bytes peak sampled family RSS. The whole-file reader retains chunks and a concatenated buffer; its512MiB input cap is not a 512MiB process-memory claim. Selection reduces delivery and does not skip file SHA-256 or supported digest analysis.
Equivalent completed SDK task
Task: identify every declared v3 signer fingerprint in the unchanged APK and export complete Evidence. The current complete and selected tasks export the same parent Evidence identity. Earlier normalized facts differ because the original report omitted raw algorithm details; all three answers and source SHA-256 agree. The original baseline predates the later main integration; whole-catalog changes include other upstream tools. Only the two current tasks share identical advertised definitions and a complete parent identity.
| Delivery | Used full input declarations + all calls/replies, tokenx | Entire catalog + all calls/replies, tokenx | Task resources |
|---|---|---|---|
| Original complete | 4,156 | 1,140,214 | 3.282 s / 4.083 CPU s / 751,788,032 bytes peak sampled family RSS |
| Current complete | 5,246 | 1,157,394 | 3.612 s / 4.339 CPU s / 698,650,624 bytes peak sampled family RSS |
| Current selected | 4,230 | 1,156,378 | 3.508 s / 4.384 CPU s / 700,706,816 bytes peak sampled family RSS |
These are estimates, not actual model tokens. Counts include actual advertisements, arguments, complete replies and exports; initialization and JSON-RPC envelopes are unmeasured. Processes/sessions are fresh with warm OS caches. No disk-cold or statistically stable timing claim is made. CPU uses payload-family wait-rusage delta; RSS samples every20ms and sums descendant processes. Heavy tasks run serially on two CPUs with8GiB/420s guards; no guard fired.
The added GitHub lane requires pinned SDK oracle tools and has no silent skip. Local results establish Linux static-reader behavior. Windows/macOS APK behavior, platform installation, authenticity, cryptographic signer/lineage validity and v1 entry coverage remain unverified.