Trusted Header Privilege Boundary
Verify user-identity conclusions are not amplified through operations that believe a coordinator, proxy or internal caller's claim without seeing its proof
Use when: your stack has inter-service calls where one service's decision feeds another's authorization, especially with mismatched header chains
Avoid when: no inter-service path reaches the operation, so there is no second caller whose trust you must assess
Procedure
- Map internal endpoints reachable from your network beneficiary path, provided externally via gateways and edges.
- For each internal route, identify which upstream caller behavior is trusted and whether the credential holds proof.
- Compare internal service authentication styles: mTLS, signed headers, shared token and none, then rank trust strength.
- Verify whether externally reachable internal paths re-check caller identity or merely assume it.
- Check cross-region, cross-cluster and preview environment setups where the same route may have separate trust sets.
- Record what would happen if a component between the edge and the operation were removed, and whether the operation would still honor its check.
Signals
- A service computes altitude or membership from a header that an external requester can also form.
- Two environments share a route, but one re-verifies identity while the other trusts a network construct.
- Cross-service cookies, tokens or flows issues surface in the internal response surface that the public one never sells.
- Per-request pricing decisions, rate limits or quotas sit on trust you have just labeled weak.
Patterns
1. Trust table
svc | auth | proof
orders | mTLS | cert CN
pricing | shared token | none -> token holds only 1 domain
2. Authz test
credential external to svc-A calling svc-B absorbed path -> refusal expected
3. Result row
route=/internal/* externally-reachable=yes trusted-style=header-assumed finding=yes
Pitfalls
- Benchmarking internal routes from the only network position you control, then assuming the external posture is similar.
- Trusting DNS-based separation rather than cryptographic identity when measuring the internal service boundary.
- Assuming one environment's authorization applies to its staging or preview twin, which often diverges silently.
Done when
- Every internal route that affects operation-level authorization has a documented trust style and proof level.
- External reachability of internal paths is tested and each route re-verifies identity with cryptographic proof where it matters.