New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

appwrite-security

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appwrite-security

Audit Appwrite projects for over-permissive collection/document permissions. Keyless --discover mode parses your repo + probes the public REST API anon (no API key needed). Active probe confirms leaks live.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
1
-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

Appwrite Security Auditor

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.

Run it without installing anything → apify.com/renzomacar/appwrite-security-auditor (paste endpoint + project ID + API key, get HTML report)

⚡ 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)

Why this exists

Appwrite has a powerful but easy-to-misuse permission model: collections can grant operations (read, list, create, update, delete) to roles like any, users, team:<id>, or user:<id>. Three patterns I see over and over:

  • any role on read or list — the collection is fully public. Anyone can dump every document without auth.
  • users role too broadly — any signed-up user (including a self-registered anonymous one) reads or writes the entire collection.
  • Document Security disabled — collection-level perms apply to ALL documents. A single broad rule exposes everything.

This auditor surfaces all of them across every database/collection in your project in one command.

Install + run

APPWRITE_ENDPOINT=https://cloud.appwrite.io/v1 \
APPWRITE_PROJECT_ID=your-project-id \
APPWRITE_API_KEY=your-server-key \
npx appwrite-security --html report.html

Or:

npx appwrite-security \
  --endpoint https://cloud.appwrite.io/v1 \
  --project xxx \
  --key xxx \
  --html report.html

What it checks

#CheckSeverity
1Permission grants any role (anyone can perform op)CRITICAL
2Permission grants users role (every signed-up user passes)HIGH
3Document Security OFF on permission-protected collectionHIGH
4Team-based permission lacks role specificityMEDIUM
5OAuth2 provider misconfigMEDIUM
6Email auth without verificationMEDIUM

Active probe

Default: 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.

--no-probe disables the live fetch (passive metadata-only mode).

How to get an API key

  • Open your Appwrite console → Project Settings → API Keys → "Create API Key"
  • Required scopes: databases.read, collections.read, projects.read
  • Copy the key immediately (Appwrite shows it only once)

The key is used only for this run's metadata reads. Never persisted.

License + source

MIT. Open source: https://github.com/Perufitlife/appwrite-security-skill

For Supabase, see https://github.com/Perufitlife/supabase-security-skill For PocketBase, see https://github.com/Perufitlife/pocketbase-security-skill

Keywords

appwrite

FAQs

Package last updated on 11 May 2026

Related posts