Sample re-scan
staging.northwind-notes.example
https://staging.northwind-notes.example
Detected: Supabase · Firebase
Compared with the previous scan: F → B
Fixed (7)
- Supabase service_role key in a public file
- Stripe live secret key in a public file
- User B can read User A's notes row
- User B can update User A's notes row
- User B can delete User A's notes row
- Anonymous client can read notes
- Firebase Realtime Database allows an unauthenticated read
Still open (3)
- Content-Security-Policy header is missing
- Login did not rate-limit a short burst of failures
- Referrer-Policy is missing
New (0)
- None.
In plain English
- The re-scan no longer sees User B reading or changing User A's rows.
- The service-role key and the live Stripe key are gone from the public bundle.
- Two items are still open: a missing content security policy, and login with no rate limit.
- Paste the remaining prompts into Lovable or Cursor, then re-scan once more.
Can B touch A's data?
Pass means the action was allowed only when it should be. Fail means one test user reached the other's marker row. Rowok created those rows and does not store their contents.
| Two-user test | read | update | delete |
|---|---|---|---|
| A → own | pass | skipped | skipped |
| B → own | pass | skipped | skipped |
| A → B | pass | pass | pass |
| B → A | pass | pass | pass |
Findings
Content-Security-Policy header is missing
Without a CSP, an injected script can read the page and call your API as the signed-in user.
The re-scan response still did not include content-security-policy.
You are fixing one security finding. Change only what this finding describes. Problem: Content-Security-Policy is missing. Do this: 1. Send Content-Security-Policy: default-src 'self' and add only the hosts you actually use. 2. Avoid unsafe-inline. Re-scan and confirm the header is present.
Login did not rate-limit a short burst of failures
Six failed password attempts were treated as ordinary errors. Guessing stays cheap.
POST /auth/v1/token six times. None returned 429. Bounded probe only.
You are fixing one security finding. Change only what this finding describes. Problem: Password login did not slow down after repeated failures. Do this: 1. Turn on auth rate limits, and CAPTCHA if the host provides it. 2. Return 429 after a handful of failures.
Referrer-Policy is missing
Full URLs can leak to other sites in the Referer header.
referrer-policy was absent on the document response.
You are fixing one security finding. Change only what this finding describes. Problem: Referrer-Policy is missing. Do this: 1. Send Referrer-Policy: strict-origin-when-cross-origin.
Checks that passed (4)
- Two-user test held on notes. B could not read, update, or delete A's marker row.
- Anonymous read denied on notes. GET returned 401.
- No service role key in the bundle. The previous critical finding is gone.
- Firebase read denied. Unauthenticated GET returned 401.
Point-in-time assessment. Not a penetration test, not a SOC 2 / ISO / PCI certification, and not a guarantee the app is secure. Findings can be incomplete or wrong.