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

跳到安装

来源信息

仓库
safe-global/safe-client-gateway
最近来源活动
2026年8月7日 12:46
检测到的 SKILL.md 语言
英语
星标
50
分支
102

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。