Skip to content
Pwnversity
AUD-METODOLOGIAbasic · 9 min · upd. 2026-11

How to audit a technology

Responsabilidad compartidaRevisión de configuraciónInforme

A technology audit reviews how a specific managed service is configured (a database-as-a-service, a deployment platform, an identity provider) against the vendor’s recommendations and the application’s threat model. It doesn’t look for flaws in the provider. It looks for the settings, permissions, rules and keys left in the customer’s hands, which is where almost every incident happens.

  • Incidents come from configuration, not zero-days. In 2024, three researchers found more than 900 websites with misconfigured Firebase and about 125 million exposed records, including passwords and billing data. Only 24% of the owners they contacted fixed it.
  • Modern platforms expose the database to the browser. Supabase and Firebase are designed for the client to talk to the data directly. The only barrier is the access rules, and a badly written rule doesn’t fail: it just lets requests through.
  • The code generator doesn’t audit. CVE-2025-48757 (CVSS 9.3) describes apps generated by Lovable whose Row Level Security policies let anyone read or write arbitrary tables.
  • The platform can be breached too. In April 2026, an attacker reached Vercel’s internal systems through a third-party AI tool and decrypted customer environment variables. Those marked as secret are not among the affected ones. That setting was up to the customer.
Layer Provider Customer
Physical infrastructure, network, hypervisor Yes No
Service availability and patching Yes No
Default encryption at rest and in transit Yes (usually) Check it isn’t turned off
Accounts, members, MFA, roles Provides the controls Turns them on and reviews them
Data access rules (RLS, Security Rules) Provides the engine Writes and tests them
Keys, secrets, tokens Provides types and rotation Decides where they go and rotates them
Network exposure (IPs, previews, domains) Provides the options Configures them
Logs and alerts Generates the events Keeps them and looks at them

Each vendor publishes its own version (Supabase, Vercel and Google Cloud all have shared responsibility pages). Reading it is the first step: it tells you exactly what you have to review.

  1. Written authorization from the project owner, with the scope: which accounts, projects and environments, and whether production can be touched.
  2. The provider’s policy. The customer’s authorization isn’t enough: the service has its own rules.
Provider What it allows (November 2026)
Supabase Testing your own project’s components without prior approval. Automated scanners require notifying security first.
Vercel Pro and Enterprise plans only, against your own applications and never the infrastructure. Volumetric testing only on Enterprise and with prior notice.
Google Cloud / Firebase No notification needed, but you must follow the acceptable use policy and not affect other customers.
  1. Read-only access. Ask for a role that can see the configuration without changing it. The audit shouldn’t need write permissions. If you have them, don’t use them except for agreed tests in a non-production environment.
  2. Your own test accounts. To check data access from the outside, create two test users and verify that one can’t see the other’s data. Never use real third-party accounts or data.
flowchart LR
    A["Scope<br/>authorization,<br/>provider policy"] --> B["Inventory<br/>accounts, projects,<br/>keys, data"]
    B --> C["Inside view<br/>console, CLI, API<br/>(read-only)"]
    B --> D["Outside view<br/>what a client sees<br/>with the public key"]
    C --> E["Compare with the<br/>vendor guide and<br/>the threat model"]
    D --> E
    E --> F["Findings<br/>evidence and severity"]
    F --> G["Report and<br/>verification"]
What to collect Why
Organizations, teams and members with their role Stale accounts, too many owners, nobody on MFA
Projects and environments (production, preview, development) Test environments often hold real data with less protection
Keys, secrets and tokens, and where each one is used A secret in the client or the repository is a critical finding
Data access rules (RLS, Security Rules, bucket policies) This is the application’s real authorization
Domains and public URLs, including auto-generated ones Preview URLs and old deployments stay alive
Connected integrations and OAuth apps They are the entry point in supply chain incidents
Logs: what is kept, for how long and who reviews it Without logs there’s no way to know whether it was already exploited

From the inside you read the configuration with the provider’s console, CLI or API: which tables have RLS, which type each environment variable has, who is an owner. It’s exhaustive, but it shows intent, not effect.

From the outside you do what any visitor would do. You open the application, pull the public configuration out of the JavaScript (see JavaScript analysis) and call the API with that key, first without a session and then as each test user. That is what confirms impact.

Both are needed. An RLS policy can look right in the console and leak data through a view. A variable may not be in today’s bundle and still sit in the bundle of a deployment from a year ago.

Level Example
Critical User data readable or writable without authentication. A server secret (service role, service account key) in the client or in a public repository
High Any authenticated user can access other users’ data. Authorization based on a field the user can edit
Medium Organization account without enforced MFA. Unprotected previews that use production data or credentials
Low Connection logging turned off. No budget alerts. Unused legacy keys still active

If the report needs a score, CVSS works, but the main criterion is the affected data and who can reach it.

Every finding should be reproducible and closable without asking its author anything:

  • Title with the what and the where: “The pedidos table is readable without a session”.
  • Dated evidence: the query or request and its response, with real data masked.
  • Impact: which data, how many records, who can reach it.
  • Recommendation with the concrete value to set, not “review the configuration”.
  • Reference to the vendor documentation.
  • How to verify the fix: the same test with the expected result.
  • Flagging a public key as a finding without testing what it allows.
  • Auditing only production. Preview and development environments often share keys and data.
  • Trusting the provider’s scanner. Automated advisors have deliberate exclusions. For example, Supabase’s doesn’t flag a USING (true) read policy, because it’s sometimes intentional.
  • Not checking the plan. Many protections depend on the plan, and recommending something the customer doesn’t have is useless.
  • Using stale documentation. These services change their key model and defaults every few months.
  • Testing with other users’ real data. The test accounts are enough to prove access.
  • Written authorization with scope, environments and testing window
  • Provider’s testing policy read, with date and URL
  • Read-only access and two test users of your own
  • Vendor’s shared responsibility page reviewed
  • Inventory of members, environments, keys, rules, domains, integrations and logs
  • Inside view of each control against the vendor guide
  • Outside view: public configuration extracted and tested without a session and as each user
  • Findings with dated evidence, impact, recommended value and closure test
  • Verification after the fix