greenlit_scan
Scans a project folder for launch-blocking misconfigurations like missing RLS, unverified webhooks and exposed secrets before deploying, and returns a fix prompt for each finding.
Instructions
Read a project folder on this computer for launch mistakes that can't be seen from outside, before deploying: Row Level Security policies whose condition is just true, tables created without RLS, Supabase edge functions with verify_jwt = false, Stripe webhook handlers that never verify the signature, secrets behind a public prefix (VITE_, NEXT_PUBLIC_), a tracked .env file, and an agent config with a writable database connection. Pattern-based, not a full code review. Reads names in .env files, never values. Each finding has a fix prompt.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "greenlit_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | The project folder. Defaults to the current folder. |