Two API flaws you cannot see on the login screen.
A fictional OrbitDesk example: transforming technical aspects of message access and credit allocation into clear team tasks.
All elements of this analysis are fictional: the product, data, and results. This demonstrates scenarios, not a real audit or claim of automated checks.
The product gives the impression of being complete
OrbitDesk offers registration, a chat list, attachment uploads, and credit purchases. The interface is built with React, and Supabase handles the data. Guests can't see conversations in the menu, and the top-up button leads to payment. The rules appear logical. But does the server adhere to these rules when processing individual requests?
Get to know the product's structure
Connect pages, client functions and server operations. A chat screen, an RPC returning message previews and a stored file are distinct access points.
Determine permitted actions for each user
The training scenario includes a guest, user A, and user B. Chat A is accessible only to A. Define the expected behavior before comparing responses.
Compare behavior and formulate the task
It’s not enough to get an HTTP 200; you also need to check if another user’s test object appears in the response. The report should link the result to its impact and describe how the fix will be verified.
01. Login protects the page, but not the chat function
In the fictional scenario, a guest calls chat_previews and receives chat A’s last message. The issue is that the application function does not verify the user session or conversation membership. Hiding a button and redirecting to the login page cannot substitute server-side access rules.
Supabase documentation describes function call permissions and execution modes. Functions with elevated privileges require special attention to access checks. Supabase ↗
02. The browser cannot be the source of truth for a balance
In the second fictional model, the API grants 500 credits after receiving paid: true, even though there is no payment for the order. The issue is not with the payment provider; the application accepts a client’s claim as proof of purchase.
Clear verification for developers and owners
| Scenario | Behavior in the fictional model | After the fix |
|---|---|---|
| Guest → chat A preview | Receives a private message | Access denied |
| User B attempts to connect to chat A | Object permission verification is not performed | Access denied |
| User A accesses their own chat | User reads their messages | Access preserved |
| Client indicated that payment was made (paid: true) | Balance increased | Balance remained unchanged |
| Payment confirmation repeated | There is a risk of a second grant | One grant per payment |
A report should help you address issues, not scare you
Each issue requires answers to five questions: what is happening, who is affected, where the mistake was made, what needs to be changed, and how to verify that the fix works. Priority is determined by the impact and access conditions. The severity level does not replace a detailed explanation.
A public Supabase client key is not considered a secret leak. The presence of a function in JavaScript does not indicate an access control bypass. In a real audit, conclusions about access are based on the server response and the ownership of test data.
Explore the full fictional report ↗How this analysis relates to the current assessment
CheckMyApp investigates the website and authorized related APIs, including read-only RPC. Comparing object access requires two test accounts and synthetic data. JSON POST needs explicit permission for a read-only function; no real credit grants or payments are performed. This remains a fictional example, not a customer assessment.
API assessment coverage →