OWASP Top 10External risk list used as a threat modelling reference.
Can a shipping carrier change the status of any order? No. The shop checks the message signature and then whether the carrier may update exactly this order, for example B-1042.Identity & Permissions
This is how the building blocks hang together
Trust boundaries mark where protection is needed and where trust changes. Threat modelling derives measures for permissions, identities and secrets from them; shared data and tightly coupled services show structural risks that weaken these boundaries.
Here you clarify whether a shipping carrier may change the status of any order. From this you derive trust boundaries, permissions, identity checks and the handling of credentials. Each building block shows its theme at our shop.
This is what you learnYou can assign data across trust boundaries to a technical and business audit.
In the shopA shipping partner sends a tracking message to the shop. The shop verifies the signature and then checks whether the partner is allowed to update this order.
This is what you learnPermit actions through explicit access rules. Assess the result against this limit: Distributed access paths can hold different policy versions.
In the shopThe shop example uses the existing shared database and seven modules. Any added service or deployment model is a hypothetical extension. A support agent authenticates to the shop back office. When opening order B-1042, the service checks her support role, customer relationship, and requested action. She may read status and shipping history but cannot trigger payment again. The rule is applied server-side on every access and audited with subject, resource, and outcome. A UI toggle alone would not protect the operation.
This is what you learnEstablish identity traceably at trust boundaries. Assess the result against this limit: A valid sign-in does not answer an authorization question.
In the shopThe shop example uses the existing shared database and seven modules. Any added service or deployment model is a hypothetical extension. A customer signs in to the shop with a passkey. The identity provider verifies the cryptographic proof and issues a short-lived session token, which the shop validates on later requests. The order service now knows the authenticated user but still applies its order rules to decide which order may be shown. The team limits token lifetime, protects session cookies, and records failed sign-ins without storing secrets.
This is what you learnYou can manage access data via provision, use, rotation and revocation in a controlled manner.
In the shopThe shop uses a provider access token for payment requests. A central runtime service provides it to the payment module and supports the change to a new key.