mcpField
S
security-pr-checklist-skill

security-pr-checklist-skill

github.com/patricio0312rev安全63262 次安装41 周前更新
代码仓库

关于 security-pr-checklist-skill

用于统一执行拉取请求安全审查的 Skill,涵盖身份验证、授权和凭据检查,并帮助整理审查指引及自动化检查项。

主要功能

  1. 01身份验证与授权检查
  2. 02硬编码凭据检查
  3. 03PR 模板与审查指引
  4. 04CI 安全检查事项

适用场景

  1. 01审查拉取请求中的身份验证改动
  2. 02为 PR 模板添加安全标准
  3. 03记录常见安全问题

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/patricio0312rev/skills --skill security-pr-checklist-skill

安装后在 Claude Code 中输入/security-pr-checklist-skill确认已加载。

详细介绍

安全 PR 检查清单技能

对拉取请求进行标准化安全审查。

PR 安全检查清单

## Security Review Checklist

### Authentication & Authorization

- [ ] No hardcoded credentials
- [ ] Authorization checks on all endpoints
- [ ] Session management secure
- [ ] Rate limiting on auth endpoints

### Input Validation

- [ ] All inputs validated
- [ ] Output properly encoded
- [ ] No SQL injection risks
- [ ] No XSS vulnerabilities

### Data Protection

- [ ] Sensitive data encrypted at rest
- [ ] HTTPS enforced
- [ ] No PII in logs
- [ ] Secure cookie configuration

### Dependencies

- [ ] No new high/critical vulnerabilities
- [ ] Dependencies up to date
- [ ] No suspicious packages

### Secrets Management

- [ ] No secrets in code
- [ ] Environment variables used
- [ ] .env files in .gitignore

### Error Handling

- [ ] No sensitive info in errors
- [ ] Generic error messages
- [ ] Proper logging

输出检查清单

  • 已创建 PR 模板
  • 必需的安全检查
  • 已记录常见陷阱
  • CI 中的自动化检查
  • 审查指南 ENDFILE

评论

支持 Markdown