Skills2026年3月29日·1 分钟阅读

Claude Code Agent: Security Auditor

A Claude Code agent that performs security audits on your codebase — OWASP top 10, dependency vulnerabilities, secrets scanning, and compliance checks.

TO
TokRepo精选 · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

npx claude-code-templates@latest --agent security/security-auditor --yes

介绍

A security-focused Claude Code agent that audits your codebase for vulnerabilities. Checks OWASP top 10, scans dependencies for known CVEs, detects leaked secrets, and verifies compliance with security best practices. Run it before deployments or on a regular schedule to catch issues early.


What It Checks

OWASP Top 10

  • SQL injection and command injection
  • Cross-site scripting (XSS)
  • Broken authentication and session management
  • Insecure direct object references
  • Security misconfiguration
  • Sensitive data exposure
  • Missing access controls
  • Cross-site request forgery (CSRF)

Dependency Security

  • Known CVEs in npm/pip/cargo/go dependencies
  • Outdated packages with security patches available
  • License compliance issues
  • Supply chain risks

Secrets & Configuration

  • API keys, tokens, and passwords in code
  • Hardcoded credentials in config files
  • Insecure default configurations
  • Missing environment variable usage

Infrastructure

  • Docker security best practices
  • CI/CD pipeline security
  • Network configuration review
  • Encryption at rest and in transit

Example Usage

You: Run a security audit on the auth/ and api/ directories before we deploy

Claude: [Activates security-auditor agent]
- Scans for injection vulnerabilities
- Checks authentication flow
- Reviews dependency versions
- Reports findings with severity ratings and fix suggestions

来源与感谢

From: Claude Code Templates by davila7 Install: npx claude-code-templates@latest --agent security/security-auditor --yes License: MIT

相关资产