ENGINEERING RESIDENCYBy Mobterest Studio
RP-26-004Members only

Cover sheet

Someone else's orders

Case
RP-26-004
Concept area
State management
Level
Intermediate
Time
About 25 minutes
Tags
Dependencies, ref.watch vs ref.read, logout, privacy
Draws on
ref: The Deep DiveProvider Composition

Incident report

You work on a food delivery app. Support escalates this message as a privacy incident:

"My partner and I share a phone. He logged out, I logged in with my own account, and my order history showed all of his orders, with his address on them. When I restarted the app, my own orders appeared."

The backend team confirms every order belongs to the correct account in the database.

Investigator's notes

User B logged in successfully, yet no request for their orders ever reached the server. Why didn't the order history provider fetch again?

Sign in to investigate

Your hypothesis is saved with the case, and the reveal unlocks straight after.

Ready when you are. Investigate, then file your notes.

  1. 1Read the report
  2. 2Study each exhibit0/4
  3. 3Answer both questions0/2
  4. 4File your notes to unseal the envelope