API Assessment Boundary
Write down which paths, methods, roles and write operations the backend assessment may exercise, before the first request leaves the workstation
Use when: a backend API assessment is about to start and no written list states permitted paths, methods or write operations
Avoid when: the program publishes a machine-readable endpoint list with permitted methods and a stated rate ceiling
Procedure
- Collect the signed rules of engagement, the published API documentation and any internal endpoint list, noting versions used.
- List every permitted path, method and environment exactly as written, without normalizing or guessing wildcards.
- Record which write operations are permitted, which are forbidden, and what rollback exists for the permitted ones.
- Capture the numeric rate ceiling per endpoint and the total request budget for the session.
- Confirm whether destructive verbs such as delete or purge are permitted at all, since that single answer shapes the whole plan.
- Save the boundary beside the evidence so a reviewer can prove every recorded request fell inside the permitted set.
Signals
- Rules list hosts but say nothing about which methods may be sent
- No rate ceiling exists as a number anywhere in the document
- Destructive verbs are neither explicitly allowed nor explicitly banned
- A previous session recorded requests against a path you cannot find in writing
Patterns
1. Boundary record
scope:
paths: [/api/v1/orders/**, /api/v1/users/me]
methods: [GET, POST, PATCH]
forbidden: [DELETE, PUT]
rate_rps: 2
writes: create + update allowed, rollback documented
environments: staging only
2. Pre-flight echo
Before session start, restate paths, methods, write permissions, rate ceiling and the ban list. Any element you cannot quote is a gap to resolve, not a permission to assume.
3. Evidence binding
Store boundary.md beside evidence/ so each recorded request line carries a document version it can be checked against during review.
Pitfalls
- Reading a wildcard path as permission for every method on it
- Assuming staging and production share a method list
- Treating an old approval as current after the API changed version
Done when
- A written boundary table names paths, methods, write permissions, rate ceiling and the ban list
- Every later evidence entry carries the document version that justified the request
References
1---2name: api-assessment-boundary3description: "Write down which paths, methods, roles and write operations the backend assessment may exercise, before the first request leaves the workstation. Use when a backend API assessment is about to start and no written list states permitted paths, methods or write operations"4pack: flawpath5version: 1.0.06category: backend-api7tags: [scope, authorization, rules-of-engagement]8metadata:9 source: https://skillmd.com/skills/wsh7ash/api-assessment-boundary10---1112# API Assessment Boundary1314> Write down which paths, methods, roles and write operations the backend assessment may exercise, before the first request leaves the workstation1516**Use when:** a backend API assessment is about to start and no written list states permitted paths, methods or write operations1718**Avoid when:** the program publishes a machine-readable endpoint list with permitted methods and a stated rate ceiling1920## Procedure21221. Collect the signed rules of engagement, the published API documentation and any internal endpoint list, noting versions used.232. List every permitted path, method and environment exactly as written, without normalizing or guessing wildcards.243. Record which write operations are permitted, which are forbidden, and what rollback exists for the permitted ones.254. Capture the numeric rate ceiling per endpoint and the total request budget for the session.265. Confirm whether destructive verbs such as delete or purge are permitted at all, since that single answer shapes the whole plan.276. Save the boundary beside the evidence so a reviewer can prove every recorded request fell inside the permitted set.2829## Signals3031- Rules list hosts but say nothing about which methods may be sent32- No rate ceiling exists as a number anywhere in the document33- Destructive verbs are neither explicitly allowed nor explicitly banned34- A previous session recorded requests against a path you cannot find in writing3536## Patterns3738**1. Boundary record**3940```text41scope:42 paths: [/api/v1/orders/**, /api/v1/users/me]43 methods: [GET, POST, PATCH]44 forbidden: [DELETE, PUT]45 rate_rps: 246 writes: create + update allowed, rollback documented47 environments: staging only48```4950**2. Pre-flight echo**5152```text53Before session start, restate paths, methods, write permissions, rate ceiling and the ban list. Any element you cannot quote is a gap to resolve, not a permission to assume.54```5556**3. Evidence binding**5758```text59Store boundary.md beside evidence/ so each recorded request line carries a document version it can be checked against during review.60```6162## Pitfalls6364- Reading a wildcard path as permission for every method on it65- Assuming staging and production share a method list66- Treating an old approval as current after the API changed version6768## Done when6970- A written boundary table names paths, methods, write permissions, rate ceiling and the ban list71- Every later evidence entry carries the document version that justified the request7273## References7475- [OWASP - API security testing guidance](https://owasp.org/API-Security/)76- [PortSwigger - Web service testing](https://portswigger.net/web-security)