Fictional example / OrbitDesk

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?

01

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.

02

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.

03

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.

Privacy / CMA-01

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.

To fix the issue, ensure that every returned chat belongs to the current user or is accessible based on their role. Anonymous calls must be blocked, but login alone is insufficient; user B should not have access to chat A.

Supabase documentation describes function call permissions and execution modes. Functions with elevated privileges require special attention to access checks. Supabase ↗

Business logic / CMA-02

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.

Link credit grants to a server-side order and verified payment status. Derive the amount and recipient on the server. Repeating a payment confirmation must not grant credits twice.

Clear verification for developers and owners

ScenarioBehavior in the fictional modelAfter the fix
Guest → chat A previewReceives a private messageAccess denied
User B attempts to connect to chat AObject permission verification is not performedAccess denied
User A accesses their own chatUser reads their messagesAccess preserved
Client indicated that payment was made (paid: true)Balance increasedBalance remained unchanged
Payment confirmation repeatedThere is a risk of a second grantOne 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 →
CheckMyApp

Check your app’s security.

Enter your web application address and email. Get a free preliminary report and choose the depth of analysis.

Check your app for free