Skip to content

[Hard] Add a governed emergency-pause and recovery design to treasury operations #81

Closed

Description

@xqcxx

Goal

Provide a narrowly scoped, auditable emergency control that can pause new risky treasury actions without stranding funds or bypassing multisig governance.

Scope

  • Define which operations pause (for example propose/approve/execute withdrawals) and which recovery/read operations remain available.
  • Implement threshold-authorized pause and unpause with anti-replay protection, state/event versioning, and a documented recovery path.
  • Integrate pause checks with governance-driven execution.
  • Add threat-model and invariant tests.

Acceptance criteria

  • Only the documented threshold authorization can change pause state.
  • Paused operations fail before changing state or moving assets; reads remain available.
  • Unpause cannot be replayed or used to evade the configured threshold.
  • Tests cover normal operation, emergency transition, recovery, and governance integration.
  • Documentation explains operational roles, evidence to retain, and recovery procedure.

Out of scope

An admin backdoor, unilateral owner withdrawal, or automated incident response.

Activity

  1. added
    type: securitySecurity-sensitive implementation or hardening
    area: securityThreat modeling, audit, and security operations
    difficulty: hardSecurity-sensitive or cross-cutting work needing deep domain knowledge and care
    on Aug 22, 2026
  2. socvic commented on Aug 28, 2026

    @socvic
    Contributor

    Hello maintainer. Please can I have this issue

  3. grantfox-oss commented on Aug 28, 2026

    @grantfox-oss

    🦊 GrantFox — @socvic has been assigned to this issue as part of the Third Campaign campaign!

    Next steps:

    1. Open a Pull Request referencing this issue (e.g., Closes #81)
    2. Your PR will be reviewed by the Stellar-Re-Code maintainers

    Good luck! Track your progress on GrantFox.

  4. grantfox-oss commented on Aug 28, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox as part of the Third Campaign campaign!

    @socvic's PR #86 was approved and merged by @xqcxx.

    🏆 @socvic: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (201 total points). Track your full progress on GrantFox.

    👏 Great work, @socvic! Keep contributing to Stellar-Re-Code.

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

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaignarea: contractsSoroban smart contractsarea: securityThreat modeling, audit, and security operationsdifficulty: hardSecurity-sensitive or cross-cutting work needing deep domain knowledge and caretype: securitySecurity-sensitive implementation or hardening

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions