Pular para o conteúdo
← Back to Skalablog

Published article

Is indie hackers SaaS security really that bad?

Software Engineering

Indie hackers SaaS security comes down to three server-side checks: who owns this object, what may the client write, and where is the credential stored. An authorized audit in December 2025 found all three missing in one time-capsule app, enough to read other users' capsules and create paid ones for free.

Indie hackers SaaS security: what the authorized audit found

Indie hackers SaaS security problems are usually authorization failures, and one authorized audit published in December 2025 found three in a single time-capsule SaaS. Developer Nicolas Pauferro, working with the owner's permission, used a proxy to inspect GraphQL traffic and logged in as another user, read other people's data, and created capsules without paying.

The term SaaS means software as a service: a hosted product sold by subscription or per use. The target here was a small time-capsule app where users pay to store messages that open on a future date. That business model makes access control the product, because the stored content is private by design.

Pauferro used Caido, a web security proxy that intercepts requests between browser and server before they are sent. His stated alternative was Burp Suite. The proxy is what made the GraphQL payloads visible and editable, and it is also why the findings are concrete rather than speculative.

The audit was coordinated: Pauferro says he contacted the creator and hoped the flaw would be fixed before publication. The video is a teaching walkthrough, not a disclosure report, so no remediation date was given. Everything below is scoped to one application tested in late 2025.

How the login code became an account takeover

The login flow used a six-digit emailed code as the only credential, and the database stored that code in plain text on the user record. Once a query could read the user table, the code was readable too, so the tester could authenticate as anyone.

A six-digit code gives 1,000,000 possible values, which is far smaller than the space of typical passwords. Pauferro considered a brute-force attempt against that space but rejected it as too slow, because the server limited how many requests could be sent. He did not need brute force: the code was retrievable directly.

There is also a quieter design problem. The video describes a login page with no separate registration page, and the same emailed code serving both signup confirmation and login. Pauferro initially assumed the code confirmed registration, then found it was the login credential itself.

The GraphQL IDOR that exposed every user

A GraphQL endpoint that lets the client choose the operation name and filter is an IDOR waiting to happen if the server does not verify ownership, and that is what happened. IDOR, or insecure direct object reference, means a request names an object the caller should not be able to access, and the server returns it anyway.

GraphQL is an API query language in which the client sends a query document naming fields and filters. The video shows the app sending the whole query from the frontend and letting the proxy rewrite it. The first attempt asked for a collection called users, which failed; the server's error suggested user, the singular name, and that query succeeded.

The attacker-controlled query asked for id and email from user, filtered by id, and received a real address. Because IDs appear to be sequential integers, enumerating them would reveal more accounts. The same technique was then extended to request the code field, which returned the plaintext login code.

The practical lesson is that schema introspection plus client-side query construction turns a private backend into a public one. A server that trusts the operation name and filter supplied by the browser is not enforcing authorization, it is accepting suggestions.

Why a client-controlled status field let capsules skip payment

A capsule could be created without payment because the create request included a status field that the client set, and the server accepted the value. Changing waiting to a value meaning opened produced a capsule with an ID that appeared in the dashboard.

The request also carried title, description, theme, opening date and creation date. Sending a modified title confirmed the write took effect, and the tester could then open the capsule immediately instead of waiting for a future date. The price was never charged because the paywall depended on a field the buyer controlled.

Server-side price and state logic is the rule this breaks. If a payment gate reads a status value from the request body, the buyer effectively sets their own access tier. The status should be derived on the server from a verified payment event, never accepted as input.

IDOR controls that would have blocked all three findings

Three server-side controls would have blocked every finding in this audit: ownership checks on each object lookup, a server-generated allowlist for the fields and arguments a client may send, and credentials that never leave a hashed column. Each is enforceable in code review.

The fixes map to the flaws one to one.

Indie hackers SaaS security checklist before you launch

A short pre-launch checklist closes the gap between shipping speed and authorization quality, and every item is testable in a proxy in under an hour. The video's three findings all fail the first two items on this list.

CheckWhat to testFailure seen in the audit
Object ownershipRequest another user's id and confirm a denialEmail and code returned for any id
Client-controlled stateResend create or update with status changedFree capsule created with status opened
Credential storageConfirm codes and passwords are hashedLogin code stored in plaintext
Query surfaceTry to rename operations and fieldsClient-supplied operation names accepted
EnumerationCheck whether ids are guessableSequential integer ids
Rate limitsCount attempts before lockoutBrute force judged too slow, limit unverified

OWASP, the Open Worldwide Application Security Project, maintains a widely used list of web application risks, and broken access control sits at the top of its 2021 Top 10. The authorization failures here are textbook examples of that category rather than novel techniques.

A developer can run this checklist against their own product with a proxy and two test accounts. Create a second account, copy its object ids into the first account's session, and confirm the server refuses. That single test catches the class of bug that dominated this audit. Pauferro's closing point is that most of the vulnerabilities he finds are IDOR-type authorization gaps, and those are the ones that expose confidential data.

The broader claim that AI-assisted coding will make security expertise more in demand is Pauferro's forecast, not a measured trend. It is worth separating from the verified findings, which stand on their own as a worked example of what to check. Knowledge shared in developer videos like this is dense and often hard to search later; Skala blog turns a YouTube URL into a transcript and a reviewable draft, which suits long technical walkthroughs better than skimming a comment thread.

FAQ

  • What is an IDOR vulnerability in a SaaS app? An IDOR is an insecure direct object reference: a request names an object by id and the server returns it without checking that the caller owns it. In the audited app, a GraphQL query for another user's record returned their email and login code.
  • Was the time-capsule app hack authorized? Yes, the developer says he contacted the site's creator and received authorization, and he says the name of the site is blurred in the video. The video was published in December 2025 and the walkthrough is presented as a teaching example, not a public attack.
  • Can a six-digit login code be brute forced? 1,000,000 combinations is small, but the tester found rate limiting made brute force too slow. The real failure was that the code was stored in plaintext and readable through the same GraphQL endpoint, so no guessing was needed.
  • How do you fix a client-controlled payment status field? The server should derive access state from a verified payment event and reject any status value supplied by the client. A status such as waiting or opened must be written by trusted backend logic, never accepted from a create or update request.
  • Does GraphQL cause IDOR vulnerabilities? GraphQL does not cause IDOR, but a schema that lets the client choose arbitrary operations and filters makes missing ownership checks easier to reach. The server still has to authorize each field and object; GraphQL just removes the fixed endpoint that might have hidden the gap.

The original walkthrough is a 16-minute Portuguese-language video from December 2025, and it is the primary account of these findings. Developers who want more depth on access control can start with the OWASP Top 10 entry rather than a vendor blog post.

For readers who build in the Brazilian developer community, the same ecosystem includes projects and tooling shared among developers. One example is Crazystack TypeScript, a TypeScript-focused toolkit site; the security lessons above apply to any stack, including TypeScript backends.

Dev doido is a phrase that circulates in that community for developers who ship fast and break things. Shipping fast is fine. Shipping without an ownership check is the part worth fixing before launch.

Source video