跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
安全

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:

  1. SQL injection - use parameterized queries only
  2. XSS - escape all user input in HTML output
  3. CSRF - use tokens for state-changing requests
  4. Hardcoded secrets - use environment variables
  5. Insecure dependencies - use the project's existing dependency-audit tool; report missing tooling instead of installing it automatically
  6. Missing input validation - validate all user inputs
  7. Improper error exposure - don't leak stack traces
  8. Missing authentication - verify auth on all protected routes
  9. Broken access control - check authorization for every action
  10. Sensitive data exposure - encrypt at rest and in transit