UNDER AUDITNorthwind Storedemo-shop.invariant.dev · intentionally vulnerable business logic← Back to Invariant
ShopDealsSupport
Cart · 3
Your cart
2 items · ships from Reno, NV
Aero75 Mechanical Keyboard
Linear switches · $179.99
$179.99
Braided USB-C Cable
2 m · $19.99
$39.98
Subtotal$219.97
Shipping$0.00
Total$219.97
3 planted invariant violations
CRIT Negative quantity

Type -2 into the keyboard quantity. No validation fires; the subtotal goes negative.

INV-02 · qty ≥ 1
HIGH Coupon stacking

Click Apply on SAVE20 repeatedly — the discount stacks past 100%.

INV-01 · once per cart
MED Checkout desync

Refresh during checkout → server keeps pending order → re-submit marks it PAID with $0 captured.

INV-03 · total = Σ lines