安全
security
Security best practices
AgriciDaniel · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add AgriciDaniel/claude-code-essentials-vs-code --skill security技能说明
name: security description: Security best practices
Always check for and prevent:
- SQL injection - use parameterized queries only
- XSS - escape all user input in HTML output
- CSRF - use tokens for state-changing requests
- Hardcoded secrets - use environment variables
- Insecure dependencies - use the project's existing dependency-audit tool; report missing tooling instead of installing it automatically
- Missing input validation - validate all user inputs
- Improper error exposure - don't leak stack traces
- Missing authentication - verify auth on all protected routes
- Broken access control - check authorization for every action
- Sensitive data exposure - encrypt at rest and in transit