Responsible Disclosure: the art of the “Silent Patch” and bad faith
A researcher found that a Supabase instance had Row-Level Security misconfigured, exposing the entire database. After the researcher reported it, the company silently revoked API keys and patched the issue, then created a new admin table that was also left publicly accessible, exposing admin roles, password hashes, and new API keys.
Published on medium.com
Cybersecurity
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
This is an account of a responsible disclosure process rather than a single exploit chain. The target was an unnamed online platform running a Supabase instance. Supabase exposes a Postgres database through a REST layer, and access control is normally enforced with Row-Level Security (RLS) policies: each table has policies that decide which rows a given role may read or write. If RLS is missing or misconfigured on a table, the API can return data that should never leave the backend.
In this case the researcher found an RLS configuration flaw that, in his words, exposed the platform's entire database: tens of thousands of users, emails, messages and internal data. The report does not name the platform, the endpoints or the table names involved in the original flaw.
Setup
The report gives no tooling, versions or account details. What it does establish is the sequence of events and the communication channel:
- The researcher discovered the RLS flaw and decided to disclose it privately.
- On 5 October he emailed the platform's support team, reporting the discovery and asking for a secure communication channel.
- He received an automated reply promising that a real person reads every message and that they reply within one business day.
- The platform does not run a paid bug bounty, which the researcher says was not his goal anyway.
Finding it
The initial discovery is described only in general terms: a critical RLS configuration flaw on the platform's Supabase instance that left the whole database readable. The report does not show the request that revealed it, the affected table, or the policy that was missing.
What the researcher does show is the moment he realised the flaw had already been handled without him being told. Before sending his full explanation, almost a month after first contact, he ran a quick check against their endpoint to verify the current state of the vulnerability. The system returned this error message:
"hint": "Your legacy API keys (anon, service_role) were disabled on 2026-10-06T06:15..."
The hint names the two legacy Supabase keys, anon and service_role, and gives the moment they were disabled: 6 October at 06:15, one day after his initial alert email. In other words, the platform had quietly revoked the keys and patched the vulnerability in the background, then waited almost a month to reply as if it knew nothing.
Exploitation
Step 1: Report the flaw privately and wait
The researcher emailed support on 5 October asking for a secure channel. The only response for almost a month was the automated acknowledgement. The report does not include the email contents beyond the quoted automated line: "A real person reads every message and we reply within one business day."
Step 2: Receive the late reply
On 1 November, 28 days after the first contact, the person in charge replied: "Sorry for the slow reply. Please send the full details. We take reports seriously and fix confirmed issues quickly." The same message mentioned that the platform does not run a paid bug bounty.
Step 3: Re-check the endpoint before sending details
Before writing up the report, the researcher checked the endpoint again to confirm the vulnerability was still present. Instead of the vulnerable behaviour, he got the hint shown above, which revealed that the legacy anon and service_role keys had been disabled on 6 October at 06:15. The timing, one day after his alert, is the evidence he uses for the silent patch.
Step 4: Find the new hole created by the patch
While patching on 6 October, the platform created a brand-new administration table and left it unsecured. The report says this table was still publicly accessible and exposed administrator roles, password hashes and the new API keys.
Step 5: Disclose the new issue anyway
The researcher replied to the 1 November email. He reported the newly left-open table and told them he had noticed the 6 October silent patch. He also recommended that they be more transparent and respect researchers' time in future.
Root cause
The original flaw was a missing or incorrect RLS configuration on the Supabase instance, which allowed the API to return the full contents of the database.
The second flaw is a patch-time mistake: a new administration table was created without RLS protection, so it remained reachable through the public API.
Impact
The original RLS flaw exposed, according to the researcher, tens of thousands of users, emails, messages and internal data. The replacement administration table exposed administrator roles, password hashes and the new API keys.
Fix
The platform disabled the legacy anon and service_role API keys on 6 October at 06:15, which the researcher reads as a silent patch of the original RLS flaw.
Variants to test
- Unprotected tables after a migration. Enumerate tables through the Supabase REST API with the
anonkey and look for any that return rows without an RLS policy. A positive result is a200with data where the table should be restricted. - New tables created during incident response. After a vendor announces or implies a fix, re-check for tables, views or functions that did not exist before. A positive result is a recently created object that is readable with a low-privilege key.
- Legacy key rotation. Check whether old
anonorservice_rolekeys still work after a reported rotation. A positive result is a successful request with a key the vendor says was disabled. - Error messages as change logs. Watch API error hints and messages for timestamps and configuration details, as happened here. A positive result is a response that reveals when keys were disabled or policies changed.
- Disclosure timeline tracking. Keep dated records of every contact and every check of the target. A positive result is a documented gap between the vendor's claimed response time and the actual backend change, which is the evidence this report is built on.
What happened, in plain words
A security researcher found a serious mistake in how an online platform had set up its database. The mistake meant that, in his words, the platform's entire database could be read by anyone who knew where to look: tens of thousands of users, their email addresses, their messages and internal data. He did the honest thing and told the company privately, asking for a safe way to send the details. The company said nothing for almost a month. When it finally replied, it asked for the full details and promised to fix confirmed issues quickly. Before sending those details, the researcher checked the platform once more, and the check showed that the company had already switched off the old access keys the day after his first email. In other words, it had quietly fixed the problem and then acted as if it had heard nothing. Worse, while fixing it in a hurry, the company created a new administration table and forgot to protect it, so that table was still open and exposed administrator roles, password hashes and the new keys. The researcher reported that new hole too, and told the company he had noticed the silent fix. This article walks through the whole story for someone who has never done security work, explaining each idea as it comes up.
The background you need first
Before the story makes sense, a few everyday ideas need to be clear. None of them require any technical skill to understand, only a comparison or two.
What a database is
A database is an organised store of information. Think of a very large spreadsheet cabinet: each drawer is a table, each row in the drawer is one record (one user, one message), and each column is one field of that record (the email address, the text of the message, the date it was sent). A platform with tens of thousands of users has tables for users, tables for messages, tables for internal settings, and so on.
What Supabase is
Supabase is a product that gives a company a ready-made database (specifically a Postgres database, a well-known database program) plus a way to reach it over the internet. The report says the platform was running a Supabase instance. The important part for this story is that Supabase does not only let the company's own programmers talk to the database. It also exposes the database through a REST layer.
What an API and a REST layer are
An API (Application Programming Interface) is the counter where one piece of software asks another for something. A useful comparison is a restaurant: you do not walk into the kitchen and take food; you ask a waiter, who carries your request to the kitchen and brings back a plate. The API is the waiter. You say what you want in a fixed format, and you get an answer back in a fixed format.
A REST layer is a particular style of waiter: it understands requests made over ordinary web addresses, the same kind your browser uses. So a program can ask for data by sending a request to a web address, and the answer comes back as text, usually in a format called JSON (a way of writing structured data with names and values, a bit like a very strict shopping list).
What a key or token is
When you ask the waiter for something, the restaurant needs to know who you are and what you are allowed to order. In web systems this is often done with a key or token: a long string of characters that you include with your request, like a membership card. If the card is valid, you get served; if it is not, you are turned away. The report mentions two Supabase keys by name:
anon, short for anonymous, is the low-privilege key. It is meant to be used by the public-facing part of a website, so it is not secret in the way a password is. It should only ever be able to do harmless things.service_roleis the high-privilege key. It is meant for the company's own trusted servers and can do far more. It should never be handed to the public.
If a low-privilege key can read everything, something has gone wrong in the rules that decide who may see what.
What Row-Level Security (RLS) is
Row-Level Security, usually shortened to RLS, is the set of rules inside the database that decides, row by row, who may read or write which records. The comparison is a hotel: the building has hundreds of rooms, but your key card only opens your own door. The hotel does not rely on you promising not to try other doors; the lock itself refuses. RLS is that lock. Each table has policies, which are written rules such as "a user may read only rows where the row's owner is that user".
If RLS is missing on a table, or written incorrectly, the lock is not there. The API then happily returns whatever is asked for, including data that should never leave the company's own systems. That is the flaw at the centre of this story: an RLS configuration flaw on the platform's Supabase instance.
The setup
The report does not describe any special tools, software versions or account details. What it does establish is the order of events and how the two sides talked to each other:
- The researcher found the RLS flaw and decided to report it privately rather than publish it.
- On 5 October he emailed the platform's support team, describing what he had found and asking for a secure communication channel.
- He received an automated reply promising that a real person reads every message and that they reply within one business day.
- The platform does not run a paid bug bounty, which the researcher says was not his goal anyway.
A bug bounty is a programme where a company offers money to people who report security problems. A company without one is not doing anything wrong; it simply means the researcher was not motivated by payment. Asking for a secure communication channel matters because a report like this contains sensitive details, and ordinary support email is not always a safe place for them.
Finding it
The report describes the original discovery only in general terms: a critical RLS configuration flaw on the platform's Supabase instance that left the whole database readable. It does not show the request that revealed it, the affected table, or the policy that was missing. So there is no code to explain for this part; the finding is stated as a fact, and the rest of the story is about what happened afterwards.
What the researcher does show is the moment he realised the flaw had already been dealt with without anyone telling him. Almost a month after first contact, and just before sending his full explanation, he ran a quick check against the platform's endpoint to see whether the vulnerability was still there. An endpoint is simply a specific web address on a server that accepts requests, the counter window for one particular kind of order. The system answered with this error message:
"hint": "Your legacy API keys (anon, service_role) were disabled on 2026-10-06T06:15..."
Line by line, in plain words:
"hint"is the name of a field in the answer. The server is not just saying "no"; it is adding a helpful note, a hint, about why."Your legacy API keys (anon, service_role) were disabledis the content of that note. It says that two old keys, the anonymous one and the service-role one, have been switched off.on 2026-10-06T06:15...gives the exact moment: 6 October 2026 at 06:15. The three dots at the end show that the message was cut off in the report.
The hint names the two legacy Supabase keys, anon and service_role, and gives the moment they were disabled: 6 October at 06:15, one day after his first alert email. In other words, the platform had quietly revoked the keys and patched the vulnerability in the background, then waited almost a month to reply as if it knew nothing. A patch is a repair, a change made to software to close a hole. A silent patch is one made without telling anyone, including the person who reported the problem.
The steps, one at a time
Step 1: Report the flaw privately and wait
The researcher emailed support on 5 October asking for a secure channel. For almost a month the only response was the automated acknowledgement. The report does not include the email contents beyond the quoted automated line: "A real person reads every message and we reply within one business day." The reason for this step is the same reason you tell a shop that its back door is open rather than announcing it in the street: the company gets a chance to fix things before anyone with bad intentions finds out.
Step 2: Receive the late reply
On 1 November, 28 days after the first contact, the person in charge replied: "Sorry for the slow reply. Please send the full details. We take reports seriously and fix confirmed issues quickly." The same message mentioned that the platform does not run a paid bug bounty. The researcher found the 28-day delay hard to accept from a company claiming to address issues quickly, but he sat down to prepare his report anyway.
Step 3: Re-check the endpoint before sending details
Before writing up the report, the researcher checked the endpoint again to confirm the vulnerability was still present. This is a sensible habit: a report is only useful if it describes the current state of the system, and a month is a long time in which things can change. Instead of the vulnerable behaviour, he got the hint shown above, which revealed that the legacy anon and service_role keys had been disabled on 6 October at 06:15. The timing, one day after his alert, is the evidence he uses for the silent patch.
Step 4: Find the new hole created by the patch
While patching on 6 October, the platform created a brand-new administration table and left it unsecured. The report says this table was still publicly accessible and exposed administrator roles, password hashes and the new API keys.
A few of those words need unpacking. An administration table is a table holding the information the company uses to run the service, rather than the information its customers see. Administrator roles are the labels that say which staff member is allowed to do what, for example who may delete users or change settings. A password hash is what you get when a password is put through a one-way scrambling process: the system stores the scrambled result, not the password itself, so that even someone who reads the table cannot simply read everyone's password. Hashes are still sensitive, because a determined attacker can try to guess passwords and compare the guesses with the stored hashes. The new API keys are the replacement keys the company created when it switched off the old ones. Leaving all of this readable is a serious mistake, and it was made in the middle of fixing another one.
Step 5: Disclose the new issue anyway
The researcher replied to the 1 November email. He reported the newly left-open table and told them he had noticed the 6 October silent patch. He also recommended that they be more transparent and respect researchers' time in future. He did this even though the company had not been straight with him, because the alternative, staying silent about an open administration table, would leave real users exposed.
Why it happened
The original flaw was a missing or incorrect RLS configuration on the Supabase instance, which allowed the API to return the full contents of the database. In hotel terms, the key card system was not enforcing anything, so every door opened for anyone who asked.
The second flaw is a patch-time mistake: a new administration table was created without RLS protection, so it remained reachable through the public API. A migration here means a planned change to the structure of a database, such as adding a table. When such a change is made in a hurry, the usual checks can be skipped, and a table can go live without its lock.
What was exposed
The original RLS flaw exposed, according to the researcher, tens of thousands of users, emails, messages and internal data. The replacement administration table exposed administrator roles, password hashes and the new API keys. Rotating a key or a password means replacing it with a new one and retiring the old, which is the usual response when one may have been seen by the wrong people.
What the company did
The platform disabled the legacy anon and service_role API keys on 6 October at 06:15, which the researcher reads as a silent patch of the original RLS flaw.
Things worth checking in similar situations
These are the patterns from the story, written so that a beginner can follow the reasoning even without running anything:
- Unprotected tables after a migration. List the tables reachable through the Supabase REST API with the
anonkey and look for any that return rows without an RLS policy. A positive result is a200with data where the table should be restricted. A 200 is the standard web answer meaning "here you go, everything is fine". - New tables created during incident response. After a company announces or implies a fix, check again for tables, views or functions that did not exist before. A positive result is a recently created object that is readable with a low-privilege key.
- Legacy key rotation. Check whether old
anonorservice_rolekeys still work after a reported rotation. A positive result is a successful request with a key the company says was disabled. - Error messages as change logs. Watch API error hints and messages for timestamps and configuration details, as happened here. A positive result is a response that reveals when keys were disabled or policies changed. A change log is a dated record of what was altered and when.
- Disclosure timeline tracking. Keep dated records of every contact and every check of the target. A positive result is a documented gap between the company's claimed response time and the actual backend change, which is the evidence this report is built on. Disclosure is the act of telling someone about a security problem; a timeline is the dated list of events.
The lesson
If a researcher contacts you to help prevent a massive data leak, do not play games. Thank them, be transparent about your actions, and do not pretend to be responsive a month after you quietly panicked in the backend. Ethics goes both ways: the researcher kept to his side by reporting privately and by reporting the new hole even after being treated badly, and the company did not keep to its side by fixing in secret and then asking for details as if nothing had happened.
Glossary
- API: the counter where one piece of software asks another for something, and gets an answer back in a fixed format.
- REST layer: a way of offering an API over ordinary web addresses, so requests look like visits to a web page.
- JSON: a text format for structured data, written as names and values, a bit like a strict shopping list.
- Database: an organised store of information, arranged in tables of rows and columns.
- Table: one collection of records inside a database, like one drawer in a filing cabinet.
- Row: one record in a table, for example one user or one message.
- Postgres: a well-known database program.
- Supabase: a product that provides a Postgres database plus a way to reach it over the internet.
- Endpoint: a specific web address on a server that accepts requests.
- Key / token: a long string of characters sent with a request to prove who you are and what you may do, like a membership card.
anonkey: the low-privilege Supabase key meant for public use, which should only be able to do harmless things.service_rolekey: the high-privilege Supabase key meant for the company's own trusted servers, which should never be public.- Row-Level Security (RLS): rules inside the database that decide, row by row, who may read or write which records.
- Policy: one written RLS rule, such as "a user may read only their own rows".
- Configuration flaw: a mistake in how a system is set up, rather than a mistake in its code.
- Vulnerability: a weakness that could let someone do something they should not be able to do.
- Patch: a repair, a change made to software to close a hole.
- Silent patch: a repair made without telling anyone, including the person who reported the problem.
- Bug bounty: a programme where a company offers money to people who report security problems.
- Responsible disclosure: reporting a security problem privately to the owner first, giving them a chance to fix it before it becomes public.
- Disclosure: the act of telling someone about a security problem.
- Timeline: a dated list of events, used here to compare what a company says with what it actually did.
- Change log: a dated record of what was altered and when.
- Administration table: a table holding the information a company uses to run its service, rather than what customers see.
- Administrator roles: labels saying which staff member is allowed to do what.
- Password hash: the scrambled result of putting a password through a one-way process, stored instead of the password itself.
- Rotation: replacing a key or password with a new one and retiring the old.
- Migration: a planned change to the structure of a database, such as adding a table.
- 200: the standard web answer meaning the request succeeded and here is the data.
- Bad faith: acting dishonestly while appearing to act properly.