ift-ts:qa:logos:2026q4-source-code-level-qa
Description
Build an AI code analysis system prototype that helps discover new bugs quickly and turns findings into actionable issues. Use a second agent to independently review candidate findings and reduce false positives, then provide precise classifications and fix proposals. Generate proofs or exploit reproductions for high-severity issues and regression tests where possible.
Task List
System prototype
- fully qualified name:
ift-ts:qa:logos:2026q4-source-code-level-qa:system-prototype - owner: Roman
- status: in progress (85%)
- start-date: 2026/10/01
- end-date: 2026/12/31
Description
Prototype an AI code analysis workflow covering:
- Fast discovery of new bugs through agent-assisted code analysis.
- Independent cross-review by a second agent to challenge findings and reduce false positives.
- Precise issue classification, including impact, severity, affected scope, supporting code evidence, and a proposed fix. Use LEZ issue #866 as an example of the expected reporting detail.
- Proof or exploit generation to reproduce and demonstrate high-severity findings.
- Regression test creation where possible, so confirmed bugs can be detected automatically in future changes.
Deliverables
- A working prototype and documentation for the discovery, cross-review, and reporting workflow.
- Classified findings with supporting evidence, second-agent review results, and fix proposals.
- Reproducible proofs or exploits for high-severity findings, with any reproduction limitations recorded.
- Regression test PRs where feasible, with remaining test coverage gaps documented.
- Ran two rounds of security and specification-compliance scanning on LEZ Atomic Swaps, using manual prompts and the Bork prototype with structured input.
- Added configurable Claude/Codex model support to Bork.
- Sent Gateway the LEZ Atomic Swaps v0.2.4 RFP compliance and test-coverage report.
- Added Bork workflows
audit-spec-test-case-coverageandaudit-milestone-test-case-coverage. - Sent Gateway the LEZ Atomic Swaps v0.2.5 RFP compliance and test-coverage report.
- Clarified and fixed CODE-5 for LEZ Atomic Swaps v0.2.5.
- iftech/bork#1 feat: workflow files, composed audits, and the findings history
- Added third-party application support, including Notion, to the source-code QA prototype.
- Completed all 53 parts of the Logos Blockchain v0.3.0 specification audit, reporting 12 high, 94 medium, and 67 low findings.
- iftech/bork#2 feat: cron jobs, the tick, and the triggers that keep a PR green
- iftech/bork#3 feat: bork top, a full-screen view over one shared snapshot
- iftech/bork#4 fix: source as a bundle, claimed briefs and collects, delivery by stage
- iftech/bork#5 feat: per-session model and an effort knob
- logos-blockchain/logos-blockchain#3911 Validation rule “ZkSignature by
public_keyovermantle_txhash” is never checked. (F-dd99b3f2) - Added concurrent Bork input consoles and jobs; tested two consoles and two jobs, limited by available hardware.
- logos-blockchain/logos-execution-zone#1027 Store-drained deposit skips the restricted-account guard and halts block production (F-b8196b2e)
- logos-blockchain/logos-execution-zone#1028 A deposit naming a clock or fee account wedges block production zone-wide (F-2f1373ff)
- logos-blockchain/logos-execution-zone#1029 A staked small-order key panics the channel-config update on every sequencer (F-af620781)
- logos-blockchain/logos-execution-zone#1030 getTransactionsByAccount: unchecked offset+limit panics and over-allocates (F-3f6d2668)
- logos-blockchain/logos-execution-zone#1031 Indexer retry gate reset on parking lets a duplicate block hold the slot forever (F-4ccadfb6)
- logos-blockchain/logos-execution-zone#1032 Followers accept forged-shape bridge Deposits with no L1 check (F-b96deac2)
- logos-blockchain/logos-execution-zone#1033 No discriminant between ProgramHeader and ProgramSegment lets WriteSegment forge a header (F-582d225e)
- Ran a Devin security scan of logos-execution-zone and sent the findings for review.
- Ran Devin security scans on status-app and status-go and reported findings privately as security advisories.
- Moved per-session model and effort selection to the brief.
- Implemented two-round finding triage, with human decisions for disagreements between advisor and console agent.
- Added idle-volume build-cache cleanup through
bork clean --cache. - Scheduled briefs rejected at capacity for a later cron tick.
- Made Ship select the worker-image variant from the brief.
- Added per-task prompt-cache hit share to Top.
- Completed all 35 parts of the Logos Execution Zone specification audit, reporting 7 high, 22 medium, and 41 low findings.
- logos-blockchain/logos-blockchain#4002 Phase-2 trusted setup ships a single-contributor zkey, not the spec’s multi-party ceremony (F-4a21d458)
- logos-blockchain/logos-blockchain#4003 Embedded key bytes carry no hash pin; prebuilt download skips checksum, loader never verifies (F-64a4af2e)
- logos-blockchain/logos-blockchain#4004 NAT state machine ignores AutoNAT failures for the observed address, so Phase 2 never starts (F-0b40fed1)
- logos-blockchain/logos-blockchain#4005 Confirmed external addresses are never re-tested by AutoNAT; reachability loss goes unnoticed (F-4956cbad)
- logos-blockchain/logos-blockchain#4006 Active mapping’s renewal timer is recreated on every poll, so port mappings are never renewed (F-1177e1c4)
- logos-blockchain/logos-blockchain#4007 PCP mapping result drops /quic-v1, so a successful PCP mapping can never be confirmed or used (F-59084eea)
- logos-blockchain/logos-blockchain#4008 PoQ public inputs carry no epoch slot range, so a leader proof for any winning slot verifies (F-a1c4d529)
- logos-blockchain/logos-blockchain#4009 No rewards reserve B_t: per-block release is minted with no B_0 = 10^9 cap and never stops (F-8cf312ad)
- logos-blockchain/logos-blockchain#4010 Core behaviour verifies each message only against its connection’s epoch, blacklisting TP senders (F-9daefab8)
- logos-blockchain/logos-blockchain#4011 FailureDetector stamps a release with its last-polled round, so a stalled loop cuts T_M short (F-b4812272)
- Added
bork triage advise --allto run the advisor across all audits in parallel. - Linked a
bork/proof/<handle>proof branch from each filed finding. - Added optional incremental specification and security audits that reuse previous proofs and coverage.