Callback Authorization Boundary
Write down exactly which endpoints, secrets, providers and payload shapes the webhook assessment may touch before any delivery request leaves the workstation
Use when: a webhook or callback assessment is about to start and the rules of engagement name no endpoint list, secret set or permitted delivery method
Avoid when: the program already publishes a machine-readable scope listing endpoints, providers and the permitted test method
Procedure
- Collect the signed rules of engagement, the provider's testing documentation and any internal endpoint list into one place and note the versions used.
- List every in-scope receiver path, sender provider, callback URL class and environment exactly as written, without normalizing or guessing wildcards.
- Record the permitted delivery method (sandbox simulator, replay tool, own account), the request-rate ceiling and the explicit ban list in one table.
- Confirm whether replaying a previously signed delivery is allowed, since that single permission decides whether the replay tests exist at all.
- Write the boundary as a short pre-flight checklist you re-read before the first request of every session, not as a note you recall from memory.
- Save the boundary text beside the evidence you collect so a reviewer can prove every recorded delivery fell inside the permitted set.
Signals
- Rules of engagement list endpoints but say nothing about replay or rate
- The provider page describes live delivery while the assessment only permits a sandbox
- A previous session recorded deliveries against an endpoint you cannot find in writing
- Rate limits are described in prose rather than as a number you can enforce
Patterns
1. Boundary record
scope:
endpoints: [/hooks/stripe, /hooks/github]
senders: [stripe, github]
methods: [sandbox-simulator, replay-tool]
replay_signed: forbidden
rate_rps: 1
live_delivery: forbidden
2. Pre-flight echo
Before session start, restate: endpoints, senders, permitted methods, rate ceiling and the two explicit bans. Any element you cannot quote from the document is a gap to resolve, not a permission to assume.
3. Evidence binding
Store boundary.md beside evidence/ so each recorded delivery line can be checked against a document version during review.
Pitfalls
- Reading a wildcard host as permission for every path the application exposes
- Assuming staging and production share scope because they share a provider configuration
- Treating an old thread as current authorization after the provider or program changed its rules
Done when
- A written boundary table names endpoints, senders, methods, rate ceiling and explicit bans
- Every later evidence file carries the document version used to justify it
References
1---2name: callback-authorization-boundary3description: "Write down exactly which endpoints, secrets, providers and payload shapes the webhook assessment may touch before any delivery request leaves the workstation. Use when a webhook or callback assessment is about to start and the rules of engagement name no endpoint list, secret set or permitted delivery method"4pack: hookproof5version: 1.0.06category: webhook-tooling7tags: [scope, authorization, rules-of-engagement]8metadata:9 source: https://skillmd.com/skills/wsh7ash/callback-authorization-boundary10---1112# Callback Authorization Boundary1314> Write down exactly which endpoints, secrets, providers and payload shapes the webhook assessment may touch before any delivery request leaves the workstation1516**Use when:** a webhook or callback assessment is about to start and the rules of engagement name no endpoint list, secret set or permitted delivery method1718**Avoid when:** the program already publishes a machine-readable scope listing endpoints, providers and the permitted test method1920## Procedure21221. Collect the signed rules of engagement, the provider's testing documentation and any internal endpoint list into one place and note the versions used.232. List every in-scope receiver path, sender provider, callback URL class and environment exactly as written, without normalizing or guessing wildcards.243. Record the permitted delivery method (sandbox simulator, replay tool, own account), the request-rate ceiling and the explicit ban list in one table.254. Confirm whether replaying a previously signed delivery is allowed, since that single permission decides whether the replay tests exist at all.265. Write the boundary as a short pre-flight checklist you re-read before the first request of every session, not as a note you recall from memory.276. Save the boundary text beside the evidence you collect so a reviewer can prove every recorded delivery fell inside the permitted set.2829## Signals3031- Rules of engagement list endpoints but say nothing about replay or rate32- The provider page describes live delivery while the assessment only permits a sandbox33- A previous session recorded deliveries against an endpoint you cannot find in writing34- Rate limits are described in prose rather than as a number you can enforce3536## Patterns3738**1. Boundary record**3940```text41scope:42 endpoints: [/hooks/stripe, /hooks/github]43 senders: [stripe, github]44 methods: [sandbox-simulator, replay-tool]45 replay_signed: forbidden46 rate_rps: 147 live_delivery: forbidden48```4950**2. Pre-flight echo**5152```text53Before session start, restate: endpoints, senders, permitted methods, rate ceiling and the two explicit bans. Any element you cannot quote from the document is a gap to resolve, not a permission to assume.54```5556**3. Evidence binding**5758```text59Store boundary.md beside evidence/ so each recorded delivery line can be checked against a document version during review.60```6162## Pitfalls6364- Reading a wildcard host as permission for every path the application exposes65- Assuming staging and production share scope because they share a provider configuration66- Treating an old thread as current authorization after the provider or program changed its rules6768## Done when6970- A written boundary table names endpoints, senders, methods, rate ceiling and explicit bans71- Every later evidence file carries the document version used to justify it7273## References7475- [PortSwigger - Webhook security testing](https://portswigger.net/web-security)76- [OWASP - Testing for improper access control](https://owasp.org/www-project-web-security-testing-guide/)