🔒
QualityPython

Security Audit

by laolaoshiren

Security Audit is a Quality skill for Claude Code, published by laolaoshiren in claude-code-skills-zh.

786 stars84 forkson laolaoshiren/claude-code-skills-zhAdded 2026/08/23+1% in starsRepository updated 2026/08/23
ai-agentawesome-listclaude-codeclaude-skillsdeveloper-toolsprompt-engineeringskills
Install in seconds
Install Security Audit
Copy Security Audit into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/laolaoshiren/claude-code-skills-zh/tree/main/skills/security-audit ~/.claude/skills/security-audit

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/laolaoshiren/claude-code-skills-zh.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/security-audit/SKILL.md in laolaoshiren/claude-code-skills-zh
Installs to
~/.claude/skills/security-audit
Collection
One of 20 skills cataloged from this repository
Category
Quality — 1897 skills

What Security Audit does

Security Audit checks code and dependencies for common vulnerabilities such as injection, weak authentication, and exposed secrets. Use it when you need a static security review and a prioritized remediation report.

Security Audit is cataloged under Quality on DirSkills. Security Audit comes from a repository tagged ai-agent, awesome-list, claude-code, claude-skills and developer-tools.

Documentation

README

代码安全审计

触发条件

当用户要求安全检查、漏洞扫描、安全审计、依赖安全检查时激活此技能。

工作流程

  1. 确定审计范围 — 根据用户指定的目录/文件/代码段进行分析
  2. 静态安全扫描 — 按检查清单逐项排查
  3. 依赖安全检查 — 检查 package.json / requirements.txt / go.mod 等依赖文件
  4. 生成审计报告 — 按严重程度分类输出

检查清单

🔴 高危

  • 硬编码密钥/密码/API Key
  • SQL 注入风险(字符串拼接 SQL)
  • 命令注入(未过滤的 shell 命令)
  • 路径遍历(未校验的文件路径)
  • 反序列化漏洞
  • 未校验的 JWT/Token 验证

🟡 中危

  • XSS 风险(未转义的用户输入)
  • CSRF 保护缺失
  • 不安全的随机数生成
  • 敏感信息日志泄露
  • 过宽的权限设置
  • 缺少 Rate Limiting

🟢 低危

  • 缺少输入验证
  • 依赖版本过旧
  • 缺少安全头部(CSP, HSTS, X-Frame-Options)
  • 错误信息泄露内部细节
  • 缺少 HTTPS 强制

输出格式

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Security Audit

  • What else does laolaoshiren publish alongside Security Audit?

    Security Audit is one of 20 skills that DirSkills catalogs from laolaoshiren/claude-code-skills-zh, the repository it ships in. Its siblings there include API Tester, Changelog Generator and Chinese Code Reviewer. Each one is a separate skill with its own page in this directory, installs the same way Security Audit does, and is maintained by laolaoshiren in that same repository. The rest of the collection is listed on the laolaoshiren/claude-code-skills-zh page.

  • How does Security Audit compare to other Quality skills?

    Security Audit ranks #994 by stars among the 1897 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Security Audit against them. Open each page to compare what they document and how they install.

More from laolaoshiren/claude-code-skills-zh

Security Audit is one of 20 skills cataloged on DirSkills from laolaoshiren/claude-code-skills-zh.

See all 20 skills →
🧪
2026/08/23

API Tester

API Tester generates and verifies API tests from OpenAPI, routes, types, and existing tests. Use it to add interface tests, validate contracts, create regressions, or investigate compatibility without guessing responses or sending writes without approval.
Quality
78684
📝
2026/08/23

Changelog Generator

Changelog Generator creates changelogs and release notes from Git history. Use it when you need to summarize commits into versioned change logs.
Writing
78684
🔍
2026/08/23

Chinese Code Reviewer

Chinese Code Reviewer generates structured code review reports in Chinese. Use it when you need to check code quality, bugs, performance, security, and design issues.
Quality
78684
📚
2026/08/23

Chinese Documentation Generator

Chinese Documentation Generator creates Chinese technical documentation from a codebase, including project overviews, quick start guides, API references, examples, and FAQs. Use it when you need Markdown docs for a project or API.
Writing
78684
🗄️
2026/08/23

Database Migrator

Database Migrator compares schemas, identifies table and column changes, and generates migration scripts with rollback steps. Use it when you need database upgrades, schema changes, or framework-specific migrations.
DevOps
78684
🔍
2026/08/23

Dependency Auditor

Dependency Auditor 审计 Node.js、Python、Go、Rust、JVM 和 Ruby 项目的依赖漏洞、版本健康度与许可证事实。适合在检查 lockfile、manifest 或生成不改依赖的中文审计报告时使用。
Quality
78684