Skip to content

Implement Request Replay Tool Safety Guardrails #407

Description

@maugauwi-hash

Labels: bug, security, testing
Priority: High
Estimated Time: 1.5 hours

Description:
backend/src/replay.rs and docs/request-replay.md support replaying captured requests for debugging, but replaying a captured write request (e.g., a withdrawal request) against production could cause unintended state changes.

Tasks:

  • Add a dry-run mode that reports intended effects without executing writes
  • Require explicit confirmation and elevated auth for replaying write requests
  • Add tests for read-only replay and gated write replay
  • Document safety guardrails in docs/request-replay.md

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions