{"id":51118127,"url":"https://github.com/perufitlife/appwrite-security-skill","last_synced_at":"2026-06-25T00:00:36.455Z","repository":{"id":356732900,"uuid":"1233769363","full_name":"Perufitlife/appwrite-security-skill","owner":"Perufitlife","description":"Open-source Appwrite security auditor: detects 'any' role grants, document security misconfig, over-permissive collection permissions. Active probe confirms each leak.","archived":false,"fork":false,"pushed_at":"2026-06-21T12:49:39.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-21T14:34:24.050Z","etag":null,"topics":["appwrite","audit","auditor","baas","cli","devsecops","leak","mit-license","nodejs","open-source","penetration-testing","scanner","security","security-audit","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":".github/FUNDING.yml","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},"funding":{"custom":["https://buy.stripe.com/6oUeVd1nqfj47yxbTscAo0e","https://perufitlife.github.io/supabase-security-skill/"]}},"created_at":"2026-05-09T10:35:43.000Z","updated_at":"2026-06-21T12:49:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Perufitlife/appwrite-security-skill","commit_stats":null,"previous_names":["perufitlife/appwrite-security-skill"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Perufitlife/appwrite-security-skill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perufitlife%2Fappwrite-security-skill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perufitlife%2Fappwrite-security-skill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perufitlife%2Fappwrite-security-skill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perufitlife%2Fappwrite-security-skill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Perufitlife","download_url":"https://codeload.github.com/Perufitlife/appwrite-security-skill/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Perufitlife%2Fappwrite-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":["appwrite","audit","auditor","baas","cli","devsecops","leak","mit-license","nodejs","open-source","penetration-testing","scanner","security","security-audit","typescript","vulnerability"],"created_at":"2026-06-25T00:00:24.558Z","updated_at":"2026-06-25T00:00:36.429Z","avatar_url":"https://github.com/Perufitlife.png","language":"JavaScript","funding_links":["https://buy.stripe.com/6oUeVd1nqfj47yxbTscAo0e","https://perufitlife.github.io/supabase-security-skill/"],"categories":[],"sub_categories":[],"readme":"# Appwrite Security Auditor\n\n\u003e Audit any Appwrite project for over-permissive collection/document permissions. Get a shareable HTML report with a fix snippet on every finding. **Active probe fetches data anonymously to PROVE leaks live — not just infer them.**\n\n\u003e ▶ **Run it without installing anything →** [apify.com/renzomacar/appwrite-security-auditor](https://apify.com/renzomacar/appwrite-security-auditor) (paste endpoint + project ID + API key, 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/appwrite-security?color=red)](https://www.npmjs.com/package/appwrite-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) · [firebase-security](https://www.npmjs.com/package/firebase-security) · [nhost-security](https://www.npmjs.com/package/nhost-security) · [strapi-security](https://www.npmjs.com/package/strapi-security) · [directus-security](https://www.npmjs.com/package/directus-security) · [convex-security](https://www.npmjs.com/package/convex-security) · [hasura-security](https://www.npmjs.com/package/hasura-security) · [payload-security](https://www.npmjs.com/package/payload-security)\n\n## Why this exists\n\nAppwrite has a powerful but easy-to-misuse permission model: collections can grant operations (`read`, `list`, `create`, `update`, `delete`) to roles like `any`, `users`, `team:\u003cid\u003e`, or `user:\u003cid\u003e`. Three patterns I see over and over:\n\n- **`any` role on read or list** — the collection is fully public. Anyone can dump every document without auth.\n- **`users` role too broadly** — any signed-up user (including a self-registered anonymous one) reads or writes the entire collection.\n- **Document Security disabled** — collection-level perms apply to ALL documents. A single broad rule exposes everything.\n\nThis auditor surfaces all of them across every database/collection in your project in one command.\n\n## Install + run\n\n```bash\nAPPWRITE_ENDPOINT=https://cloud.appwrite.io/v1 \\\nAPPWRITE_PROJECT_ID=your-project-id \\\nAPPWRITE_API_KEY=your-server-key \\\nnpx appwrite-security --html report.html\n```\n\nOr:\n\n```bash\nnpx appwrite-security \\\n  --endpoint https://cloud.appwrite.io/v1 \\\n  --project xxx \\\n  --key xxx \\\n  --html report.html\n```\n\n## What it checks\n\n| # | Check | Severity |\n|---|---|---|\n| 1 | Permission grants `any` role (anyone can perform op) | **CRITICAL** |\n| 2 | Permission grants `users` role (every signed-up user passes) | HIGH |\n| 3 | Document Security OFF on permission-protected collection | HIGH |\n| 4 | Team-based permission lacks role specificity | MEDIUM |\n| 5 | OAuth2 provider misconfig | MEDIUM |\n| 6 | Email auth without verification | MEDIUM |\n\n## Active probe\n\nDefault: ON. After detecting a `read(\"any\")` or `list(\"any\")` permission, the auditor sends an **anonymous GET** to `/v1/databases/{db}/collections/{col}/documents?queries[]=limit(1)`. If documents come back, the finding is `confirmed: true` with row count, columns visible, and bytes leaked.\n\n`--no-probe` disables the live fetch (passive metadata-only mode).\n\n## How to get an API key\n\n1. Open your Appwrite console → Project Settings → API Keys → \"Create API Key\"\n2. Required scopes: `databases.read`, `collections.read`, `projects.read`\n3. Copy the key immediately (Appwrite shows it only once)\n\nThe key is used only for this run's metadata reads. Never persisted.\n\n## License + source\n\nMIT. Open source: https://github.com/Perufitlife/appwrite-security-skill\n\nFor Supabase, see https://github.com/Perufitlife/supabase-security-skill\nFor PocketBase, see https://github.com/Perufitlife/pocketbase-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 `appwrite-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%2Fappwrite-security-skill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperufitlife%2Fappwrite-security-skill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperufitlife%2Fappwrite-security-skill/lists"}