Skip to main content

cgw-security

Use when a change in safe-client-gateway touches authentication, authorization, guards, signatures, JWTs, cookies, secrets, env-var declaration, PII, rate limiting, logging of request data, redirects, or upstream URL construction. For a plain non-secret env var or a feature flag, load cgw-config instead - this skill only claims the secret half (keys, tokens, private keys, anything whose leak matters). Covers the 15 hard rules drawn from this repo's real security incidents - guard placement on state-changing and caller-scoped routes, identity only via SIWE signature recovery or a verified JWT, replay protection, request.ip instead of X-Forwarded-For, timingSafeEqual, KMS field encryption, input sanitization, structured-logging field whitelists. Triggers on "auth", "guard", "token", "signature", "secret", "env var", "PII", "encrypt", "rate limit", "who is the caller", and on any request phrased as a permission - "let a user do X to their own Y", "only the owner should be able to", "can this user", "members only

Ir para a instalação

Informações da origem

Repositório
safe-global/safe-client-gateway
Última atividade na origem
7 de agosto de 2026 às 12:46
Idioma detectado do SKILL.md
inglês
Estrelas
50
Forks
102

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.