代码与配置安全审计
performing-security-audits
该技能使 Claude 能够对代码、基础设施和配置进行全面的安全审计。它利用 security-pro-pack 插件中的多种工具,包括漏洞扫描、合规检查、密码学审查……
- License 许可
- MIT
- 最近更新
- 2025-12-18
- Stars
- ★ 29
- Forks
- 9
01 前言 Front Matter
- name
- performing-security-audits
- license
- MIT
- description
- This skill allows claude to conduct comprehensive security audits of code, infrastructure, and configurations. it leverages various tools within the security-pro-pack plugin, including vulnerability scanning, compliance checking, cryptography revi...
- allowed-tools
- [ "Read", "Write", "Edit", "Grep", "Glob", "Bash" ]
02 资源文件 7
- 资产文件assets/compliance_report_template.md5.1 KB
- 资产文件assets/README.md294 B
- 资产文件assets/security_scan_report_template.md8.0 KB
- 资产文件assets/threat_model_template.md6.6 KB
- 参考文档references/README.md563 B
- 脚本scripts/README.md531 B
- 脚本scripts/security_scan.sh2.8 KB
03 SKILL.md 正文
Overview
This skill empowers Claude to perform in-depth security audits across various domains, from code vulnerability scanning to compliance verification and infrastructure security assessment. It utilizes the specialized tools within the security-pro-pack to provide a comprehensive security posture analysis.
How It Works
- Analysis Selection: Claude determines the appropriate security-pro-pack tool (e.g.,
Security Auditor Expert,Compliance Checker,Crypto Audit) based on the user's request and the context of the code or system being analyzed. - Execution: Claude executes the selected tool, providing it with the relevant code, configuration files, or API endpoints.
- Reporting: Claude aggregates and presents the findings in a clear, actionable report, highlighting vulnerabilities, compliance issues, and potential security risks, along with suggested remediation steps.
When to Use This Skill
This skill activates when you need to:
- Assess the security of code for vulnerabilities like those in the OWASP Top 10.
- Evaluate compliance with standards such as HIPAA, PCI DSS, GDPR, or SOC 2.
- Review cryptographic implementations for weaknesses.
- Perform container security scans or API security audits.
Examples
Example 1: Vulnerability Assessment
User request: "Please perform a security audit on this authentication code to find any potential vulnerabilities."
The skill will:
- Invoke the
Security Auditor Expertagent. - Analyze the provided authentication code for common vulnerabilities.
- Generate a report detailing any identified vulnerabilities, their severity, and recommended fixes.
Example 2: Compliance Check
User request: "Check this application against GDPR compliance requirements."
The skill will:
- Invoke the
Compliance Checkeragent. - Evaluate the application's architecture and code against GDPR guidelines.
- Generate a report highlighting any non-compliant areas and suggesting necessary changes.
Best Practices
- Specificity: Provide clear and specific instructions about the scope of the audit (e.g., "audit this specific function" instead of "audit the whole codebase").
- Context: Include relevant context about the application, infrastructure, or data being audited to enable more accurate and relevant results.
- Iteration: Use the skill iteratively, addressing the most critical findings first and then progressively improving the overall security posture.
Integration
This skill seamlessly integrates with all other components of the security-pro-pack plugin. It also works well with Claude's existing code analysis capabilities, allowing for a holistic and integrated security review process.
04 同仓库更多 Skills
UI 视觉回归测试
testing-visual-regression
使用截图比较检测 UI 组件中的视觉变化。 在检测意外的 UI 更改或像素差异时使用。 用“测试视觉变化”、“比较截图”或“检测 UI 回归”等短语触发。
单元测试自动生成
generating-unit-tests
从源代码自动生成全面的单元测试,覆盖正常路径、边界条件和错误情况。 在为函数、类或模块创建测试覆盖时使用。 用“生成单元测试”、“为…创建测试”或“添加测试覆盖”等短语触发。
测试报告生成与可视化
generating-test-reports
生成包含指标、覆盖率和可视化内容的全面测试报告。 在执行专项测试时使用。 用“生成测试报告”、“创建测试文档”或“显示测试指标”等短语触发。
测试执行编排与协调
orchestrating-test-execution
协调跨多个环境和框架的并行测试执行。 在执行专项测试时使用。 用“编排测试”、“运行并行测试”或“协调测试执行”等短语触发。
managing-test-environments
Provision and manage isolated test environments with configuration and data. Use when performing specialized testing. Trigger with phrases like "manage test environment", "provision test env", or "setup test infrastructure".
generating-test-doubles
Generate mocks, stubs, spies, and fakes for dependency isolation. Use when creating mocks, stubs, or test isolation fixtures. Trigger with phrases like "generate mocks", "create test doubles", or "setup stubs".