Skip to content

Crowdfunding milestone escrow releases trust a single oracle verification - no quorum or dispute for oracle_verify_milestone #1200

Description

@nanaf6203-bit

Context: oracle_verify_milestone (contracts/crowdfunding/src/lib.rs ~750) marks a milestone verified based on one caller's assertion (the registered oracle) and the milestone completion path releases the escrowed tranche.

Problem: A single compromised or coerced oracle can green-light a fake milestone and unlock the milestone tranche; there is no multi-signal (independent assessor + oracle) and no challenge window on the release.

Proposed approach: Require oracle + second check (e.g. builder attestation or a second oracle quorum), add a dispute window before tranche release, and emit MilestoneVerified with the verifier list for audits.

Acceptance criteria: single-source verification cannot release funds; challenge path prevents release within the window; tests cover both.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Medium ComplexityStellar WaveIssues in the Stellar wave programbugSomething isn't workingsecuritysecurity related issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions