appwrite-security-operations
Production security operations for Appwrite services. Use when defining security quality gates, runtime hardening, API key lifecycle management, dependency vulnerability control, and incident response workflows.
Best use case
appwrite-security-operations is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Production security operations for Appwrite services. Use when defining security quality gates, runtime hardening, API key lifecycle management, dependency vulnerability control, and incident response workflows.
Teams using appwrite-security-operations should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/appwrite-security-operations/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How appwrite-security-operations Compares
| Feature / Agent | appwrite-security-operations | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Production security operations for Appwrite services. Use when defining security quality gates, runtime hardening, API key lifecycle management, dependency vulnerability control, and incident response workflows.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Appwrite Security Operations Use this skill for production-grade security governance beyond basic app implementation. ## Scope - Security design quality gates before release. - Operational hardening for Cloud and self-hosted Appwrite. - API key lifecycle and secret handling. - Dependency and supply-chain vulnerability control. - Ongoing monitoring and incident response. ## Security Quality Gates 1. Define threat model and trust boundaries per service path. 2. Map every endpoint to required auth mode and permission boundary. 3. Run negative authorization tests for cross-tenant and cross-role abuse. 4. Validate all privileged write paths execute only in trusted server runtimes. 5. Block release if any critical security control is missing. ## Appwrite Operational Hardening ### Cloud and self-hosted - Keep abuse protections enabled in production and monitor 429 patterns. - Register only approved platforms to enforce CORS boundaries. - Use Appwrite Activity and audit logs, then mirror security evidence externally because native retention is short. - Keep Appwrite versions up to date and follow migration steps during upgrades. ### Self-hosted specific - Set `_APP_OPENSSL_KEY_V1` immediately after installation and protect it as a critical secret. - Do not rotate `_APP_OPENSSL_KEY_V1` casually, because changing it breaks access to encrypted values. - Force HTTPS in production with `_APP_OPTIONS_FORCE_HTTPS`. - Restrict console access with IP and email allowlists where possible. - Re-enable abuse protections in production with `_APP_OPTIONS_ABUSE=enabled`. - Use tested backup and restore procedures for database, volumes, and `.env`. ## API Key Lifecycle 1. Use API keys only on trusted server paths and never in client apps. 2. Create one key per service boundary and environment. 3. Grant least scopes required for each service. 4. Rotate by creating a replacement key, deploying new secret, validating traffic, then deleting old key. 5. Keep break-glass revocation procedure ready for emergency key exposure. ## Dev Keys and Environment Separation - Use Dev keys only for local development and testing. - Never ship Dev keys in production clients. - Keep dev, stage, and prod projects and secrets fully isolated. ## Dependency Vulnerability Program ### Repository controls - Enable dependency graph, Dependabot alerts, and Dependabot security updates. - Use `.github/dependabot.yml` to tune update cadence and grouping. - Gate pull requests with dependency review checks at a defined severity threshold. - Enable secret scanning to catch leaked credentials early. ### Continuous scanning - Run package-manager audit commands in CI for each ecosystem in use. - Use OSV-Scanner for source and container image scanning when operating containers or mixed ecosystems. - Treat lockfiles as mandatory for reliable dependency graph and vulnerability resolution. ### Remediation policy - Fix critical and high vulnerabilities within strict SLA. - Document accepted-risk exceptions with expiry and owner. - Prefer minimal-version upgrades first, then controlled major upgrades when needed. - Verify runtime behavior and authorization tests after each security patch release. ## Monitoring and Response 1. Define alert routing for authentication abuse, permission failures, and suspicious traffic spikes. 2. Keep incident runbooks for key leak, account takeover, and data exposure scenarios. 3. Preserve forensic evidence from Appwrite activity logs and external logging pipeline. 4. Run incident drills and permission regression tests on a regular cadence. ## Repository Automation Defaults - Use `.github/workflows/security-ci.yml` as the default CI security baseline. - Use `.github/dependabot.yml` to keep Actions dependencies updated. - Use `.github/pull_request_template.md` to enforce review-time security checks. - Use `SECURITY_GATES.md` as readiness scoring criteria with evidence-backed assessment. ## References - https://appwrite.io/docs/advanced/platform/api-keys - https://appwrite.io/docs/advanced/security/abuse-protection - https://appwrite.io/docs/advanced/platform/rate-limits - https://appwrite.io/docs/advanced/security/audit-logs - https://appwrite.io/docs/advanced/self-hosting/production/security - https://appwrite.io/docs/advanced/self-hosting/tls-certificates - https://appwrite.io/docs/advanced/self-hosting/production/backups - https://appwrite.io/docs/advanced/self-hosting/production/updates - https://docs.github.com/en/code-security/concepts/supply-chain-security/about-the-dependency-graph - https://docs.github.com/en/code-security/concepts/supply-chain-security/about-dependabot-security-updates - https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates - https://docs.github.com/en/code-security/concepts/supply-chain-security/about-the-dependabot-yml-file - https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-review-action - https://docs.github.com/github/administering-a-repository/about-token-scanning - https://docs.npmjs.com/cli/v9/commands/npm-audit/ - https://yarnpkg.com/cli/npm/audit - https://bun.sh/docs/pm/cli/audit - https://google.github.io/osv-scanner/usage/ - https://google.github.io/osv-scanner/usage/scan-image
Related Skills
Build Your Cloud Security Skill
Create your cloud security skill in one prompt, then learn to improve it throughout the chapter
azure-security-keyvault-keys-dotnet
Azure Key Vault Keys SDK for .NET. Client library for managing cryptographic keys in Azure Key Vault and Managed HSM. Use for key creation, rotation, encryption, decryption, signing, and verification.
aws-security-audit
Comprehensive AWS security posture assessment using AWS CLI and security best practices
awesome-copilot-root-stackhawk-security-onboarding
Automatically set up StackHawk security testing for your repository with generated configuration and GitHub Actions workflow Use when: the task directly matches stackhawk security onboarding responsibilities within plugin awesome-copilot-root. Do not use when: a more specific framework or task-focused skill is clearly a better match.
astro-security
Security patterns for Astro lead generation websites on Cloudflare. Forms, headers, bot protection, GDPR. Use for any production lead gen site.
architecting-security
Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and control frameworks (NIST CSF, CIS Controls, ISO 27001). Use when designing security for new systems, auditing existing architectures, or establishing security governance programs.
arch-security-review
Use when reviewing code for security vulnerabilities, implementing authorization, or ensuring data protection.
application-security
Secure applications against common vulnerabilities. Use when reviewing code for security, implementing security controls, or hardening applications. Covers OWASP Top 10.
api-security-testing
API security testing workflow for REST and GraphQL APIs covering authentication, authorization, rate limiting, input validation, and security best practices.
agent-security-manager
Agent skill for security-manager - invoke with $agent-security-manager
agent-security-engineer
Expert infrastructure security engineer specializing in DevSecOps, cloud security, and compliance frameworks. Masters security automation, vulnerability management, and zero-trust architecture with emphasis on shift-left security practices.
agent-security-auditor
Expert security auditor specializing in comprehensive security assessments, compliance validation, and risk management. Masters security frameworks, audit methodologies, and compliance standards with focus on identifying vulnerabilities and ensuring regulatory adherence.