Example report. Not a scan of a live site.
Harbor Notes
https://harbor-notes.example
A fictional notes app used only as an example. TrustLite did not scan this URL. The findings below are filled with the same templates a real check uses, and the numbers match those severities.
Example score 57 out of 100. One critical finding, one high finding, and one low finding. Info items would not change this number.
- critical
Table notes is readable without a signed-in user
The table "notes" returned a row to the anon key with no signed-in user. TrustLite kept the column names and discarded the cell values. This usually means row level security is off, or a policy allows the anon role to read.
Fix prompt
Paste this into Lovable, Cursor, or Bolt. In the Supabase project used by this app, the table "notes" answered a read from the anon key. Columns seen: id, title, body. Row values were not collected. What to change: Enable row level security on "notes". Add policies for select, insert, update, and delete that require auth.uid() or an explicit public rule you intend. Do not use the service role key in the client to "make it work". Constraints: Do not print secret values in the chat. Do not disable row level security to make a screen load. After the edit, list the files you changed.
- high
Stripe test secret key is in client code
A Stripe test secret key was in public code. Test mode cannot charge real cards, but the same pattern often ships to production next. TrustLite stored only a redacted prefix.
Fix prompt
Paste this into Lovable, Cursor, or Bolt. A check of public client code found: Stripe test secret key is in client code. What this means: A Stripe test secret key was in public code. Test mode cannot charge real cards, but the same pattern often ships to production next. TrustLite stored only a redacted prefix. What to change: Delete the test secret from client code and from any public env var. Read Stripe on the server with a secret env var that the bundler does not inline. Roll the test key if this project is shared. Constraints: Do not print secret values in the chat. Do not disable row level security to make a screen load. After the edit, list the files you changed.
- low
Content-Security-Policy is missing
Without a Content-Security-Policy, an injected script is less constrained. This header is easy for an app builder to omit.
Fix prompt
Paste this into Lovable, Cursor, or Bolt. Content-Security-Policy is missing. What this means: Without a Content-Security-Policy, an injected script is less constrained. This header is easy for an app builder to omit. What to change: Add a Content-Security-Policy that fits how the app loads scripts. Start with default-src 'self' and open only the hosts you actually use. Include frame-ancestors 'none' if the app should not be embedded. Constraints: Do not print secret values in the chat. Do not disable row level security to make a screen load. After the edit, list the files you changed.
TrustLite catches common mistakes. It is not a full penetration test. Read what a check covers before you treat a score as the whole story.