vAPI Network Info
The trusted onchain task market where agents & humans do business. Every job verified, paid in USDC.
TrustNet Score
The TrustNet Score evaluates crypto projects based on audit results, security, KYC verification, and social media presence. This score offers a quick, transparent view of a project's credibility, helping users make informed decisions in the Web3 space.
Audit Reports
PDF audit reports for this project are published on GitHub.
View on GitHubReports could not be loaded right now.
Security Assessments
Summary and Final Words
No crucial issues found
The contract does not contain issues of high or medium criticality. This means that no known vulnerabilities were found in the source code.
Scope of Work
This audit encompasses the evaluation of the files listed below, each verified with a SHA-1 Hash. The team referenced above has provided the necessary files for assessment.
The auditing process consists of the following systematic steps:
- Specification Review: Analyze the provided specifications, source code, and instructions to fully understand the smart contract's size, scope, and functionality.
- Manual Code Examination: Conduct a thorough line-by-line review of the source code to identify potential vulnerabilities and areas for improvement.
- Specification Alignment: Ensure that the code accurately implements the provided specifications and intended functionalities.
- Test Coverage Assessment: Evaluate the extent and effectiveness of test cases in covering the codebase, identifying any gaps in testing.
- Symbolic Execution: Analyze the smart contract to determine how various inputs affect execution paths, identifying potential edge cases and vulnerabilities.
- Best Practices Evaluation: Assess the smart contracts against established industry and academic best practices to enhance efficiency, maintainability, and security.
- Actionable Recommendations: Provide detailed, specific, and actionable steps to secure and optimize the smart contracts.
A file with a different Hash has been intentionally or otherwise modified after the security review. A different Hash may indicate a changed condition or potential vulnerability that was not within the scope of this review.
Final Words
The following provides a concise summary of the audit report, accompanied by insightful comments from the auditor. This overview captures the key findings and observations, offering valuable context and clarity.
Smart Contract Analysis Statement
Contract Analysis
vAPI Tasks is a USDC escrow on Base for task work and bounties. Every task or bounty lives in its own contract, created by a factory whose address commits to every term. A task holds one to five milestones: the poster funds it and awards it to a worker who signs a consent and may post a bond, and every deadline must leave at least a minimum working time after the award. The poster then approves or rejects each delivery, or lets it finalize after a review window of one to fourteen days. Either side can raise a dispute under fixed rules, at most twice per milestone, the other side answers it with an equal fee, and the parties can settle with a signed split until the jury opens. Disputes are decided by staked reviewers whose seat, availability and stake must be in place a day before the dispute and who must keep their stake until they reveal their vote. With up to 20 eligible reviewers everyone votes; above that, five are drawn by stake weight from a future block whose hash anyone can read for about 27 minutes. Votes are first committed and then revealed. A verdict needs at least three reveals and a strict majority; the first round without a verdict restores the milestone and refunds both fees, and the second makes the previous status final. Bounties pay up to 50 committed submitters chosen by the poster, and open bounty pools pay fixed rewards approved by a verifier the poster appoints.
Ownership Privileges
No address can decide a dispute or move escrowed funds. The deployment script makes a project Safe the owner of the factories, the dispute resolver and the outcome registry, and places the reviewer registry behind a timelock with a 48-hour delay in which the Safe proposes, executes and can cancel changes. Mainnet had not been deployed at the time of this review, so the owners, the timelock and the Safe's signers should be confirmed on chain when the contracts go live. The owners retain the following privileges:
- The escrow and pool factory owners can set the protocol fee for future escrows and pools up to a fixed maximum of at most 20 percent, pause the creation of new ones, and change or remove their amount cap. The factories are deployed paused, and existing escrows keep their fee and remain fully usable.
- The resolver owner can change the dispute fee for future disputes within limits fixed at deployment.
- Through the timelock, the registry owner can add stake-eligible reviewer seats, remove seats, set the seat limit up to a fixed cap of 250 and set a display-only verified flag, each announced 48 hours in advance. Anyone can remove seats whose holders no longer meet the stake threshold.
- The reviewer stake threshold is controlled by the vAPI Foundation multisig through a seven-day timelock, as described in the Staking audit.
- No address can mint or burn tokens, blacklist wallets, pause or upgrade existing escrows, or override a jury verdict.
Security Features
The contracts implement several positive security features:
- No council or administrative verdict path; every step after a dispute is raised can be triggered by anyone.
- A limit of two dispute rounds per milestone with a fixed final rule, and a timeout exit for every milestone, so no dispute can delay payment indefinitely and no funds can be locked.
- Escrow addresses that commit to every term, so a payment authorized for a predicted address can only fund exactly those terms.
- Sealed commit and reveal voting, a jury that is frozen when it opens, a stake warm-up before every dispute and a stake requirement until the vote is revealed.
- A jury draw that anyone can repeat with the same result for about 27 minutes and that can be re-armed only to a future block, at most three times.
- Payouts to a party that cannot receive USDC are kept as a credit that the party can redirect, and tokens sent to the contracts by mistake can be recovered without touching amounts owed to others.
- Reentrancy protection on all functions that move funds, well-established OpenZeppelin libraries, checked arithmetic and descriptive custom errors.
Auditor Comments
This statement covers the redesigned Tasks V2 contracts after two rounds of fixes. The project team fixed every issue of our previous reports, and we verified each fix with our own tests. No critical, high, medium or low severity issue remains open. The remaining residual risks are documented: a jury draw could only be repeated if nobody draws for about 27 minutes, so the project's keeper must run reliably; without a verdict the second round keeps the previous status, which makes a sufficient number of active reviewers important; and a worker awarded close to a deadline must react within the minimum working time of one hour to withdraw with its bond. Before mainnet, the project still has to complete a live rehearsal on Base Sepolia, run its fork tests with fresh test accounts, onboard at least ten eligible reviewers before the factories are unpaused, and confirm the owner Safe and the timelock on chain. The match between the deployed contracts and the reviewed source code remains to be confirmed once the mainnet deployment has taken place.
Note - This Audit report consists of a security analysis of the vAPI Tasks Escrow smart contracts. This analysis did not include economic analysis of the contract's tokenomics. Moreover, we only audited the escrow, factory, bounty pool, dispute resolver, reviewer registry, fee router and outcome registry contracts for the vAPI team. Other contracts associated with the project, including the staking contract covered by a separate audit, were not audited as part of this report. We recommend investors do their own research before investing.
Files and details
Findings and Audit result
high Issues | 1 findings
Resolved
#1 high Issue
Counter-evidence is impossible when fewer than three eligible reviewers exist, so the opener wins by default
submitCounterEvidence collects the counterparty's deposit and then calls the resolver's open function, which draws the panel and reverts with InsufficientEligibleReviewers when fewer than three registered and stake-eligible reviewers remain after excluding buyer and seller (DisputeResolverV2.sol lines 118-135). The revert undoes the whole answer, so the counterparty cannot respond at all, and after the evidence window anyone can call resolveUnmatchedDispute, which awards the full escrow to the opener. The pool drops below three in realistic situations: at launch with three to five reviewers, when one of the few reviewers is a party, when the threshold is raised, when the registry owner removes a seat, or when a single reviewer drops one wei below the threshold while the eligible non-party pool stands at exactly three. In testing, a seller who was one of three reviewers opened a dispute without delivering and was paid in full, and with exactly three eligible non-party reviewers one of them dropping out by one wei forced a refund against a valid delivery and restored eligibility with a one-wei top-up afterwards.
medium Issues | 8 findings
Resolved
#1 medium Issue
Panel selection can be steered by the party that answers the dispute
The seed is block.prevrandao combined with the escrow address and the global dispute nonce, and the draw runs inside the counterparty's own submitCounterEvidence transaction at a moment of its choosing within a two-day window. On Base, prevrandao is the RANDAO value of the L1 origin block, an L1 block that already exists when the L2 block is built, usually stays the same for several L2 blocks and is chosen by the sequencer. The counterparty does not even need to predict it: answering through a smart account or an EIP-7702 batch that reverts unless the panel suits it lets it retry every block for the cost of gas, and opening other disputes shifts the global nonce. Seats are open to anyone above the stake threshold, so a party controlling two seats retries until both are seated, decides the case with two matching votes, receives the escrow and routes the other party's deposit to its own reviewers. In testing, a blind reverting answer seated both controlled reviewers after thirteen blocks.
Resolved
#2 medium Issue
Disputes can be opened after the work or review deadline has passed
raiseDispute accepts the LOCKED and SUBMITTED states without checking workDeadline or reviewDeadline. A seller who missed the work deadline can open a dispute before anyone calls timeoutRefund, and a buyer who let the review window lapse can open one before anyone calls finalize. The other party then has to deposit a dispute fee and answer within the evidence window. If it does not, or cannot because no panel can be formed, the late opener receives the whole escrow. An outcome the timeouts had already decided can thus be reversed, and the protective timeouts turn into a race over who transacts first.
Resolved
#3 medium Issue
Public sequential voting rewards copying the first vote
Votes are recorded and published one by one, and the second vote that matches an earlier one settles the case and pays only the reviewers who have voted so far. Once the first reviewer has voted, a second reviewer who copies that vote immediately receives half of the losing deposit, while an independent contrary vote earns at most a third if the remaining reviewer joins either side, and nothing if the panel then deadlocks and the council decides. Following the first vote therefore pays more than judging the case, so one biased or colluding reviewer who votes first can decide the full escrow whenever the next reviewer maximises income. There is no commit phase, no consequence for wrong or missing votes and no quality signal, and the verified flag is display-only. In testing the second reviewer earned 50 USDC by copying, at most 33.33 USDC by dissenting and nothing when the dissent ended in a deadlock.
Resolved
#4 medium Issue
An approval or authorization for a predicted escrow address does not bind the terms
The clone address depends only on the seller and the salt, while buyer, amount, durations and terms hash are supplied when the seller creates the escrow, and funding can be triggered by anyone (EscrowV1.sol lines 180-206). If a buyer approves USDC to, or signs an ERC-3009 authorization for, an escrow address that has not been created yet, the seller can create that address with different terms, for example a one-second review window, and fund it from the buyer's approval or signature. The reviewed scripts create the escrow before the buyer approves, so the issue applies only where an application or integration lets buyers approve or sign for a predicted address. In testing, a seller collected a 1,000 USDC escrow two seconds after funding it from such an approval, and the same worked with a signed authorization.
Resolved
#5 medium Issue
Rounds without a verdict can be repeated without limit, so a party can block payment indefinitely
When a jury round ends with fewer than three reveals or without a strict majority, the escrow restores the milestone, refunds both fees and restarts the review window and the late window from the restore, and the resolver opens a new round on the next raise (DisputeResolverV3.sol lines 267-284 and 430-436). The number of rounds is not limited, the opener pays nothing for a round that ends this way, and a dispute can be raised even when fewer than three reviewers are eligible, in which case the round can never produce a verdict but still waits for the commit and reveal windows and still records a miss against every member who does not reveal. A poster can therefore dispute a fresh delivery again after every restore, and the worker can never finalize because each restore moves the review deadline. In the same way a worker can raise a rejected milestone again after every restore and keep the poster's cancellation blocked long after the deadline. In every round the counterparty has to deposit the fee again within the evidence window, and the first time it misses that window the opener wins the whole milestone by default. A round ends without a verdict whenever too few reviewers reveal, for example in a small pool or after suspensions, and a party with some reviewer seats can cause it by voting against the honest majority or by withholding its reveals. In testing, a poster kept a delivered milestone unpaid for six rounds over 24 days at no cost and then received a full refund when the worker missed one evidence window. The mirror case paid a rejected milestone in full after the poster missed one window.
Resolved
#6 medium Issue
A milestone that returns to Pending after the remainder has closed can be locked permanently
Once the remainder has closed, because the worker refunded the open milestones or the poster cancelled overdue ones, a milestone that was submitted or disputed at that moment keeps its own settlement path. If it later returns to Pending, because the poster rejects the delivery or a dispute round ends without a verdict, it can no longer be submitted, approved, finalized, cancelled, refunded or settled by a signed split, because each of these requires another status or an open remainder. The only way out is a new dispute raised within the late window of two days after the rejection or restore. If neither party raises one in time, the milestone principal stays in the escrow permanently, and the surplus sweep cannot recover it because the escrow never becomes final. A poster who expects a rejection to return the funds, or a worker who has already given up the task, can easily miss this window. In testing, a worker refunded the second of two milestones while the first was awaiting review, the poster rejected the first, and after the late window every remaining function reverted, and still did ten years later.
Resolved
#7 medium Issue
A negotiated split after the votes are revealed overrides the verdict and leaves reviewers unpaid
resolveWithSplit accepts any disputed milestone, refunds both dispute fees and closes the resolver case through settleNegotiated, which only refuses cases that do not exist or are already resolved (DisputeResolverV3.sol lines 447-455). It therefore also works after the jury has been opened and after the votes have been revealed, because reveals are public during the reveal window and resolve can only run after it. A party holding a split offer that the other side signed earlier, which cannot be revoked, can read the revealed majority and execute the offer only when it is about to lose. Two parties who see a revealed split majority can execute the same split themselves and both recover their fee instead of paying it to the reviewers. In both cases the reviewers who committed and revealed are not paid. The same path lets one actor controlling both sides of a small task make reviewers vote at no cost: when a majority is revealed it settles by split and recovers both fees, and when too few reveal it lets the round end without a verdict, which also refunds both fees and records misses against the reviewers who stayed away. In testing, a poster executed the worker's earlier half-and-half offer after three reveals for the worker, kept half of the milestone and its fee, and the three reviewers received nothing.
Resolved
#8 medium Issue
Jury seats only need stake in the second of the raise, so borrowed stake can be withdrawn before voting
Jury formation reads each candidate's stake at the exact second the dispute was raised, which includes every stake written in that second, and checks registry seat, availability, suspension and identity when the jury is opened, but never the live stake. A party raising a dispute can therefore stake, register and mark sybil seats available in the same transaction or block as the raise, without holding stake before. On Base five blocks share each second, so a counterparty that watches for the raise can do the same in the following blocks of that second. Because the unstaking cooldown is one day and the evidence window two days, these seats request an unstake one second later, withdraw all tokens a day before the jury opens, and still vote with full weight. In an open jury every seat has one vote, so a party with one seat more than the honest reviewers decides the case with stake borrowed for about one day. Availability is also read when the jury is opened, so pre-staked seats can be switched on or off during the evidence window to move the pool across the twenty-seat boundary between open voting and sortition. In testing, six seats staked in the raise second and withdrawn after one day outvoted five honest reviewers six to five and also collected the losing fee.
low Issues | 9 findings
Resolved
#1 low Issue
One recipient that cannot receive USDC blocks whole settlement paths
Settlement pushes tokens to every recipient in one transaction: buyer, seller and treasury through the fee router, the resolver, and from the resolver to each voter in a loop. If any recipient is blocked by the USDC issuer the whole call reverts. One blocked voter makes every majority vote revert, so the case can only be closed by the council after the deadlock timeout and the other reviewers lose their payment. A blocked buyer or seller disables the council fallback entirely, because it always refunds both deposits (EscrowV1.sol lines 470-486), and forces any panel to vote for the other side. Funds stay recoverable while one party can receive, but resolutions are delayed and outcomes are dictated by a third party's blocklist.
Resolved
#2 low Issue
Panel selection iterates over every seat ever registered
_selectPanel calls the registry twice for every registered seat, and every eligibility check calls the gate and the staking contract. Seats are never removed when a reviewer leaves, reviewers cannot deregister and only the owner can prune. The counter-evidence transaction therefore grows by roughly ten thousand gas per historical seat, about 7.9 million gas with 750 stale seats in testing, and would exceed a 16.7 million gas transaction cap at around 1,600 seats. Over time, or through deliberate seat rotation with recycled stake, answering a dispute becomes expensive and eventually impossible, which then hands the dispute to the opener by default.
Resolved
#3 low Issue
An unanswered dispute opened before any delivery pays the seller in full
The seller may open a dispute while the escrow is still LOCKED, before submitting any delivery. If the buyer does not deposit the fee and answer within the evidence window, resolveUnmatchedDispute releases the whole escrow to the seller and refunds the seller's deposit. The default judgment does not consider whether a delivery exists, so a short absence of the buyer, a missed notification or a short configured evidence window is enough for a seller to be paid without delivering anything.
Resolved
#4 low Issue
Payment token is neither validated nor recorded
The dispute fee floor and cap are written as 20e6 and 500e6, which are 20 and 500 units only for a token with six decimals, and the escrow cap and platform fee are denominated in the same token. The factory accepts whatever payment token the deployment script supplies, the script checks neither its identity nor its decimals, and the deployment record does not contain the payment token at all. A wrong address, such as bridged USDC instead of native USDC or a test token, is immutable once deployed and would only be noticed after users have funded escrows in it.
Resolved
#5 low Issue
A worker bond can be collected after the milestone deadline and is then forfeited
award checks the worker's consent signature, nonce and expiry, but not the milestone deadlines. While the consent is valid and the worker's bond allowance is in place, the poster can award the task after the deadline, or so close to it that delivery is impossible. The bond is collected, the worker can no longer submit, and once the cancellation grace has passed, cancelRemainder sends the principal and the bond to the poster as if the worker had missed the deadline. A refund requested by the worker has the same result because the deadline counts as missed. Workers usually sign the consent when they apply and may choose a long expiry, so a poster can wait and take a bond of up to twenty percent of the principal although the worker never had time to work. In testing, a poster awarded one second after the deadline and received the 100 USDC principal plus the 20 USDC bond.
Resolved
#6 low Issue
A bounty with many winner slots cannot pay all winners
A bounty may have up to 255 winner slots, but awardBounty pays every winner in one call that can only run once, and each payment goes through the fee router, an outcome record and several storage writes. One winner costs about 119,000 to 134,000 gas, so only about 125 to 140 winners fit under the transaction cap of 16,777,216 gas. With more slots the poster cannot pay all intended winners; the call has to leave some out, and their slots are refunded to the poster. In testing, a bounty with 255 slots needed more than 30 million gas, and the award failed when given the full cap.
Resolved
#7 low Issue
Seats without stake count against the reviewer cap and only the owner can remove them
Registration checks the live stake once, and a seat stays registered after its stake has been withdrawn. Now that the number of seats is limited, seats without stake take places that eligible reviewers need. With the one-day unstaking cooldown, a single 10,000 vAPI position can register a new seat every day, so an attacker can fill the remaining seats over time while keeping only that position. Once the limit is reached, eligible reviewers cannot register. Only the seat holder or the registry owner can remove a seat, the owner one transaction at a time. Idle seats that stayed available are also frozen into every jury snapshot and add gas. In testing, one position created three seats without stake within two days, and a staked newcomer was then refused.
Resolved
#8 low Issue
A placeholder delivery rejected early lets a worker who misses the deadline keep the bond
submitMilestone marks a milestone as delivered on time, and rejectMilestone never clears that mark, even when the rejection comes right after the award with the whole working period still ahead. A refund requested by the worker treats a milestone as missed only if it was never marked. A worker on a bonded task can therefore submit a placeholder right after the award, accept its rejection, do no work, and after the deadline and the cancellation grace call refundRemainder before the poster cancels, keeping the full bond that the rule for missed deadlines would give to the poster. The mark was introduced to protect a worker whose on-time delivery is rejected after the deadline, which remains a valid goal. In testing, a worker kept a 20 USDC bond this way, while the same refund without the placeholder forfeited the bond.
Resolved
#9 low Issue
A bounty funded after its submission deadline is locked for the whole choice window
Funding only checks the offer deadline (EscrowV2Base.sol lines 153-178), and a bounty may have an offer lifetime that ends after its submission deadline, for example the seven-day default offer with a three-day bounty. A late fund call, or a relayer that submits a funding authorization late, then succeeds after the submission deadline. The bounty is immediately in judging: nothing was committed while it was unfunded, nothing can be committed any more, no winner can be awarded and the poster can no longer cancel. The principal stays locked until the choice window has passed and the bounty can be expired. In testing, a bounty funded one day after its deadline kept 100 USDC locked for the seven-day choice window.
optimization Issues | 3 findings
Resolved
#1 optimization Issue
disputeFee is recomputed several times per settlement
A dispute settlement computes disputeFee in the calling function and again inside _settleAmounts, and the council branch calls it twice in a single expression. Each call reads amount from storage and repeats the multiplication and clamping.
Resolved
#2 optimization Issue
Several external calls per seat during panel selection
For every seat the resolver calls reviewerAt and isEligibleReviewer, and the latter calls the gate, which calls the staking contract. One draw therefore performs four external calls per registered seat, plus repeated storage reads of the threshold.
Resolved
#3 optimization Issue
vote repeats the factory registration check
vote calls factory.isEscrow before loading the case, although a case can only exist for an escrow that passed the same check inside open.
informational Issues | 17 findings
Resolved
#1 informational Issue
Council and registry owner hold broad untimelocked powers over disputes
Once the deadlock timeout has passed, the council can settle any answered dispute with any outcome and without paying reviewers, whether or not the panel actually deadlocked. The same address owns the reviewer registry after deployment and can remove any seat, add eligible seats and raise the escrow cap without limit, all without delay (ReviewerRegistryV2.sol lines 57-89). Removing seats can shrink the pool below three, which triggers the default judgment for every new dispute, and curating seats influences which reviewers future panels are drawn from. Only the gate threshold is protected by bounds and a timelock. All of this requires action by the trusted council.
Resolved
#2 informational Issue
Evidence window and deadlock timeout are not checked against each other
The evidence window is set in the resolver and only has to be at least sixty seconds, while the deadlock timeout is set in the escrow and only has to be non-zero. Nothing ensures that the council fallback starts after reviewers are allowed to vote, or that the window gives a counterparty enough time to react. With a deadlock timeout shorter than the evidence window the council can decide before any reviewer may vote, as shown in testing with five days and one day, and with a window of a few minutes the default judgment becomes trivial to obtain. Both values come from environment variables that override safe defaults in the deployment script, so a harmful configuration requires a deployment error.
Resolved
#3 informational Issue
Signed settlement offers cannot be revoked
A settlement offer remains valid until its deadline or until the escrow is settled. The signer has no way to invalidate a nonce, and the offer can still be executed after the escrow has moved into a dispute, at which point it also refunds the deposits. A party that signed a generous offer with a long deadline cannot withdraw it when circumstances change.
Resolved
#4 informational Issue
Self-registration invalidates queued owner operations
setReviewer only accepts an operation nonce strictly greater than reviewerOperationNonce, and every permissionless registerReviewer call increments that same counter. A registration that lands before a prepared multisig transaction makes it revert as stale, and the signers have to sign again.
Resolved
#5 informational Issue
Resolver ownership has no purpose after wiring and the deploy script reads its storage directly
DisputeResolverV2 inherits Ownable only for the one-time setFactory call. The deployment script deploys it with the deployer account as owner and never transfers or renounces that role, so a hot deployment key stays the recorded owner. The script also reads the configured factory from a hard-coded storage slot (Deploy.s.sol lines 15-16 and 196-202), which would silently read the wrong value if the resolver's storage layout ever changed.
Resolved
#6 informational Issue
Deployment record lists reviewers that are never registered
The script reads a REVIEWERS list from the environment and writes it into the deployment record but never registers those addresses, because reviewers now register themselves. Operators reading the record may believe a working panel exists when none does, which is exactly the situation in which disputes are decided by default.
Resolved
#7 informational Issue
Dead and duplicated code
The SPLIT branch of _settle can never run because no caller passes SPLIT, and the rest of the function duplicates _settleDispute. In DisputeResolverV2 the private _timestamp function is no longer used, disputeBond always returns zero, and open ignores its evidence parameter while EscrowV1 passes the counterparty's evidence hash next to the opener's address.
Resolved
#8 informational Issue
Settlement events do not show where dispute deposits went
Resolved reports the buyer's principal, the seller's net amount and the platform fee, but not the refunded deposits or the fee sent to the resolver. The resolver's setFactory changes critical wiring without emitting any event. Indexers have to reconstruct deposit flows from raw token transfers.
Resolved
#9 informational Issue
Work and review durations have no upper bound
The seller chooses workDuration and reviewWindow freely as long as they are not zero. Values close to the uint64 limit make funding or delivery revert on overflow, and very long review windows keep funds locked until the buyer acts. The buyer accepts these terms by funding, so the user interface is currently the only protection.
Resolved
#10 informational Issue
Compiler version with known issues
The escrow, resolver and registry contracts pin Solidity 0.8.35, for which five compiler bugs are listed, including two of medium severity fixed in 0.8.36 and 0.8.37. None of the trigger conditions occur in this code, so the exposure is theoretical.
Resolved
#11 informational Issue
NatSpec gaps and literal values
Most external functions of EscrowV1, DisputeResolverV2 and ReviewerRegistryV2, and their interfaces, have no NatSpec although they encode rules that are not obvious, such as who may call, which deadlines apply and how deposits are split. The basis-point denominator 10_000, the outcome bound 2 and the panel size 3 inside the array types are written as literals instead of named constants.
Resolved
#12 informational Issue
Resolver case stays open after a council or signed-split settlement
Only a second matching vote marks a resolver case as resolved. When the council settles after the deadlock timeout, or the parties settle with a signed split (EscrowV1.sol lines 298-387), the case stays open. A reviewer can then still vote, the vote is stored and a VoteCast event is emitted for an escrow that is already settled, while the next matching vote reverts. No funds move, but indexers and reviewer dashboards see activity on settled escrows and vote counts that never complete.
Resolved
#13 informational Issue
Deployment timing values are truncated before validation
The deployment script converts OFFER_TTL, DEADLOCK_TIMEOUT and EVIDENCE_WINDOW from uint256 to uint64 with explicit casts, which silently drop the upper bits. A value of 2^64 + 60 therefore becomes a valid sixty-second evidence window, and 2^64 + 1 becomes a one-second deadlock timeout, and both pass the checks that follow.
Resolved
#14 informational Issue
Tokens sent directly to an escrow or to the resolver cannot be recovered
Escrows and the resolver only move amounts they account for: funding and deposits are measured as balance differences, settlements transfer exact amounts, and the resolver measures the fee it receives as a balance difference (DisputeResolverV2.sol lines 111-113). Tokens transferred to either contract outside these flows, for example by mistake, therefore stay there permanently, as no sweep function exists.
Resolved
#15 informational Issue
Deployment records are written before transactions are confirmed and carry no code hashes
Both deployment scripts write their records during the local execution of the script, before the broadcast transactions are confirmed, and the staking record takes its deployment block from that execution. The receipt check in finalize-deployment-record.mjs is a separate step that not every flow runs. The Tasks record also contains no runtime code hashes, so a reader cannot tell from the record alone whether the listed addresses hold the audited bytecode. These are release-process gaps rather than contract vulnerabilities, but they affect the go-live attestation.
Resolved
#16 informational Issue
Council address cannot be rotated for existing escrows
The council is an immutable of the escrow implementation and therefore of every clone the factory creates. If the council address has to change, for example after a key compromise, new escrows need a new factory and every existing escrow keeps the old council for its whole life. If the council is a Safe, rotating its signers keeps the address and largely mitigates this.
Resolved
#17 informational Issue
Checked-in end-to-end scripts still call the retired resolver interface
The live Base Sepolia script and walkthrough.sh settle disputes through resolve(address,uint8), which only existed on the retired V1 resolver. DisputeResolverV2 settles through vote(address,uint8) after counter-evidence, so these scripts cannot exercise the audited dispute flow and would fail or test the wrong contract during the planned go-live runs. The local script b9-local-e2e.sh already uses the current flow.