{"id":51118729,"url":"https://github.com/Perufitlife/nhost-security-skill","last_synced_at":"2026-06-25T00:01:26.060Z","repository":{"id":356745074,"uuid":"1233813605","full_name":"Perufitlife/nhost-security-skill","owner":"Perufitlife","description":"Open-source Hasura/Nhost security auditor: detects anonymous role with open SELECT, user role missing row filter, public introspection. Active anonymous GraphQL probe confirms each leak.","archived":false,"fork":false,"pushed_at":"2026-05-09T14:33:29.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-09T15:44:25.164Z","etag":null,"topics":["audit","auditor","cli","devsecops","graphql","hasura","leak","nhost","nodejs","penetration-testing","scanner","security","typescript","vulnerability"],"latest_commit_sha":null,"homepage":"https://perufitlife.github.io/supabase-security-skill/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Perufitlife.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-09T11:48:37.000Z","updated_at":"2026-05-09T14:33:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Perufitlife/nhost-security-skill","commit_stats":null,"previous_names":["perufitlife/nhost-security-skill"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Perufitlife/nhost-security-skill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perufitlife%2Fnhost-security-skill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perufitlife%2Fnhost-security-skill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perufitlife%2Fnhost-security-skill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perufitlife%2Fnhost-security-skill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Perufitlife","download_url":"https://codeload.github.com/Perufitlife/nhost-security-skill/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perufitlife%2Fnhost-security-skill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34753781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audit","auditor","cli","devsecops","graphql","hasura","leak","nhost","nodejs","penetration-testing","scanner","security","typescript","vulnerability"],"created_at":"2026-06-25T00:01:24.992Z","updated_at":"2026-06-25T00:01:26.045Z","avatar_url":"https://github.com/Perufitlife.png","language":"JavaScript","funding_links":[],"categories":["BaaS \u0026 Databases"],"sub_categories":[],"readme":"# Nhost / Hasura Security Auditor\n\n\u003e Audit any Hasura instance (or Nhost project) for permissive role permissions, missing row-level scoping, and public GraphQL leaks. Active probe confirms each leak by sending an anonymous GraphQL query and showing what comes back.\n\n\u003e ▶ **Run it without installing anything →** [apify.com/renzomacar/nhost-security-auditor](https://apify.com/renzomacar/nhost-security-auditor) (paste Hasura endpoint + admin secret, get HTML report)\n\n\u003e ⚡ Want me to run it for you and send back a written report? **$99, 24h delivery →** https://perufitlife.github.io/supabase-security-skill/ (one landing covers all five — Supabase, PocketBase, Appwrite, Hasura, Firebase)\n\n\u003e 🔁 **Want this running on a cron?** [RLS Monitor](https://rls-monitor.vercel.app/) does weekly diff-based scans + email alerts when new findings appear — $29/mo, your keys never leave your CI.\n\u003e\n\u003e 📦 **Need all 5 BaaS stacks at once?** The [BaaS Security Pack](https://perufitlife.github.io/supabase-security-skill/pack.html) bundles every scanner + sample reports + fix-SQL libraries — one $99 download.\n\n\u003e 🪞 **Sister tool**: [aitells](https://aitells.vercel.app/) detects + rewrites AI fingerprints in your text (em-dashes, \"delve\", parallel bullets). Free detector + $19 lifetime rewriter at [/rewrite](https://aitells.vercel.app/rewrite).\n\n[![npm](https://img.shields.io/npm/v/nhost-security?color=red)](https://www.npmjs.com/package/nhost-security) ![license](https://img.shields.io/badge/license-MIT-green) ![node](https://img.shields.io/badge/node-%3E%3D18-blue)\n\n\u003e **Sister tools** for other BaaS platforms (same `--discover` flag, all MIT):\n\u003e [supabase-security](https://www.npmjs.com/package/supabase-security) · [pocketbase-security](https://www.npmjs.com/package/pocketbase-security) · [appwrite-security](https://www.npmjs.com/package/appwrite-security) · [firebase-security](https://www.npmjs.com/package/firebase-security)\n\n## Why this exists\n\nHasura's permission model is powerful but easy to leave too open. The patterns I see most often:\n\n- **`anonymous` role with open SELECT permission** — any unauthenticated request can query the table. Often a leftover from local dev.\n- **`user` role with empty filter `{}`** — any signed-up user can read/update/delete every row, ignoring ownership. Should usually be `{ user_id: { _eq: \"X-Hasura-User-Id\" } }`.\n- **SELECT permission with all columns** — exposes sensitive columns (password_hash, internal_notes) the role doesn't actually need.\n- **Public schema introspection** — anyone can map your entire data model + permission structure without auth.\n\n## Install + run\n\n```bash\nHASURA_ENDPOINT=https://my.hasura.app \\\nHASURA_ADMIN_SECRET=$ADMIN_SECRET \\\nnpx nhost-security --html report.html\n```\n\nFor Nhost projects the endpoint is `https://\u003csubdomain\u003e.hasura.\u003cregion\u003e.nhost.run`.\n\n## What it checks\n\n| # | Check | Severity |\n|---|---|---|\n| 1 | `anonymous` role has open SELECT permission | **CRITICAL** |\n| 2 | `anonymous` role has INSERT/UPDATE/DELETE permission | **CRITICAL** |\n| 3 | `user` role has SELECT/UPDATE/DELETE without row-level filter | HIGH |\n| 4 | Permission exposes all columns (no allowlist) | MEDIUM |\n| 5 | GraphQL introspection enabled for anonymous | MEDIUM |\n\n## Active probe\n\nFor every suspect anonymous SELECT permission, the auditor sends an anonymous GraphQL query (`{ \u003ctable\u003e(limit: 1) { __typename } }`) and reports `confirmed: true` if rows come back. For introspection, sends `{ __schema { queryType { name } } }` and reports if anonymous can read the schema.\n\n`--no-probe` disables the live fetch.\n\n## License + source\n\nMIT. Open source: https://github.com/Perufitlife/nhost-security-skill\n\nFor Supabase, see https://github.com/Perufitlife/supabase-security-skill\nFor PocketBase, see https://github.com/Perufitlife/pocketbase-security-skill\nFor Appwrite, see https://github.com/Perufitlife/appwrite-security-skill\n\n\n## Want it done for you?\n\nTwo productized services:\n\n- [**Vibe-code Security Review** — $199 / 48h](https://buy.stripe.com/bJe00jgik4EqdWV2iScAo0n) — I review your AI-generated code (Cursor / Claude / v0 / Bolt) and ship a PDF with fixes ranked by exploitability.\n- [**Sandbox-as-a-Service** — $499 / 48h](https://buy.stripe.com/aFa7sLc243Amf0Z5v4cAo0l) — custom partner integration sandbox built for your API.\n\n## Integration pattern reference\n\nSee [`rotatepilot-skyx-sandbox`](https://github.com/Perufitlife/rotatepilot-skyx-sandbox) for a live demo of how a partner consumes one of our public REST APIs in a single static page — built 12-may-2026 in response to an aviation-platform partnership inbound. Same JSON-contract / CORS / edge-served approach we use for `nhost-security` integrations.\n\n## Sister AI text tools\n\nIf your team writes outreach, PR descriptions, or social posts with AI, the [aitells](https://aitells.vercel.app) ecosystem catches the fingerprints before they ship:\n\n- [`@perufitlife/aitells-mcp`](https://www.npmjs.com/package/@perufitlife/aitells-mcp) — MCP server for Claude Code / Cursor. `detect_ai_tells` + `humanize_text` as native tools.\n- [`Perufitlife/aitells-action`](https://github.com/Perufitlife/aitells-action) — GitHub Action that scans PR titles/bodies/commits for AI patterns. Posts friendly summary comment.\n- [aitells.vercel.app](https://aitells.vercel.app) — free detector + $19 lifetime humanizer (first 100 buyers)\n\n---\n\n📚 Part of [**Awesome Backend Security Auditors**](https://github.com/Perufitlife/awesome-backend-security) — the full collection of keyless active-probe auditors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPerufitlife%2Fnhost-security-skill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPerufitlife%2Fnhost-security-skill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPerufitlife%2Fnhost-security-skill/lists"}