Skip to content
Security
Skill

/code-audit

Use for authorized source-code security review and SAST workflows including Semgrep, CodeQL patterns, dangerous API hunting, and fix verification.

From plugin
reverse-skill
45k46 skills

Claude Code

$ npx -y skills add zhaoxuya520/reverse-skill --skill code-audit --agent claude-code

SKILL.md

code-audit.SKILL.md
name: code-audit
description: Use for authorized source-code security review and SAST workflows including Semgrep, CodeQL patterns, dangerous API hunting, and fix verification.

Source Code Security Audit

ACTION REQUIRED(读完后立刻执行)

1. `NOW`: 读取 `../field-journal/precedent-pentest.md` 或代码审计授权 2. `NOW`: 确认有**源码/仓库访问**(无源码二进制 → 转 RE skill) 3. `NOW`: 明确语言栈与范围(目录/服务/PR diff) 4. `NEXT`: tool-index;semgrep 等 5. `ACT`: 威胁建模草图 → 自动扫描 → 人工验证

适用场景

  • 白盒审计、PR/差分安全审查
  • Semgrep / CodeQL / Bandit / gosec 等 SAST
  • 危险 API、注入点、鉴权缺失、加密误用
  • 与 `supply-chain-security/` 分工:本 skill 偏**自有代码逻辑**,供应链偏依赖与管道

工作流

1. 范围与威胁模型

□ 信任边界:用户输入、文件、反序列化、SSRF、鉴权中间件
□ 高价值资产:鉴权、支付、管理端、密钥处理

2. 自动扫描

semgrep --config auto .
# 或项目规则包
semgrep --config p/owasp-top-ten .

3. 人工验证(MUST)

□ 每个 SAST 命中:可达性?可利用性?误报?
□ 鉴权:IDOR/越权、缺校验、错误的多租户隔离
□ 注入:SQL/命令/模板/LDAP
□ 加密:硬编码密钥、ECB、自定义 crypto

4. 产出

Finding:位置 + 数据流 + PoC + 修复建议
可选 ATT&CK / CWE 编号

工具链

| 工具 | 语言/场景 | |------|-----------| | Semgrep | 多语言快速规则 | | CodeQL | 深数据流(GitHub) | | Bandit | Python | | gosec / staticcheck | Go | | SpotBugs / FindSecBugs | Java |

参考

  • `references/sast-review-checklist.md`
  • `../supply-chain-security/` `../api-security/` `../llm-security/`(Agent 代码)

路由上下文

**上游**: MASTER R26 **角色**: `ops/role-map.md` cae **下游**: 依赖漏洞 → supply-chain;运行时验证 → pentest-tools

任务完成自检

  • [ ] 是否人工验证而非只贴扫描器输出?
  • [ ] 是否含修复建议?
  • [ ] 是否限定在授权仓库范围?
  • [ ] Checklist?
Read more
@zhaoxuya520
Ships withreverse-skill

Reverse Engineering / Authorized Penetration Testing / Security Research Skill Router Pack AI-powered routing + On-demand toolchain bootstrapping + Self-evolving knowledge base Supports Claude Code, Kiro, Cursor, Cline, and other AI coding clients 逆向/渗透/安全技能路由包 - AI 自动路由 + 按需自举工具链 + 自动进化经验库 | 支持 Claude Code / Kiro / Cursor / Cline 等代码 AI 客户端

Stars on GitHub

Momentum

stars in total
45.1k
Star history of zhaoxuya520/reverse-skill on GitHub, a chart by star-history.com

Other skills on reverse-skill.

apk-reverse

apk-reverse

在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的…

attack-chain

attack-chain

Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege…

binary-diff

binary-diff

跨版本符号迁移与二进制差分。当你有旧版本的符号/逆向结果,需要快速迁移到新版本时使用。 适用场景:内核缺 PDB 用旧版符号推导、程序更新后批量迁移函数名、应用更新后快速定位新偏移。 核心方法:用 LLM 做结构化差异比对,程序化输入输出,成本极低(200…

More skills from other plugins.

nemoclaw-user-guide

nemoclaw-user-guide

Find official NemoClaw documentation for installation, configuration, operation, or troubleshooting. Also handles requested docs…

@nvidia@nvidiaInstall Skill
ai-sdk-5

ai-sdk-5

Vercel AI SDK patterns for the installed major (ui/package.json: `ai` 6.x, `@ai-sdk/react` 3.x). The skill name is historical;…

prowler13d15k
@prowler-cloud@prowler-cloudInstall Skill

Questions about code-audit.

Which coding agents can use code-audit?
code-audit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.