greenlitlab@0.4.4
CAUTION· static onlyPublisher claims: "Grades a deployed Lovable, Bolt, v0 or Replit app from A to F for what a stranger could use against it (leaked secret keys, a Supabase service_role key in the browser, public source maps, missing headers), with a fix prompt for each problem." Observed in sandbox: static analysis only — behavior not yet observed.
Coverage
Static only; nothing was run yet.The label rests on the code, the instruction files and the publisher. The honeypot run replaces this verdict when it completes.
Before you give it your token
- It will ask for
- no credential variables read in the code
- Where it talks to
- priberry.com (its own)Also greenlit-origin-check.example, cloudflare-dns.com — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- nothing has run yet
- What we could not test
- everything: the server has not run yet
Run it before you trust it. Nothing has run yet: the code was read, the server was not. `vet-skills try` runs this exact version in the honeypot in about a minute.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills analysed it statically (a sandbox run is pending) on 2026-11-20 and scored it 57/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: static analysis only — behavior not yet observed.
Behavior trace
Queued for honeypot run · static analysis onlyThis version has not been detonated yet. The score above counts behavior as unknown (50/100), so it cannot read Verified until the honeypot run completes and replaces this verdict.
Static findings
const TEXT = /\.(sql|toml|json|js|jsx|ts|tsx|mjs|cjs|py|vue|svelte|rules)$|(^|\/)\.env[^/]*$/;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// 3: files that should never be on a live site. A real .env has KEY=value lines; a real .git folder has a config fileFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const isEnv = /(^|\/)\.env[^/]*$/.test(name);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.npx greenlitlab <url> --mine your own app: also check which database tables anyone can readFix: Pin versions and sources; vendor anything fetched at install time.…h database tables and storage buckets anyone can read, open sign-up, and public .env or .git files.", inputSchema: { type: "object", properties: { url: { type: …Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…e review.", footer: "Read on your computer; nothing was sent anywhere. Names in .env files were read, never values.\nThis finds known mistakes by pattern. It can't …Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const env = tracked.find((f) => /(^|\/)\.env(\.local|\.production)?$/.test(f));Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// verifies, secrets named so they ship to the browser. Node only. Reads names in .env files, never values.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… 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, n…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… deleting my local copy (git rm --cached), add it to .gitignore, and give me an .env.example with the names only. Then list every key that was in it so I can replac…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.npx greenlitlab <url> grade an app from what every visitor can seeFix: Pin versions and sources; vendor anything fetched at install time.const envs = ["/.env", "/.env.local", "/.env.production"];Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…er a fix: `change` shows what got fixed. For the user's own app, have them run `npx greenlitlab <url> --mine`: it also checks which database tables and storage buckets anyone …Fix: Pin versions and sources; vendor anything fetched at install time.// The checks are the ones `npx greenlitlab <app> --mine` runs: row counts and names only, never data. They run in roundsFix: Pin versions and sources; vendor anything fetched at install time.…and this app's code points somewhere else. Run it on your own computer instead: npx greenlitlab ${host} --mine` }, 422); // The same database can sit behind many addresses…Fix: Pin versions and sources; vendor anything fetched at install time.assert.ok(leaky.findings.some((f) => f.id === "exposed:/.env" && f.severity === "critical"));Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.L.push(` ${green("›")} npx greenlitlab scan ${dim("in your project folder: rules that let everyone in")}`);Fix: Pin versions and sources; vendor anything fetched at install time.test("--web: unlinked files like .env are never requested without --mine", async () => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… after adding a tag, or on your own computer, for an app you own.`, fix: `Run \`npx greenlitlab ${url.host} --mine\` if this is your app.`, first: null, prompt: null, checkPro…Fix: Pin versions and sources; vendor anything fetched at install time.return json({ error: `That's ${PER_HOUR} checks this hour. Try again later, or run it on your own computer: npx greenlitlab <address>` }, 429);Fix: Pin versions and sources; vendor anything fetched at install time.6: cmd("npx greenlitlab <url> --mine", "your own app, deeper"),Fix: Pin versions and sources; vendor anything fetched at install time.… leaky = await siteScan("app.example", { mine: true, fetcher: host({ files: { "/.env": [200, "STRIPE_SECRET_KEY=sk_test_x\nDB_URL=postgres://x"], "/.git/config": [2…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… L.push(dim(`Fix the red items first, one prompt at a time. Copy one prompt: npx greenlitlab ${new URL(r.url).host}${mine ? " --mine" : ""} --prompt 1 | pbcopy (or --promp…Fix: Pin versions and sources; vendor anything fetched at install time.if ((r.supabase || r.firebase) && !mine) L.push(` ${green("›")} npx greenlitlab ${host} --mine ${dim("your own app: which database tables anyone can read")}`);Fix: Pin versions and sources; vendor anything fetched at install time.assert.ok(!calls.some((c) => /\.env|\.git/.test(c.url)));Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.npx greenlitlab <url> --prompt 1 print just fix prompt 1, to copy (add | pbcopy on a Mac)Fix: Pin versions and sources; vendor anything fetched at install time.if (env.OWNER_DB !== "on") return json({ error: `The database check runs on your own computer for now: npx greenlitlab <your app> --mine`, off: true }, 503);Fix: Pin versions and sources; vendor anything fetched at install time.…mes in the last few minutes. Try again shortly, or run it on your own computer: npx greenlitlab <address>" }, 429); } let result; try { // Smaller limits than the C…Fix: Pin versions and sources; vendor anything fetched at install time.8: cmd("npx greenlitlab questions", "what only you know"),Fix: Pin versions and sources; vendor anything fetched at install time.const script = `fetch("http://localhost:3000/api/items");const pk="pk_\u0074est_aB3dE6gH9jK2mN5pQ8sT1vW4";fetch("https://api.openai.com/v1/chat/completions");send({from:"[email protected]"});`;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… the rest in one check. A problem in those wouldn't show up here.`, fix: `Run \`npx greenlitlab ${url.host}\` on your computer, which reads them all.`, first: null, prompt: nu…Fix: Pin versions and sources; vendor anything fetched at install time.if (++job.rounds > MAX_ROUNDS) return json({ error: "The database check took too long. Try again later, or run it on your own computer: npx greenlitlab " + job.host + " --mine" }, 422);Fix: Pin versions and sources; vendor anything fetched at install time.if (url.startsWith("https://demo-app-default-rtdb.firebaseio.com/.json?shallow=true")) return res(200, '{"users":true,"posts":true}');Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.npx greenlitlab <url> --json the full result as JSONFix: Pin versions and sources; vendor anything fetched at install time.- By hand: Supabase dashboard → Advisors → Security Advisor → copy or export the results as JSON, save them to a file, and run: npx greenlitlab advisor results.json`;Fix: Pin versions and sources; vendor anything fetched at install time.7: cmd("npx greenlitlab scan", "your project's files"),Fix: Pin versions and sources; vendor anything fetched at install time.// to every visitor, the same as `npx greenlitlab <url>` without --mine. Database checks never run here,Fix: Pin versions and sources; vendor anything fetched at install time.npx greenlitlab <url> --prompt all every fix in one prompt, worst firstFix: Pin versions and sources; vendor anything fetched at install time.test("--mine: a real .env file and .git folder are found; the home page served for those paths is not", async () => {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.5: cmd("npx greenlitlab myapp.lovable.app", "grade your app"),Fix: Pin versions and sources; vendor anything fetched at install time.".env": "VITE_SUPABASE_URL=x\nVITE_STRIPE_SECRET_KEY=sk_value_that_must_not_appear\n",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.…urned it on in the dashboard instead, the live database may be fine: check with npx greenlitlab <your app> --mine.)", fix: `Add: alter table public.${table} enable row level s…Fix: Pin versions and sources; vendor anything fetched at install time.if (/(^|\/)(\.mcp\.json|\.cursor\/mcp\.json|\.vscode\/mcp\.json)$/.test(name) && (/postgres(?:ql)?:\/\//i.test(text) || (/supabase/i.test(text) && !/read[-_]only/i.test(text))))Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…e protected.", fix: "Check it in Supabase → Advisors → Security Advisor, or run npx greenlitlab <your app> --mine.", first: null, prompt: `Tell me whether Row Level Security i…Fix: Pin versions and sources; vendor anything fetched at install time.…le:profiles", "supabase:table:orders", "supabase:table:invoices_big", "exposed:/.env.local", "supabase:open-signup", "supabase:storage:receipts", "firebase:rtdb"]) …Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.].join("\n"), ".env.example": "VITE_DB_PASSWORD=\nNEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY=\n" });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (url === `https://${HOST}/.env.local`) return res(200, "SECRET_THING=abc\n");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.….webhooks.constructEvent(body, req.headers.get("stripe-signature"), secret);', ".env": "VITE_SUPABASE_URL=x\nSTRIPE_SECRET_KEY=y\n" }); assert.deepEqual(codeScan(…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.ok(!JSON.stringify(r).includes("sk_value_that_must_not_appear"), "values in .env files are never read out");Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// An app with something open at every step: tables (one big enough to time out), a sensitive column, a public .env,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.assert.equal(cleanHost("../etc/passwd"), null);Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.<summary>Does my code get uploaded?</summary><p>No. Everything runs on your computer. Names in <code>.env</code> files are read, never values.</p>Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
23 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim priberry-data: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.
- URL with embedded credentials≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- File type combined with upload action≈ +2 on the totalRemove the call, or declare the host in frontmatter and explain in the README what is sent and why.