← All Labs
🛡 LOGIC BEGINNER +100 XP · +40 no-hint bonus

A06 Insecure Design – Skip the Payment Step

A fictional checkout flow has a required payment step, but the order confirmation route does not verify that payment was completed.

https://a06-insecure-design-skip-the-payment-step.lab.local/

What is Insecure Design – Missing Payment Workflow Validation?

Insecure design occurs when a workflow does not enforce its required business rules. A payment flow must not assume that a user visited the payment page. The server must verify a successful payment transaction before confirming an order.

About this lab

Designed by the SecurityElites team specially for training.

How AI helps you find it

AI can explain the relevant workflow or HTTP behaviour, suggest test cases and help compare expected and observed responses. Confirm findings manually.

How to fix it

  • Model checkout as a server-side state machine with explicit allowed transitions.
  • Verify payment status with the trusted payment provider before confirming an order.
  • Bind payment confirmation to the correct order, amount and currency.
  • Make payment and order operations idempotent.
  • Reject direct requests that skip required workflow steps.
  • Add negative tests for every invalid checkout transition.

How AI helps you defend against it

AI can help review server-side validation, state transitions and authorization logic, then draft regression tests. A developer must validate the implementation.

Read the full OWASP LLM Top 10 guide · All free labs · AI red team certification