Skip to content

fix: harden Easebuzz callback validation and outbound HTTP calls - #29

Open
sankarsubramaniankvs wants to merge 1 commit into
developfrom
fix-security-callback-hardening-20260425
Open

fix: harden Easebuzz callback validation and outbound HTTP calls#29
sankarsubramaniankvs wants to merge 1 commit into
developfrom
fix-security-callback-hardening-20260425

Conversation

@sankarsubramaniankvs

Copy link
Copy Markdown
Collaborator

Summary

  • remove the guest-to-Administrator callback path and return explicit 400s for invalid callbacks
  • verify Easebuzz callback hashes before mutating documents and ignore duplicate callback replays for the same transaction id
  • require authentication for merchant key access instead of exposing it to guests
  • add bounded timeout and retry/backoff handling for outbound Easebuzz HTTP requests
  • add a lightweight smoke validation script for hash verification and retry behavior

Validation

  • python3 -m compileall easebuzz
  • python3 tests_security_smoke.py

Notes

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant