SAMPLE What a founder gets from the $49 App Audit. Built from Lumen, an invented Next.js and Supabase notes app written by Nordik with problems planted on purpose. Not a customer and not a real company. The report text is exactly what the audit wrote.

The Audited by Nordik seal

App Audit technical report: lumen-demo-audit-repo

Full details

This is the technical report: the full record of every finding the audit made, for a developer or for your AI tool. The plain report is the short version, with what to fix first and a fix prompt for each item. It groups problems of the same kind into one item, so its number of things to fix is smaller than the number of problems counted here; the table below shows which finding sits in which item. The plain report lists items 7 to 12 in short; their fix prompts, checks and steps are in the section "Fix prompts for the other items" below.

Summary of the audit, in one paragraph

Summary: 19 distinct problems (28 confirmed findings, 9 of them the same root cause as another) among 33 candidate findings: 1 critical, 6 high, 7 medium, 5 low, each problem counted once; 4 rejected and 1 need follow-up. Most severe: C005 "GET /api/export reads a notes with the service-role client by an id from the request, after only a …" (critical); C023 "Direct dependency next pulls in 2 vulnerable packages (next@14.2.3 itself, postcss@8.4.31); upgrade…" (high); C025 "Direct dependency zod pulls in 1 vulnerable package (zod@3.23.8 itself); upgrade target: zod 4.6.6" (high); 16 more problems are listed below.

The audit record: revision, reviewers and verdicts
Revision:
c64304259df8fd38f3e766838c7012f0a656403c
Findings with a verdict:
33 of 33
How the verdicts were reached:
AI reviewer 11; AI reviewer and second reviewer (agreed) 16; OSV evidence 5; needs follow-up 1
Verdicts:
28 confirmed, 1 need follow-up, 4 rejected
Finding states:
10 reproduced, 18 source-supported, 1 inconclusive; no item recorded as not examined (what the audit does not cover is under Limitations and exclusions)
Distinct problems:
19 (of the 28 confirmed findings, 9 are the same root cause as another confirmed finding and are listed under it)
AI reviewer model:
claude-opus-5-5; it checked 28 of 28 code findings against the code (package findings keep their OSV evidence)
Second reviewer model:
claude-opus-5-5; it independently checked 17 of 17 critical or high code findings
An extra pass was used on top of the other reviewers, never instead of one: an extra exploit-path pass ran on the audit's own AI reviewer (claude-opus-5-5); it proposes exploit paths, only their quoted lines were checked to exist, and it added 3 findings (marked "Found by AI (exploit-path pass)", reviewed like every other finding); the Mythos third opinion did not run (the exploit-path pass ran on the audit's own AI reviewer (claude-opus-5-5), not on Mythos 5.2, and the third opinion goes with the Mythos pass).
Vulnerability data:
OSV.dev npm snapshot of 2026-11-29, matched offline; nothing about the repository was sent. Credit: OSV.dev (CC-BY 4.0 / CC0).

Checked against the code by an AI reviewer; each critical or high code finding was checked again by a second AI reviewer. Each finding below says how its verdict was reached. "Confirmed" means the evidence is present at this revision. For secret-shaped text it means only that the text is there: no credential was tested against any live service. For a secret found only in git history, "present" means in a commit in the history of this revision, not in the files of the revision.

How the plain report labels each finding

The plain report puts findings of the same kind in one item and labels each item by what could happen to your users: a settled finding where strangers can read or change other users' data, act as another user, or move money is "Fix today" whatever its rating here; a package update is at most "Fix this week"; anything else follows its rating. The ratings below are the audit's own and are not changed.

The plain report lists 12 things to fix (its items). Together they hold 20 problems, grouped by kind; the same problem at another place is not counted again.

FindingRatingPlain itemPlain urgencyWhyPlace
C005critical1Fix todaystrangers can read or change other users' dataapp/api/export/route.ts line 20
C006high1Fix todaystrangers can read or change other users' dataapp/api/admin/users/route.ts line 10
C011high1Fix todaystrangers can read or change other users' dataapp/api/notes/[id]/route.ts line 34
C031high1Fix this weekits ratingapp/api/notes/[id]/route.ts line 11
C009high1Fix todaystrangers can read or change other users' dataapp/api/export/route.ts line 20
C007high1Fix todaystrangers can read or change other users' dataapp/api/admin/users/route.ts line 13
C012high1Fix todaystrangers can read or change other users' dataapp/api/notes/[id]/route.ts line 34
C004high2Fix todaystrangers can read or change other users' datasupabase/migrations/0001_init.sql line 115
C015high2Fix todaystrangers can read or change other users' datasupabase/migrations/0001_init.sql line 115
C008high3Fix todaystrangers can act as another userapp/api/checkout/route.ts line 36
C027medium3Fix todaystrangers can act as another userapp/api/notes/route.ts line 47
C032high3Fix this weekits ratingapp/api/webhooks/stripe/route.ts line 21
C028medium3Fix todaystrangers can read or change other users' datasupabase/migrations/0001_init.sql line 132
C029medium4Fix todaystrangers can read or change other users' dataapp/api/checkout/route.ts line 30
C033medium4Fix soonits ratingapp/api/webhooks/stripe/route.ts line 23
C016medium5Fix todaystrangers can read or change other users' datasupabase/migrations/0002_billing_and_audit.sql line 18
C030low5Fix todaystrangers can read or change other users' datasupabase/migrations/0001_init.sql line 136
C002medium6Fix soonits ratingapp/auth/callback/route.ts line 14
C003medium7Fix soonits ratinglib/stripe.ts line 4
C001medium8Fix soonits ratingapp/api/public/notes/[id]/route.ts line 17
C013medium8Fix soonits ratingapp/api/public/notes/[id]/route.ts line 17
C019low9Worth a lookits ratingapp/api/webhooks/stripe/route.ts line 16
C020low10Worth a lookits ratingnext.config.mjs line 2
C023high11Fix this weekpackage update, at most Fix this weekpackage-lock.json line 621
C025high11Fix this weekpackage update, at most Fix this weekpackage-lock.json line 962
C024medium11Fix soonpackage update, at most Fix this weekpackage-lock.json line 857
C021low11Worth a lookpackage update, at most Fix this weekpackage-lock.json line 256
C022low11Worth a lookpackage update, at most Fix this weekpackage-lock.json line 280
C014high, not settled12Fix this weekits ratingcomponents/WorkspaceStats.tsx line 11
Fix prompts for the other items

The plain report lists items 7 to 12 in short. Each one is written out here with the same number, in the same way as the items in the plain report: what it means, the fix prompt, how to check it and any steps you do yourself.

Fix soon7. A secret falls back to a weak built-in value

What this means for you:

Your app uses a built-in fallback (like "changeme") when the real secret is not set. If the setting is ever missing, anyone could use the fallback to sign in or sign tokens. We saw only the fallback in the code, not a real key.

How urgent:
Fix soon
How long it takes:
usually about 15 minutes (a code change in one file, then the check)
Fix prompt: Paste this into the AI coding tool you build with as-is. You don't need to understand it.
A security audit of my app found a problem. Please fix it. In `lib/stripe.ts` (around line 4) a secret setting has a fallback value written in the code (for example `SECRET || "changeme"`). Remove the fallback so the app refuses to start when the secret is not set, and make sure a long random value is set in the project's secret settings. Keep the behaviour for normal users the same, and tell me in plain words what you changed.
Show me how to check / step by step
How to check it's fixed: Paste this into the AI coding tool you build with after the fix:
Check the fix you just made for: a secret falls back to a weak built-in value. Read the code in `lib/stripe.ts` (around line 4). Tell me whether the secret still has a fallback value in the code, and whether the app now stops when the secret is not set. Change nothing. Answer Pass or Fail, with one plain sentence why.
  • Details for a developer: C003 in the technical report

Stuck on this fix? Ask Nordik's AI about this item: say what your AI coding tool did or showed, and get a short answer for this fix (up to 3 questions). In your own report this is a link to that item's help page.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

Fix soon8. A setting makes your app easier to break into

What this means for you:

One of your app's settings is looser than it should be. On its own it may do no harm, but it makes other problems easier to use against you.

How urgent:
Fix soon
How long it takes:
usually about 5 minutes (one settings change, then the check)
Fix prompt: Paste this into the AI coding tool you build with as-is. You don't need to understand it.
A security audit of my app found a problem. Please fix it. In `app/api/public/notes/[id]/route.ts` (around line 17) a security setting is looser than it should be (for example a debug mode left on, every other website allowed to call the app, or missing safety settings for the browser). Tighten it for the live app and keep the app working. Keep the behaviour for normal users the same, and tell me in plain words what you changed.
Show me how to check / step by step
How to check it's fixed: Paste this into the AI coding tool you build with after the fix:
Check the fix you just made for: a setting makes your app easier to break into. Tell me how the setting in `app/api/public/notes/[id]/route.ts` (around line 17) is set now. It should be off, or limited to my own site. Change nothing. Answer Pass or Fail, with one plain sentence why.
  • Details for a developer: C001, C013 in the technical report

Stuck on this fix? Ask Nordik's AI about this item: say what your AI coding tool did or showed, and get a short answer for this fix (up to 3 questions). In your own report this is a link to that item's help page.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

Worth a look9. Error messages show visitors how your app works inside

What this means for you:

When something goes wrong, your app sends the full error text to the visitor. That can show details about your database that help someone break in.

How urgent:
Worth a look
How long it takes:
usually about 15 minutes (a code change in one file, then the check)
Fix prompt: Paste this into the AI coding tool you build with as-is. You don't need to understand it.
A security audit of my app found a problem. Please fix it. In `app/api/webhooks/stripe/route.ts` (around line 16) the app sends the full error text back to the visitor when something fails. Send a short general message instead (such as "Something went wrong"), and keep the full error only in the server logs. Keep the behaviour for normal users the same, and tell me in plain words what you changed.
Show me how to check / step by step
How to check it's fixed: Paste this into the AI coding tool you build with after the fix:
Check the fix you just made for: error messages show visitors how your app works inside. Find what a visitor sees when the request in `app/api/webhooks/stripe/route.ts` (around line 16) fails. Tell me if it is a short general message or the full error text. Change nothing. Answer Pass or Fail, with one plain sentence why.
  • Details for a developer: C019 in the technical report

Stuck on this fix? Ask Nordik's AI about this item: say what your AI coding tool did or showed, and get a short answer for this fix (up to 3 questions). In your own report this is a link to that item's help page.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

Worth a look10. Your app does not turn on the browser's safety settings

What this means for you:

Browsers have safety settings a site can turn on, for example to stop other sites from showing your pages inside theirs. Your app does not turn them on.

How urgent:
Worth a look
How long it takes:
usually about 5 minutes (one settings change, then the check)
Fix prompt: Paste this into the AI coding tool you build with as-is. You don't need to understand it.
A security audit of my app found a problem. Please fix it. In `next.config.mjs` (around line 2) the app sets no security headers. Add the usual ones for every page (Content-Security-Policy, X-Frame-Options or frame-ancestors, X-Content-Type-Options, Referrer-Policy, Strict-Transport-Security), and keep the app working. Keep the behaviour for normal users the same, and tell me in plain words what you changed.
Show me how to check / step by step
How to check it's fixed: Paste this into the AI coding tool you build with after the fix:
Check the fix you just made for: your app does not turn on the browser's safety settings. List the safety settings (security headers) my pages send now. Tell me if any of the ones the fix added are missing. Change nothing. Answer Pass or Fail, with one plain sentence why.
  • Details for a developer: C020 in the technical report

Stuck on this fix? Ask Nordik's AI about this item: say what your AI coding tool did or showed, and get a short answer for this fix (up to 3 questions). In your own report this is a link to that item's help page.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

Fix this week11. Some packages your app uses have known problems

What this means for you:

Your app uses old versions of 5 packages (next, zod, qs, @supabase/auth-js and cookie) that have public warnings about weak spots. We did not check whether your app uses the weak parts. One prompt updates them all.

How urgent:
Fix this week
How long it takes:
usually an hour or more (package updates, then a click through your whole app)
Fix prompt: Paste this into the AI coding tool you build with as-is. You don't need to understand it.
A security audit of my app found a problem. Please fix it. In `package-lock.json` the app uses package versions that have public security warnings. The lowest versions that clear the warnings: next 15.5.29, zod 4.6.6, qs 6.16.1, @supabase/auth-js 2.70.0, cookie 0.7.0. Install the lowest version listed for each package and stay on the major version the app uses now: do not move to a newer major release (for example from version 15 to 16) only because it exists. Only next 14.2.3 to 15.5.29 and zod 3.23.8 to 4.6.6 need a new major version, because no fixed version exists in the major version the app uses now: follow their official migration guide and change the code that uses them. Development-only tools with warnings (such as the build tool) count too: when no fixed version exists in their current major, move them to the lowest fixed major and keep the build working. Do not swap a package for a different one. When you are done, check the packages for security warnings again and make sure none of these, and no new ones, are left. Make sure the lockfile is updated and the app still builds and works. Keep the behaviour for normal users the same, and tell me in plain words what you changed.
Show me how to check / step by step
How to check it's fixed: Also click through your app yourself to see that it still works. Paste this into the AI coding tool you build with after the fix:
Check the fix you just made for: some packages your app uses have known problems. Tell me which version of each package the app uses now. Each should be at least: next 15.5.29, zod 4.6.6, qs 6.16.1, @supabase/auth-js 2.70.0, cookie 0.7.0. Then make sure the app still builds. Change nothing. Answer Pass or Fail, with one plain sentence why.

Stuck on this fix? Ask Nordik's AI about this item: say what your AI coding tool did or showed, and get a short answer for this fix (up to 3 questions). In your own report this is a link to that item's help page.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

To check12. To check: your database admin key is used in the wrong place

What this means for you:

We could not settle this one from the code alone. If it is real, this is what it means. The admin key to your database can read and change everything, and it skips all of your database rules. Used in the wrong place, it lets anyone who reaches that part of your app read or change any of your data.

How urgent:
Fix this week
How long it takes:
usually about 15 minutes (a code change in one file, then the check)
Fix prompt: Paste this into the AI coding tool you build with as-is. You don't need to understand it.
A security audit of my app found a problem. Please fix it. First check whether this is a real problem in my code. If it is not, tell me why and change nothing. In `components/WorkspaceStats.tsx` (around line 11) the code uses the Supabase admin key (the service role key), which skips every database rule, to answer requests from visitors. Change this code to use the normal Supabase client with the signed-in user's session, so the database rules apply. If the code does not check who is signed in, add that check first and turn away anyone who is not allowed. Keep the admin key only for trusted jobs on the server. Also scope every read and write here to the signed-in owner (user_id = auth.uid() or the equivalent), both in the database rules (RLS) and in the server query. An owner may change only the fields they should edit, never status, role, payment or owner fields. Any linked row the request names (such as a client, a child or a booking) must belong to the signed-in owner too, in the database rules as well as in the code. Any error you send back must be a short general message, never the raw error text. Do not add a SECURITY DEFINER database function. A database rule you add must not let users change status, role, payment or owner fields, or link a row to data of another user. Keep the behaviour for normal users the same, and tell me in plain words what you changed.
Show me how to check / step by step
How to check it's fixed: Paste this into the AI coding tool you build with after the fix:
Read the code and tell me whether this possible problem is still there: your database admin key is used in the wrong place. Do not judge any fix, and this is you reading the code, not a test of the running app. For `components/WorkspaceStats.tsx` (around line 11), tell me whether someone who is not signed in could still get data back, and whether that code still uses the database admin key to answer visitors. Pass = the problem is gone or not present; Fail = it is still there. Change nothing. Answer Pass or Fail, with one plain sentence why.
  • Details for a developer: C014 in the technical report

Stuck on this fix? Ask Nordik's AI about this item: say what your AI coding tool did or showed, and get a short answer for this fix (up to 3 questions). In your own report this is a link to that item's help page.

Confirmed findings

A finding that has the same root cause as another is listed directly under that root finding, with a smaller heading, and is counted once.

criticalC005: GET /api/export reads a notes with the service-role client by an id from the request, after only a login checkapp/api/export/route.ts:20
Severity:
Critical
The same root cause is also reported at C009, C031.
Check families:
service-role, request-trust, object-scoping (the first is the main one)
Location:
app/api/export/route.ts:20
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
.eq('workspace_id', workspaceId), line SHA-256 a971e190691c2bb7f9b6f4d9e497c1e392fbbc48b6aa8e0227258e01178b2dd6
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The export route checks only that someone is signed in, then uses the service-role client to return every note in whatever workspaceId the caller puts in the URL, with no membership check. (relied on app/api/export/route.ts:6-24)
Second reviewer:
The export route only checks that someone is signed in (line 11). It then uses the service-role client, which ignores row-level security, to return every note of whatever workspaceId the query string names, so any signed-in user can download another organisation's private notes. (relied on app/api/export/route.ts:6-30)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/api/export/route.ts at line 20.
  3. Compare with the masked excerpt .eq('workspace_id', workspaceId) (the line's SHA-256 is a971e190691c2bb7f9b6f4d9e497c1e392fbbc48b6aa8e0227258e01178b2dd6).

Limitations: Read from the source: identity checks, helpers and middleware are followed through imports of tracked files only. A check inside a package, a custom check that is not recognised, or a protection added by the host or a proxy is not seen. No request was made to the app.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC031: Flagged by the AI: "A public share link reveals the hidden workspace id through a second note route, and the export route then dumps all of that workspace's pr…"app/api/notes/[id]/route.ts:11
Found by AI (exploit-path pass):
an exploit path proposed by an AI reading the code in an extra pass, not by a rule-based check, and then confirmed.
Severity:
High
Same root cause as C005 (listed above, which is confirmed too): the AI reviewers judged this the same problem seen at another place, so it is counted once.
Check families:
service-role, request-trust, object-scoping (the first is the main one)
Location:
app/api/notes/[id]/route.ts:11
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
export async function GET(_request: Request, { params }: { params: { id: string } }) { ⏎ const supabase = createClient(); ⏎ const { data, error } = await supabase.from('notes').select('*').eq('id', params.id).single(); ⏎ if (error || !data) return NextResponse.json({ error: 'Not found' }, { status:, line SHA-256 3ea4b4d87a22d558099a7653c5d6e62960c9a9dde6e87ec3da982dabc33be35b
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
Every step works: the policy lets anyone read a public note's full row, the GET note route uses select('*') and so returns its workspace_id, and the export route then returns every note in that workspace through the service-role client after only a sign-in check. (relied on app/api/export/route.ts:6-24)
Second reviewer:
Every step works: the notes GET route has no sign-in check, and the public-notes policy lets anyone read a shared note's full row with select('*'), which includes workspace_id. Any signed-in user can then pass that id to /api/export, which uses the service-role client with no membership check and returns all of the workspace's private notes; the missing export check is the one reported in C005. (relied on app/api/notes/[id]/route.ts:11-16)

Reproduction:

  1. Step 1: open app/api/public/notes/[id]/route.ts at line 8. The share link puts a note id in public hands, and this route deliberately leaves out workspace_id.
  2. Step 2: open app/api/notes/[id]/route.ts at line 11. The same id sent to the internal route, which has no sign-in check, returns every column, including workspace_id and author_id.
  3. Step 3: open supabase/migrations/0001_init.sql at line 128. Row security lets anyone read the full public row, so the previous step's select('*') succeeds and the victim's workspace id is exposed.
  4. Step 4: open app/api/export/route.ts at line 13. The leaked workspace id goes straight into the export, which uses the service-role client.
  5. Step 5: open app/api/export/route.ts at line 17. Every note in the victim workspace, private ones included, is returned to the attacker.
  6. Follow the path as any signed-in user, in a local copy of the app or by tracing it by hand. It is shown only if every step is reachable and no check on the way stops it; if one does, the finding does not apply.

Limitations: Found by AI (exploit-path pass): an AI read a bounded set of files and proposed this, and it did not follow other files, so code it did not read could change the answer. The finding's state or verdict says how far it was checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC009: GET /api/export reads a notes by an id from the request, with no owner comparisonapp/api/export/route.ts:20
Severity:
High
Same root cause as C005 (listed above, which is confirmed too): the AI reviewers judged this the same problem seen at another place, so it is counted once.
Check families:
service-role, request-trust, object-scoping (the first is the main one)
Location:
app/api/export/route.ts:20
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
.eq('workspace_id', workspaceId), line SHA-256 a971e190691c2bb7f9b6f4d9e497c1e392fbbc48b6aa8e0227258e01178b2dd6
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The export query filters only by the workspaceId from the URL and uses the service-role client, so nothing ties the notes to the caller. (relied on app/api/export/route.ts:13-21)
Second reviewer:
This is the same export route reading notes through the service-role client by a workspaceId from the query string with no membership check, already reported as C005. (relied on app/api/export/route.ts:11-21)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/api/export/route.ts at line 20.
  3. Compare with the masked excerpt .eq('workspace_id', workspaceId) (the line's SHA-256 is a971e190691c2bb7f9b6f4d9e497c1e392fbbc48b6aa8e0227258e01178b2dd6).

Limitations: Read from the source: identity checks, helpers and middleware are followed through imports of tracked files only. A check inside a package, a custom check that is not recognised, or a protection added by the host or a proxy is not seen. No request was made to the app.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC023: Direct dependency next pulls in 2 vulnerable packages (next@14.2.3 itself, postcss@8.4.31); upgrade target: next 15.5.29package-lock.json:621
Severity:
High (lowered from Critical by the report's package rule: the public advisory is rated Critical for the package in general, and this audit did not check whether the app uses the weak part, so it is listed as High and still to be updated this week)
Location:
package-lock.json:621
Status:
Confirmed (OSV evidence): the evidence is present at this revision.
Finding state:
Reproduced: the deterministic checks found the same evidence again in the files at this revision. No code was run.
Evidence:
next: next@14.2.3 itself, postcss@8.4.31, line SHA-256 0aa341d4f0523a3cf6dc9ce8ac901d7a59d3aa35589977cdb3910fe7b2e79dfb
Verdict reached by:
OSV evidence

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open package-lock.json at line 621.
  3. Compare with the masked excerpt next: next@14.2.3 itself, postcss@8.4.31 (the line's SHA-256 is 0aa341d4f0523a3cf6dc9ce8ac901d7a59d3aa35589977cdb3910fe7b2e79dfb).

Limitations: The versions locked in the lockfile (package-lock.json, yarn.lock or pnpm-lock.yaml) were matched against a downloaded OSV.dev advisory snapshot, offline, and grouped under the direct dependency whose lockfile dependency graph pulls them in; whether the app uses the vulnerable code path was not checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC025: Direct dependency zod pulls in 1 vulnerable package (zod@3.23.8 itself); upgrade target: zod 4.6.6package-lock.json:962
Severity:
High
Location:
package-lock.json:962
Status:
Confirmed (OSV evidence): the evidence is present at this revision.
Finding state:
Reproduced: the deterministic checks found the same evidence again in the files at this revision. No code was run.
Evidence:
zod: zod@3.23.8 itself, line SHA-256 56b3b27b0184747f4fd4cb220854973aea2ffa0950fdc1197c1aff12347aa799
Verdict reached by:
OSV evidence

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open package-lock.json at line 962.
  3. Compare with the masked excerpt zod: zod@3.23.8 itself (the line's SHA-256 is 56b3b27b0184747f4fd4cb220854973aea2ffa0950fdc1197c1aff12347aa799).

Limitations: The versions locked in the lockfile (package-lock.json, yarn.lock or pnpm-lock.yaml) were matched against a downloaded OSV.dev advisory snapshot, offline, and grouped under the direct dependency whose lockfile dependency graph pulls them in; whether the app uses the vulnerable code path was not checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC004: Policy lets any signed-in user insert public.workspace_memberssupabase/migrations/0001_init.sql:115
Severity:
High
The same root cause is also reported at C015.
Location:
supabase/migrations/0001_init.sql:115
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
create policy "Signed-in users can add members", line SHA-256 818a696a1ac5004245d2737298ec967987976cffaf63a24dc6883d8c2248ad43
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The workspace_members insert policy only checks that the caller is signed in, so any user can add themselves (even as owner) to any workspace and then read all of its notes. (relied on supabase/migrations/0001_init.sql:115-117)
Second reviewer:
The insert policy only checks that auth.uid() is not null, so any signed-in user can use the public API to insert a workspace_members row naming any workspace, themselves as the user and even the role 'owner'; they then pass is_workspace_member and can read that workspace's private notes. (relied on supabase/migrations/0001_init.sql:115-126)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open supabase/migrations/0001_init.sql at line 115.
  3. Compare with the masked excerpt create policy "Signed-in users can add members" (the line's SHA-256 is 818a696a1ac5004245d2737298ec967987976cffaf63a24dc6883d8c2248ad43).

Limitations: Read from the rules, policy or bucket files committed in the repository only; rules changed in a console or dashboard are not seen, and whether the exposure is intended depends on what the path or table holds. No request was made to the app.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC015: Policy Signed-in users can add members on workspace_members only checks that the caller is signed insupabase/migrations/0001_init.sql:115
Severity:
High
Same root cause as C004 (listed above, which is confirmed too): the AI reviewers judged this the same problem seen at another place, so it is counted once.
Location:
supabase/migrations/0001_init.sql:115
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
create policy "Signed-in users can add members", line SHA-256 818a696a1ac5004245d2737298ec967987976cffaf63a24dc6883d8c2248ad43
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The membership insert policy's with check is only auth.uid() is not null, so nothing ties the added row to the caller or to an owner of the workspace. (relied on supabase/migrations/0001_init.sql:115-117)
Second reviewer:
Row-level security is on for workspace_members and no revoke removes the default insert grant, so any signed-in user can use the public API to insert a row with any workspace_id, their own user_id and role 'owner'; is_workspace_member then treats them as a member, and they can read that workspace's private notes and member list (a workspace id can be found through a public note, whose row the ano… (relied on supabase/migrations/0001_init.sql:84-126)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open supabase/migrations/0001_init.sql at line 115.
  3. Compare with the masked excerpt create policy "Signed-in users can add members" (the line's SHA-256 is 818a696a1ac5004245d2737298ec967987976cffaf63a24dc6883d8c2248ad43).

Limitations: Read from the SQL files committed under supabase/ only; row-level security or policies changed in the Supabase dashboard, and SQL that is not committed, are not seen. No request was made to the database.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC006: GET /api/admin/users is an administrative-looking route whose only role check reads user_metadata, which every signed-in user can editapp/api/admin/users/route.ts:10
Severity:
High
The same root cause is also reported at C007.
Check families:
service-role, route-authorization (the first is the main one)
Location:
app/api/admin/users/route.ts:10
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
} = await supabase.auth.getUser();, line SHA-256 ee5762314b4530208fca947aacffcc8d5f40b6293f6fe9ca3b35b7a38b7e1a70
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The admin user list is guarded only by user_metadata.is_admin, which any signed-in user can set on their own account, so anyone can list every account's email and sign-in dates through the service-role client. (relied on app/api/admin/users/route.ts:7-28)
Second reviewer:
The admin route's only role test reads user_metadata.is_admin. Any signed-in user can set that flag on their own account with auth.updateUser, then call this route, and the service-role listUsers call returns every account's email and sign-in dates. (relied on app/api/admin/users/route.ts:7-28)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/api/admin/users/route.ts at line 10.
  3. Compare with the masked excerpt } = await supabase.auth.getUser(); (the line's SHA-256 is ee5762314b4530208fca947aacffcc8d5f40b6293f6fe9ca3b35b7a38b7e1a70).
  4. The finding also involves app/api/admin/users/route.ts:18.

Limitations: Read from the source: identity checks, helpers and middleware are followed through imports of tracked files only. A check inside a package, a custom check that is not recognised, or a protection added by the host or a proxy is not seen. No request was made to the app.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC007: A role decision reads user_metadata, which every signed-in user can editapp/api/admin/users/route.ts:13
Severity:
High
Same root cause as C006 (listed above, which is confirmed too): the AI reviewers judged this the same problem seen at another place, so it is counted once.
Check families:
service-role, route-authorization, request-trust (the first is the main one)
Location:
app/api/admin/users/route.ts:13
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
if (user.user_metadata?.is_admin !== true) {, line SHA-256 bc21dfe22811ba9a3cb290fd3331790ce08f82bbe54d8454e1e1c80c648d596d
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The admin decision reads is_admin from user_metadata, which users can edit themselves, rather than from app_metadata or a roles table. (relied on app/api/admin/users/route.ts:11-18)
Second reviewer:
The check at line 13 trusts user_metadata, which users can edit themselves, so anyone can give themselves is_admin and list all users' emails; this is the same defect as C006. (relied on app/api/admin/users/route.ts:11-18)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/api/admin/users/route.ts at line 13.
  3. Compare with the masked excerpt if (user.user_metadata?.is_admin !== true) { (the line's SHA-256 is bc21dfe22811ba9a3cb290fd3331790ce08f82bbe54d8454e1e1c80c648d596d).

Limitations: Read from the source: identity checks, helpers and middleware are followed through imports of tracked files only. A check inside a package, a custom check that is not recognised, or a protection added by the host or a proxy is not seen. No request was made to the app.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC008: POST /api/checkout sends unit_amount, taken from the request, to the payment providerapp/api/checkout/route.ts:36
Severity:
High
The same root cause is also reported at C032.
Location:
app/api/checkout/route.ts:36
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
unit_amount: input.unitAmount,, line SHA-256 ef01ada2f74f809631226e4c6ffd80af0f0c9365b7b5b003140c3bc712991a44
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
unitAmount comes from the request body with only a minimum of 0 and no maximum, and it goes straight to Stripe as the price, so a buyer can pay nothing or a token amount. (relied on app/api/checkout/route.ts:6-44)
Second reviewer:
The schema accepts any unitAmount of 0 or more (line 11), and the handler sends it to Stripe as the per-seat price without looking it up in the plans table, so any signed-in user can pick their own price, including zero. (relied on app/api/checkout/route.ts:6-44)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/api/checkout/route.ts at line 36.
  3. Compare with the masked excerpt unit_amount: input.unitAmount, (the line's SHA-256 is ef01ada2f74f809631226e4c6ffd80af0f0c9365b7b5b003140c3bc712991a44).

Limitations: A heuristic reading of one handler: it cannot tell whether the value is recomputed or checked elsewhere, so this is never confirmed on its own. No request was made to the app.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC032: Flagged by the AI: "The buyer sets their own price at checkout, and the payment webhook then grants the full Team plan without checking what was paid."app/api/webhooks/stripe/route.ts:21
Found by AI (exploit-path pass):
an exploit path proposed by an AI reading the code in an extra pass, not by a rule-based check, and then confirmed.
Severity:
High
Same root cause as C008 (listed above, which is confirmed too): the AI reviewers judged this the same problem seen at another place, so it is counted once.
Location:
app/api/webhooks/stripe/route.ts:21
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
if (event.type === 'checko…(26 chars)') { ⏎ const session = event.data.object as Stripe.Checkout.Session; ⏎ await admin.from('subscriptions').upsert({ ⏎ workspace_id: session.client_reference_id, ⏎ stripe_customer_id: session.customer as string,, line SHA-256 7daf395ad948c5519ee20fe7413ce6e18cf0780d445ae03499a01d2cf4ea65d7
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The buyer picks the per-seat price (zero is accepted and there is no maximum), Stripe is charged that price, and the signed webhook grants an active Team plan without comparing what was paid with the plan's real price. (relied on app/api/webhooks/stripe/route.ts:21-29)
Second reviewer:
Any signed-in user can send unitAmount 0, because the schema only requires min(0), and Stripe is charged that amount. The signature-verified webhook then upserts status 'active' and plan 'team' without comparing what was paid with the 800-cent plan price, so the paid plan is free; the root cause is the caller-chosen price reported in C008. (relied on app/api/webhooks/stripe/route.ts:21-30)

Reproduction:

  1. Step 1: open app/api/checkout/route.ts at line 11. The caller chooses the per-seat price, and 0 is accepted.
  2. Step 2: open app/api/checkout/route.ts at line 36. Stripe creates a $0 (or 1-cent) subscription session, which the attacker completes.
  3. Step 3: open app/api/webhooks/stripe/route.ts at line 21. The signed webhook arrives, and the handler never checks amount_total or the price against the plans table (800 cents).
  4. Step 4: open app/api/webhooks/stripe/route.ts at line 26. The workspace is set to an active 'team' plan, whatever was actually paid.
  5. Follow the path as any signed-in user, in a local copy of the app or by tracing it by hand. It is shown only if every step is reachable and no check on the way stops it; if one does, the finding does not apply.

Limitations: Found by AI (exploit-path pass): an AI read a bounded set of files and proposed this, and it did not follow other files, so code it did not read could change the answer. The finding's state or verdict says how far it was checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC011: PATCH /api/notes/[id] changes a notes with the service-role client by an id from the request, after only a login checkapp/api/notes/[id]/route.ts:34
Severity:
High
The same root cause is also reported at C012.
Check families:
service-role, request-trust, object-scoping (the first is the main one)
Location:
app/api/notes/[id]/route.ts:34
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
.eq('id', params.id), line SHA-256 a4aa32484f405fba4f2f88b08509b226991faee7b680a8b8b6c41e7b2f4d1ebb
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
PATCH checks only that someone is signed in, then uses the service-role client to update whichever note id is in the URL, so any user can rewrite any note in any workspace. (relied on app/api/notes/[id]/route.ts:20-39)
Second reviewer:
After only a sign-in check (line 25), PATCH uses the service-role client to update the title and body of whatever note id is in the URL, so any signed-in user can overwrite notes in other organisations' workspaces; note ids leak through public share links and the open GET route. (relied on app/api/notes/[id]/route.ts:20-40)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/api/notes/[id]/route.ts at line 34.
  3. Compare with the masked excerpt .eq('id', params.id) (the line's SHA-256 is a4aa32484f405fba4f2f88b08509b226991faee7b680a8b8b6c41e7b2f4d1ebb).

Limitations: Read from the source: identity checks, helpers and middleware are followed through imports of tracked files only. A check inside a package, a custom check that is not recognised, or a protection added by the host or a proxy is not seen. No request was made to the app.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

highC012: PATCH /api/notes/[id] updates a notes by an id from the request, with no owner comparisonapp/api/notes/[id]/route.ts:34
Severity:
High
Same root cause as C011 (listed above, which is confirmed too): the AI reviewers judged this the same problem seen at another place, so it is counted once.
Check families:
service-role, request-trust, object-scoping (the first is the main one)
Location:
app/api/notes/[id]/route.ts:34
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
.eq('id', params.id), line SHA-256 a4aa32484f405fba4f2f88b08509b226991faee7b680a8b8b6c41e7b2f4d1ebb
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The update is filtered only by the note id from the URL and runs with the service-role client, with no author or membership comparison. (relied on app/api/notes/[id]/route.ts:27-36)
Second reviewer:
This is the same PATCH handler updating any note by id through the service-role client with no owner or membership check, already reported as C011. (relied on app/api/notes/[id]/route.ts:20-40)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/api/notes/[id]/route.ts at line 34.
  3. Compare with the masked excerpt .eq('id', params.id) (the line's SHA-256 is a4aa32484f405fba4f2f88b08509b226991faee7b680a8b8b6c41e7b2f4d1ebb).

Limitations: Read from the source: identity checks, helpers and middleware are followed through imports of tracked files only. A check inside a package, a custom check that is not recognised, or a protection added by the host or a proxy is not seen. No request was made to the app.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

mediumC001: CORS allows any origin together with credentialsapp/api/public/notes/[id]/route.ts:17
Severity:
Medium (lowered from High by the second reviewer, who said: This route only returns notes marked public, and its answer does not depend on who is signed in, so a credentialed cross-site read gains nothing extra today.)
The same root cause is also reported at C013.
Location:
app/api/public/notes/[id]/route.ts:17
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Reproduced: the deterministic checks found the same evidence again in the files at this revision. No code was run.
Evidence:
'Access-Control-Allow-Origin': origin,, line SHA-256 6d7d20e81486c17a9f1a39faf5c5e57daebe90f07d516ef0c9dbb0285a315290
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The public note route copies the caller's Origin header into the allowed-origin header (falling back to *) and also allows credentials, so it tells browsers that any site may read credentialed responses. (relied on app/api/public/notes/[id]/route.ts:15-23)
Second reviewer:
The route copies the caller's Origin header into Access-Control-Allow-Origin (lines 15 and 17) and also sends Access-Control-Allow-Credentials 'true' (line 18), so it tells browsers that any website may read its responses with the visitor's cookies. (relied on app/api/public/notes/[id]/route.ts:15-23)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/api/public/notes/[id]/route.ts at line 17.
  3. Compare with the masked excerpt 'Access-Control-Allow-Origin': origin, (the line's SHA-256 is 6d7d20e81486c17a9f1a39faf5c5e57daebe90f07d516ef0c9dbb0285a315290).

Limitations: Static pattern in the source; the CORS policy the running app actually serves was not observed.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

mediumC013: CORS answers with whatever Origin the request sends, and allows credentialsapp/api/public/notes/[id]/route.ts:17
Severity:
Medium (lowered from High by the second reviewer, who said: The query only returns notes marked public (.eq('is_public', true)), which anyone can read anyway, so reading the answer with the visitor's cookies currently reveals nothing private.)
Same root cause as C001 (listed above, which is confirmed too): the AI reviewers judged this the same problem seen at another place, so it is counted once.
Check families:
config-headers-errors, request-trust (the first is the main one)
Location:
app/api/public/notes/[id]/route.ts:17
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
'Access…(27 chars)': origin,, line SHA-256 6d7d20e81486c17a9f1a39faf5c5e57daebe90f07d516ef0c9dbb0285a315290
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The route copies whatever Origin the request sends into the allowed-origin header without checking it against a list, while also allowing credentials. (relied on app/api/public/notes/[id]/route.ts:15-20)
Second reviewer:
The route copies whatever Origin the caller sends into Access-Control-Allow-Origin (line 17) and also sends Access-Control-Allow-Credentials: true (line 18), so any website can read this route's answers using a signed-in visitor's cookies. (relied on app/api/public/notes/[id]/route.ts:8-23)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/api/public/notes/[id]/route.ts at line 17.
  3. Compare with the masked excerpt 'Access…(27 chars)': origin, (the line's SHA-256 is 6d7d20e81486c17a9f1a39faf5c5e57daebe90f07d516ef0c9dbb0285a315290).

Limitations: Static reading of source and configuration; headers added by the host, a CDN or a proxy, and the error text the running app actually returns, were not observed.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

mediumC002: Redirect to a target taken from the request, with no same-site or allow-list check in the handlerapp/auth/callback/route.ts:14
Severity:
Medium
Check families:
request-trust, config-headers-errors (the first is the main one)
Location:
app/auth/callback/route.ts:14
Status:
Confirmed (AI reviewer): the evidence is present at this revision.
Finding state:
Reproduced: the deterministic checks found the same evidence again in the files at this revision. No code was run.
Evidence:
return NextResponse.redirect(new URL(next, origin));, line SHA-256 9e2f9bec765ab719f81d86324c5fbdeb5b6d6c17b3a7f3faf9a4376f995e8adb
Verdict reached by:
AI reviewer
AI reviewer:
The 'next' parameter goes into new URL(next, origin) without checking that it is a local path, so a value such as a full outside address or one starting with // sends a freshly signed-in user to another site. (relied on app/auth/callback/route.ts:6-15)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/auth/callback/route.ts at line 14.
  3. Compare with the masked excerpt return NextResponse.redirect(new URL(next, origin)); (the line's SHA-256 is 9e2f9bec765ab719f81d86324c5fbdeb5b6d6c17b3a7f3faf9a4376f995e8adb).

Limitations: Static pattern within one file; input from other files, framework defaults and runtime behaviour were not traced or observed.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

mediumC003: STRIPE_SECRET_KEY falls back to a hard-coded defaultlib/stripe.ts:4
Severity:
Medium
Location:
lib/stripe.ts:4
Status:
Confirmed (AI reviewer): the text is present at this revision. It was not tested against any live service.
Finding state:
Reproduced: the deterministic checks found the same evidence again in the files at this revision. No code was run.
Evidence:
STRIPE_SECRET_KEY || sk_tes…(44 chars), line SHA-256 ccc42474e7b11501cbbcd828eed57b5acb5573cc489ea9ac2b5aa440a048edaf
Verdict reached by:
AI reviewer
AI reviewer:
If STRIPE_SECRET_KEY is unset, the Stripe client silently uses a test secret key hard-coded in the source, a weak default that should fail loudly instead. (relied on lib/stripe.ts:3-6)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open lib/stripe.ts at line 4.
  3. Compare with the masked excerpt STRIPE_SECRET_KEY || sk_tes…(44 chars) (the line's SHA-256 is ccc42474e7b11501cbbcd828eed57b5acb5573cc489ea9ac2b5aa440a048edaf).

Limitations: Only the fallback literal was seen at revision c64304259df8fd38f3e766838c7012f0a656403c; whether the variable is set where the app is deployed is unknown. No credential was tested against any live service.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

mediumC024: Direct dependency stripe pulls in 1 vulnerable package (qs@6.16.0); upgrade target: qs 6.16.1package-lock.json:857
Severity:
Medium
Location:
package-lock.json:857
Status:
Confirmed (OSV evidence): the evidence is present at this revision.
Finding state:
Reproduced: the deterministic checks found the same evidence again in the files at this revision. No code was run.
Evidence:
stripe: qs@6.16.0, line SHA-256 1572776f6132a7fb582b6149b53747d286e923e96cbaa62d9ac4c56e694027bc
Verdict reached by:
OSV evidence

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open package-lock.json at line 857.
  3. Compare with the masked excerpt stripe: qs@6.16.0 (the line's SHA-256 is 1572776f6132a7fb582b6149b53747d286e923e96cbaa62d9ac4c56e694027bc).

Limitations: The versions locked in the lockfile (package-lock.json, yarn.lock or pnpm-lock.yaml) were matched against a downloaded OSV.dev advisory snapshot, offline, and grouped under the direct dependency whose lockfile dependency graph pulls them in; whether the app uses the vulnerable code path was not checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

mediumC027: Flagged by the AI: "The note's author is taken from the request body instead of the signed-in user, so anyone can create notes that look like another person wr…"app/api/notes/route.ts:47
Found by AI:
proposed by an AI reading the code, not by a rule-based check, and then confirmed.
Severity:
Medium
The same root cause is also reported at C028.
Check families:
request-trust, object-scoping (the first is the main one)
Location:
app/api/notes/route.ts:47
Status:
Confirmed (AI reviewer): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
author_id: input.authorId ?? user.id,, line SHA-256 ca193bcd03ea9c07d1b2f8dda57c586117fddfc391f0da0a54895f270ec4fa7f
Verdict reached by:
AI reviewer
AI reviewer:
The note's author is whatever authorId the caller sends, and the insert policy only checks workspace membership, so a member can create notes credited to a teammate that only that teammate can then edit or delete. (relied on app/api/notes/route.ts:38-52)

Reproduction:

  1. Open app/api/notes/route.ts at this revision and go to line 47.
  2. Read the quoted line and the code around it. The problem to look for: The note's author is taken from the request body instead of the signed-in user, so anyone can create notes that look like another person wrote them, and those notes can then be edited or deleted only as that other person.
  3. Follow the code that reaches this line (the route, the caller or the setting that uses it) and note every check on the way: login, validation, escaping, permission.
  4. Try an input or request that reaches this line, in a local copy of the app or by tracing it by hand. The problem is shown if it gets through unchecked and the result is the one described above; if a check on the way stops it, the finding does not apply.

Limitations: Found by AI: an AI read a bounded set of files and proposed this, and it did not follow other files, so code it did not read could change the answer. The finding's state or verdict says how far it was checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

mediumC028: Flagged by the AI: "The insert policy checks that the caller belongs to the workspace but never checks that author_id is the caller, so the database accepts no…"supabase/migrations/0001_init.sql:132
Found by AI:
proposed by an AI reading the code, not by a rule-based check, and then confirmed.
Severity:
Medium
Same root cause as C027 (listed above, which is confirmed too): the AI reviewers judged this the same problem seen at another place, so it is counted once.
Check families:
request-trust, object-scoping, database-policy (the first is the main one)
Location:
supabase/migrations/0001_init.sql:132
Status:
Confirmed (AI reviewer): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
create policy "Members can create notes" ⏎ on public.notes for insert ⏎ with check (public.is_workspace_member(workspace_id));, line SHA-256 d9bdf22ff04e2dceb49e4eb722636164c36f2aa3a7ab9ab529449d826018bf9e
Verdict reached by:
AI reviewer
AI reviewer:
The insert policy checks only that the caller belongs to the workspace and never that author_id equals auth.uid(), so the database accepts notes credited to any user. (relied on supabase/migrations/0001_init.sql:132-134)

Reproduction:

  1. Open supabase/migrations/0001_init.sql at this revision and go to line 132.
  2. Read the quoted line and the code around it. The problem to look for: The insert policy checks that the caller belongs to the workspace but never checks that author_id is the caller, so the database accepts notes credited to any user.
  3. Follow the code that reaches this line (the route, the caller or the setting that uses it) and note every check on the way: login, validation, escaping, permission.
  4. Try an input or request that reaches this line, in a local copy of the app or by tracing it by hand. The problem is shown if it gets through unchecked and the result is the one described above; if a check on the way stops it, the finding does not apply.

Limitations: Found by AI: an AI read a bounded set of files and proposed this, and it did not follow other files, so code it did not read could change the answer. The finding's state or verdict says how far it was checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

mediumC029: Flagged by the AI: "The workspace to upgrade comes from the request and is never checked against the caller's memberships, so the webhook will change the billi…"app/api/checkout/route.ts:30
Found by AI:
proposed by an AI reading the code, not by a rule-based check, and then confirmed.
Severity:
Medium
The same root cause is also reported at C033.
Check families:
object-scoping, request-trust (the first is the main one)
Location:
app/api/checkout/route.ts:30
Status:
Confirmed (AI reviewer): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
client_reference_id: input.workspaceId,, line SHA-256 26b000b1e8efe126b8034abbe9d608edc513c8150c200b02dc60f65a5246683c
Verdict reached by:
AI reviewer
AI reviewer:
Checkout accepts any workspace id after only a sign-in check, and the webhook writes the subscription for that id, so a user can change the billing state of a workspace they are not a member of. (relied on app/api/checkout/route.ts:15-44)

Reproduction:

  1. Open app/api/checkout/route.ts at this revision and go to line 30.
  2. Read the quoted line and the code around it. The problem to look for: The workspace to upgrade comes from the request and is never checked against the caller's memberships, so the webhook will change the billing state of any workspace whose id the caller supplies.
  3. Follow the code that reaches this line (the route, the caller or the setting that uses it) and note every check on the way: login, validation, escaping, permission.
  4. Try an input or request that reaches this line, in a local copy of the app or by tracing it by hand. The problem is shown if it gets through unchecked and the result is the one described above; if a check on the way stops it, the finding does not apply.

Limitations: Found by AI: an AI read a bounded set of files and proposed this, and it did not follow other files, so code it did not read could change the answer. The finding's state or verdict says how far it was checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

mediumC033: Flagged by the AI: "Checking out for someone else's workspace overwrites their billing record with the attacker's subscription, so the attacker can cancel it a…"app/api/webhooks/stripe/route.ts:23
Found by AI (exploit-path pass):
an exploit path proposed by an AI reading the code in an extra pass, not by a rule-based check, and then confirmed.
Severity:
Medium
Same root cause as C029 (listed above, which is confirmed too): the AI reviewers judged this the same problem seen at another place, so it is counted once.
Check families:
object-scoping, request-trust (the first is the main one)
Location:
app/api/webhooks/stripe/route.ts:23
Status:
Confirmed (AI reviewer): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
await admin.from('subscriptions').upsert({ ⏎ workspace_id: session.client_reference_id, ⏎ stripe_customer_id: session.customer as string, ⏎ stripe_subscription_id: session.subscription as string, ⏎ status: 'active',, line SHA-256 9b06647a79baa38b547a87f5e561a92b7a59056f4931a99018d4f5d05a630774
Verdict reached by:
AI reviewer
AI reviewer:
An attacker can check out for another team's workspace id; the webhook then overwrites that team's single subscription row, keyed on workspace_id, with the attacker's subscription id, and when the attacker cancels, the victim's row is marked canceled. (relied on app/api/webhooks/stripe/route.ts:21-35)

Reproduction:

  1. Step 1: open app/api/checkout/route.ts at line 30. The attacker starts a $0 checkout naming the victim's workspace id (for example, one leaked through a share link).
  2. Step 2: open supabase/migrations/0002_billing_and_audit.sql at line 3. Each workspace has one subscription row, keyed on workspace_id.
  3. Step 3: open app/api/webhooks/stripe/route.ts at line 23. The upsert replaces the victim's customer and subscription ids with the attacker's, cutting the victim's real paid subscription off from their workspace.
  4. Step 4: open app/api/webhooks/stripe/route.ts at line 32. The attacker cancels their own subscription, and the victim workspace's row is marked canceled while the victim keeps being charged.
  5. Follow the path as any signed-in user, in a local copy of the app or by tracing it by hand. It is shown only if every step is reachable and no check on the way stops it; if one does, the finding does not apply.

Limitations: Found by AI (exploit-path pass): an AI read a bounded set of files and proposed this, and it did not follow other files, so code it did not read could change the answer. The finding's state or verdict says how far it was checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

mediumC016: Supabase table audit_events is created without row-level securitysupabase/migrations/0002_billing_and_audit.sql:18
Severity:
Medium (lowered from High by the second reviewer, who said: No code in the repository writes this table yet, so it likely holds little data today; the main risk is forged or erased audit entries.)
Location:
supabase/migrations/0002_billing_and_audit.sql:18
Status:
Confirmed (AI reviewer and second reviewer (agreed)): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
create table public.audit_events (, line SHA-256 4da251e557d0a4d7bcd638854b26ab4a79541fd2019e76596c5f58cc232899f7
Verdict reached by:
AI reviewer and second reviewer (agreed)
AI reviewer:
The audit_events table is created in the public schema, and neither migration enables row-level security on it or revokes the default grants, so anyone with the public API key can read and write the activity log. (relied on supabase/migrations/0002_billing_and_audit.sql:18-27)
Second reviewer:
audit_events is created in the public schema, and no committed SQL enables row-level security on it or revokes access, unlike every other table, so anyone holding the public anon key can read, insert or delete audit rows through the Supabase API. (relied on supabase/migrations/0002_billing_and_audit.sql:12-27)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open supabase/migrations/0002_billing_and_audit.sql at line 18.
  3. Compare with the masked excerpt create table public.audit_events ( (the line's SHA-256 is 4da251e557d0a4d7bcd638854b26ab4a79541fd2019e76596c5f58cc232899f7).

Limitations: Read from the SQL files committed under supabase/ only; row-level security or policies changed in the Supabase dashboard, and SQL that is not committed, are not seen. No request was made to the database.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

lowC021: Direct dependency @supabase/ssr pulls in 2 vulnerable packages (@supabase/auth-js@2.64.4, cookie@0.6.0); upgrade target: @supabase/auth-js 2.70.0, cookie 0.7.0package-lock.json:256
Severity:
Low
Location:
package-lock.json:256
Status:
Confirmed (OSV evidence): the evidence is present at this revision.
Finding state:
Reproduced: the deterministic checks found the same evidence again in the files at this revision. No code was run.
Evidence:
@supabase/ssr: @supabase/auth-js@2.64.4, cookie@0.6.0, line SHA-256 19d962b9a1efd686ca6c05c909def944515b01496b3089cb59a5cada3ce20aa9
Verdict reached by:
OSV evidence

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open package-lock.json at line 256.
  3. Compare with the masked excerpt @supabase/ssr: @supabase/auth-js@2.64.4, cookie@0.6.0 (the line's SHA-256 is 19d962b9a1efd686ca6c05c909def944515b01496b3089cb59a5cada3ce20aa9).

Limitations: The versions locked in the lockfile (package-lock.json, yarn.lock or pnpm-lock.yaml) were matched against a downloaded OSV.dev advisory snapshot, offline, and grouped under the direct dependency whose lockfile dependency graph pulls them in; whether the app uses the vulnerable code path was not checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

lowC022: Direct dependency @supabase/supabase-js pulls in 1 vulnerable package (@supabase/auth-js@2.64.4); upgrade target: @supabase/auth-js 2.70.0package-lock.json:280
Severity:
Low
Location:
package-lock.json:280
Status:
Confirmed (OSV evidence): the evidence is present at this revision.
Finding state:
Reproduced: the deterministic checks found the same evidence again in the files at this revision. No code was run.
Evidence:
@supabase/supabase-js: @supabase/auth-js@2.64.4, line SHA-256 6600ff8b88168ee643ba6174f30a4310cbc43f504fc560cc06ac7ffdc28b06df
Verdict reached by:
OSV evidence

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open package-lock.json at line 280.
  3. Compare with the masked excerpt @supabase/supabase-js: @supabase/auth-js@2.64.4 (the line's SHA-256 is 6600ff8b88168ee643ba6174f30a4310cbc43f504fc560cc06ac7ffdc28b06df).

Limitations: The versions locked in the lockfile (package-lock.json, yarn.lock or pnpm-lock.yaml) were matched against a downloaded OSV.dev advisory snapshot, offline, and grouped under the direct dependency whose lockfile dependency graph pulls them in; whether the app uses the vulnerable code path was not checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

lowC019: POST /api/webhooks/stripe returns caught error text to the callerapp/api/webhooks/stripe/route.ts:16
Severity:
Low
Location:
app/api/webhooks/stripe/route.ts:16
Status:
Confirmed (AI reviewer): the evidence is present at this revision.
Finding state:
Reproduced: the deterministic checks found the same evidence again in the files at this revision. No code was run.
Evidence:
return NextResponse.json({ error: 'Webhook error: ${(err as Error).message}' }, { status: 400 });, line SHA-256 f43853c2c55a061baf3e107e1c07e7df2d20fa61b6bb87d1a5a17b7d77394928
Verdict reached by:
AI reviewer
AI reviewer:
When signature checking fails, the webhook returns the caught error message to the caller instead of a fixed text, which leaks a little about the internals. (relied on app/api/webhooks/stripe/route.ts:13-17)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open app/api/webhooks/stripe/route.ts at line 16.
  3. Compare with the masked excerpt return NextResponse.json({ error: Webhook error: ${(err as Error).message} }, { status: 400 }); (the line's SHA-256 is f43853c2c55a061baf3e107e1c07e7df2d20fa61b6bb87d1a5a17b7d77394928).

Limitations: Static reading of source and configuration; headers added by the host, a CDN or a proxy, and the error text the running app actually returns, were not observed.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

lowC020: No security headers are configured in next.confignext.config.mjs:2
Severity:
Low
Location:
next.config.mjs:2
Status:
Confirmed (AI reviewer): the evidence is present at this revision.
Finding state:
Reproduced: the deterministic checks found the same evidence again in the files at this revision. No code was run.
Evidence:
const nextConfig = {, line SHA-256 db22c69b551ea2392d0ecc406d402ee3b797fa1a754c351eeea8c41f3a1fc7f3
Verdict reached by:
AI reviewer
AI reviewer:
next.config sets no headers, the middleware only handles sign-in redirects, and the repository has no vercel.json or headers file, so no anti-framing, content-security or HTTPS-only headers are set by the app. (relied on next.config.mjs:1-6)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open next.config.mjs at line 2.
  3. Compare with the masked excerpt const nextConfig = { (the line's SHA-256 is db22c69b551ea2392d0ecc406d402ee3b797fa1a754c351eeea8c41f3a1fc7f3).

Limitations: Static reading of source and configuration; headers added by the host, a CDN or a proxy, and the error text the running app actually returns, were not observed.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

lowC030: Flagged by the AI: "The update policy has no check on workspace_id, so an author can move their note into a workspace they do not belong to and push content in…"supabase/migrations/0001_init.sql:136
Found by AI:
proposed by an AI reading the code, not by a rule-based check, and then confirmed.
Severity:
Low
Location:
supabase/migrations/0001_init.sql:136
Status:
Confirmed (AI reviewer): the evidence is present at this revision.
Finding state:
Source-supported: confirmed from a reading of the code at this revision (static evidence only); the deterministic checks did not settle it on their own, and no code was run.
Evidence:
create policy "Authors can update their notes" ⏎ on public.notes for update ⏎ using (author_id = auth.uid());, line SHA-256 9c79a7a1c587aae8d5af650904332db58922138e7d87c45145cd1f31c1bee71e
Verdict reached by:
AI reviewer
AI reviewer:
The update policy only requires that the caller is the author and has no with check on workspace_id, so authors can move their own note into any workspace through the Supabase API, including one they do not belong to. (relied on supabase/migrations/0001_init.sql:132-142)

Reproduction:

  1. Open supabase/migrations/0001_init.sql at this revision and go to line 136.
  2. Read the quoted line and the code around it. The problem to look for: The update policy has no check on workspace_id, so an author can move their note into a workspace they do not belong to and push content into other teams' workspaces.
  3. Follow the code that reaches this line (the route, the caller or the setting that uses it) and note every check on the way: login, validation, escaping, permission.
  4. Try an input or request that reaches this line, in a local copy of the app or by tracing it by hand. The problem is shown if it gets through unchecked and the result is the one described above; if a check on the way stops it, the finding does not apply.

Limitations: Found by AI: an AI read a bounded set of files and proposed this, and it did not follow other files, so code it did not read could change the answer. The finding's state or verdict says how far it was checked.

This finding is wrong? Tell us in one email, within 14 days of the release, and your payment is refunded in full.

Needs follow-up

These findings could not be settled from the code, and each says why. They are listed so nothing is silently dropped, not because they are known problems.

highC014: Client component components/WorkspaceStats.tsx imports lib/supabase/admin.ts, which builds a Supabase client from the service-role keycomponents/WorkspaceStats.tsx:11
Severity:
High
Check families:
service-role, secrets (the first is the main one)
Location:
components/WorkspaceStats.tsx:11
Status:
Not settled; it needs follow-up.
Finding state:
Inconclusive: the evidence settles it neither way, so it counts neither as a confirmed problem nor as a pass.
Evidence:
createAdminClient(), line SHA-256 d121b260d84d00785fd953ec41de4ddd4b361f26b4dd820250993bf869dc541a
Verdict reached by:
not settled
Follow-up reason:
The AI reviewers could not settle this finding from the code, so it is listed as unverified: it may or may not be a real problem, and it needs a closer look.
AI reviewer:
The browser component imports the admin client, but the key is read from a variable without the NEXT_PUBLIC_ prefix, which Next.js leaves empty in browser code, so the key is not shipped and the client cannot gain elevated access (it is a broken feature, not a leak). (relied on lib/supabase/admin.ts:4-8)
Second reviewer:
A 'use client' component imports and calls createAdminClient, which builds a client from the service-role key, so the service-role module is bundled for the browser. The key comes from the server-only SUPABASE_SERVICE_ROLE_KEY variable, so it is empty there and is not leaked today. (relied on components/WorkspaceStats.tsx:1-16)

Reproduction:

  1. In a clone of the repository, run git checkout --detach c64304259df8fd38f3e766838c7012f0a656403c.
  2. Open components/WorkspaceStats.tsx at line 11.
  3. Compare with the masked excerpt createAdminClient() (the line's SHA-256 is d121b260d84d00785fd953ec41de4ddd4b361f26b4dd820250993bf869dc541a).
  4. The finding also involves components/WorkspaceStats.tsx:4.

Limitations: Read from the source: identity checks, helpers and middleware are followed through imports of tracked files only. A check inside a package, a custom check that is not recognised, or a protection added by the host or a proxy is not seen. No request was made to the app.

About this audit

Since the earlier audit

No earlier audit of this source is on record, so this report compares nothing and marks nothing resolved. A problem is only reported as not found again after a rescan.

Limitations and exclusions
  • Scope: static checks that ran on this repository (detected stack: Next.js 14.2.3, Supabase): committed secrets (provider key formats adapted from gitleaks, and a generic rule); secrets exposed to the browser (variables with a public prefix such as NEXT_PUBLIC_); secret fallbacks; committed environment files and a debug environment setting; secrets committed and later deleted (git history); vulnerable or URL-sourced dependencies and install scripts; injection sinks (SQL, NoSQL, shell commands, XPath, LDAP, code evaluation), unsafe deserialization, XML entity expansion, open redirects, server-side requests to user URLs (SSRF), path traversal, regular expressions that backtrack catastrophically (ReDoS) and prototype pollution; JWT and hashing mistakes, predictable tokens and hard-coded session secrets; Supabase row-level security and policies in the committed SQL (tables without row-level security, row-level security turned off, policies that let everyone in or only test that the caller is signed in, update policies on privilege columns, SECURITY DEFINER functions that anyone can call without a caller check, and storage buckets left public); Next.js route handlers, pages/api routes, server actions and server components (pages and layouts) that read or write data without an identity check (a middleware counts only if it verifies identity and its matcher covers the route); Next.js handlers that use a Supabase service-role client without an identity and role check, or select a row by an id from the request after only a login check; Next.js ids taken from the request without an owner comparison, and request bodies written as they are; prices, totals, roles and similar values taken from the request body and written to the database (a heuristic: reported as inconclusive only); Next.js CORS with credentials, error details returned in responses, production source maps and missing security headers; secret-named keys in the env block of next.config, which Next.js inlines into the JavaScript bundles; Next.js client components ('use client') that import a database driver, a key-value client or a server SDK, or read a secret-named server variable (read from each file's own imports; inconclusive only). Nothing else was assessed. An empty section means nothing found by these checks, not that the app is free of that problem.
  • An extra pass was used on top of the other reviewers, never instead of one: an extra exploit-path pass ran on the audit's own AI reviewer (claude-opus-5-5); it proposes exploit paths, only their quoted lines were checked to exist, and it added 3 findings (marked "Found by AI (exploit-path pass)", reviewed like every other finding); the Mythos third opinion did not run (the exploit-path pass ran on the audit's own AI reviewer (claude-opus-5-5), not on Mythos 5.2, and the third opinion goes with the Mythos pass).
  • No credential was tested against any live service.
  • The repository's own code was never run: no install scripts, package scripts, hooks or builds. Runtime behaviour was not observed.
  • Covered in part: payments and billing flows (C032, C008, C003, C029, C033, C016, and 1 more); authentication and authorization flows (C006, C007, C002); data isolation between users (C005, C004, C009, C011, C012, C015, and 5 more). The findings named in parentheses were raised there by the rules and the AI's reading of the code, so these areas were looked at, but only in part: the AI read a bounded set of files and the fixed rules look for set patterns, so an area with a finding listed is not free of other problems.
  • Not covered: input validation beyond the injection patterns above, data flow across files, infrastructure and deployment configuration outside the repository.
  • Out of scope for a static audit (OWASP Top 10:2025): A06 Insecure Design, A08 Software or Data Integrity Failures, A09 Security Logging and Alerting Failures.
  • Dependency advisories: versions locked in package-lock.json, yarn.lock (v1 and berry) or pnpm-lock.yaml (or, without any lockfile, exact versions pinned in package.json) were matched offline against the OSV.dev npm snapshot of 2026-11-29; nothing about this repository was sent anywhere. Vulnerability data: OSV.dev (CC-BY 4.0 / CC0).
  • Skipped: 1 file(s) (lockfile (read for dependency versions only; not scanned for secrets): 1). Only the history reachable from this revision was read; other branches were not.
  • Static patterns miss issues and over-report; an empty section does not mean the app is free of that class of problem.
How the audit is done

The audit is AI-performed. Claude, an AI model, reads one repository at one commit, the one you submit, and ranks what it finds.

Each critical or high code finding is sent to a second independent AI reviewer before the report, and each report says how many of them that reviewer answered.

No person checks each audit before release. Built and run by Nordik, an independent application security audit service.

The audit is not a penetration test, a certification, a compliance statement or proof that the app is safe.

What is not checked: the running app, live database settings, hosting and third-party accounts. The code is read and never run.

The audit can miss problems, and a finding can be wrong.

About this report

AI-found issues are quote-checked against the code but may still be wrong. No person read this report before it was released. An empty section means nothing was found by these checks, not that there is no risk.

Not a penetration test, a certification, a compliance statement or proof that your app is safe. We do not run your code; please run your tests before merging.

"The owner" in this report means the person who runs this service, not the owner of your app.

Findings the AI called not real

4 findings the AI called not real

4 findings were rejected on the AI's answer without the owner reading each one; each is listed, with how the verdict was reached, so it can be checked:

  • C026: Secret-shaped text (Supabase service_role key format) remains in git history of .env, at .env. Rejected (AI reviewer and second reviewer (agreed)): Test or example code.
  • C010: GET /api/health: looks public by design, at app/api/health/route.ts:9. Rejected (AI reviewer and second reviewer (agreed)): False positive. AI reviewer: The health check only reports whether a one-row read of the public plans table worked and returns just an ok flag, so it exposes no data. (relied on app/api/health/route.ts:7-11) Second reviewer: The health check runs a fixed query on the public plans table and returns only an ok true/false flag, so the caller cannot steer the query or get any data back. (relied on app/api/health/route.ts:7-11)
  • C017: POST /api/checkout builds a URL from the origin header (2 places), at app/api/checkout/route.ts:42. Rejected (AI reviewer): False positive. AI reviewer: The return URLs built from the Origin header go only into the caller's own checkout session, whose link is returned to that same caller, so they can only redirect themselves and no mail or link reaches anyone else. (relied on app/api/checkout/route.ts:25-46)
  • C018: Policy Users can update their own profile lets users update their own profiles row, including plan, at supabase/migrations/0001_init.sql:93. Rejected (AI reviewer): False positive. AI reviewer: Users can change the plan column on their own profile, but no code in the repository reads profiles.plan (paid status comes from the subscriptions table, which only the webhook writes), so changing it grants nothing. (relied on supabase/migrations/0001_init.sql:3-8)

Get this report for your app.

$49, one time, for one app. Report in 48 hours or you're not charged.

With the report: checked fixes for up to 10 critical and high problems a code change can fix, and one free re-check after you fix.

Your card is charged only when your report is delivered. The audit is done by AI, and a second AI checks each serious finding in your code. It is a code audit, not a penetration test.