security-and-auth

Solid

Security architecture, authentication, authorization, and hardening for the {{PROJECT_NAME}}. Covers JWT+HMAC auth patterns, AES-256-GCM credential encryption, rate limiting design, OWASP Top 10 for Node.js/Hono, RLS policy design, timing-safe comparisons, API key lifecycle, input validation, CORS configuration, WebSocket auth, and proxy relay security. Use when reviewing or writing any code that touches authentication, authorization, credential storage, API key management, rate limiting, input validation, CORS, WebSocket security, proxy security, or any route that handles sensitive data or actions.

AI & Automation 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Security and Authentication ## When to Activate Read this skill when you are: - writing or reviewing ANY code that touches authentication, authorization, session/token handling, or credential storage; - adding or changing a route, WebSocket upgrade, proxy relay, or edge function that handles sensitive data or mutating actions; - reviewing rate limiting, CORS, RLS policies, or input validation; - provisioning cloud infrastructure, IAM policies, a CI/CD pipeline, or edge/CDN config — load `references/cloud-and-ci-cd-security.md` for the least-privilege deploy-substrate posture; - reviewing LLM-adjacent code (prompt handling, tool scopes, agent authority) — load `references/owasp.md` for the OWASP LLM Top-10 rubric; - hunting for a reachable, exploitable vulnerability (vs. a broad best-practices pass) — load `references/vulnerability-hunting.md` for reachability-first triage; - filing or triaging a security finding — severity requires a PoC; load `references/proof-of-exploitability.md`. The machine-first `activation_triggers` frontmatter remains the canonical auto-load rule; this section is its human-scannable mirror. ## Fail-Fast Rule If any security invariant, validation, or precondition fails, **stop and return a structured rejection**. Never degrade security silently. Never skip auth checks "because it's internal." Never log secrets, even partially, unless behind explicit masking. Never assume a route is unreachable. ## Reference Files — progressive ...

Details

Author
Canhada-Labs
Repository
Canhada-Labs/ceo-orchestration
Created
4 weeks ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category