Skills Plugins MCP Prompt Model 博客 我的中心
开发编程 #security

code-security-review

Scans source code for security vulnerabilities — injection flaws, authentication bypasses, hardcoded secrets, XSS, and more — then filters false positives and ranks findings by severity and confidence. Supports all programming languages. Uses a three-phase audit-filter-report workflow with customizable scan categories and filtering rules. Use when the user asks for a security review, vulnerability scan, security audit, code security check, or wants to find security bugs in their code.

DeepseekModel 官方收录技能 质量 良好 · 64 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=ez-lbz-claude-code-security-skills-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name code-security-review description Scans source code for security vulnerabilities — injection flaws, authentication bypasses, hardcoded secrets, XSS, and more — then filters false positives and ranks findings by severity and confidence. Supports all programming languages. Uses a three-phase audit-filter-report workflow with customizable scan categories and filtering rules. Use when the user asks for a security review, vulnerability scan, security audit, code security check, or wants to find security bugs in their code. Code Security Review Skill This skill follows a strictly ordered, three-phase process: audit, filter, then report. Complete all phases in sequence — do not report findings until filtering is complete. Skill Components Before starting, read all of the following resource files: Resource Path Read Requirement Audit Prompt resources/audit-prompt.md MUST read before Phase 1 Hard Exclusion Patterns resources/hard-exclusion-patterns.md MUST read before Phase 2 False Positive Filtering Rules resources/filtering-rules.md MUST read before Phase 2 Customization Guide resources/customization-guide.md Read if project-specific rules are needed Execution Process Phase 1: Security Audit Goal: Produce a raw list of candidate findings. Cast a wide net — do not filter at this stage. Read resources/audit-prompt.md before starting analysis. Execute the three-phase analysis defined in that document: Phase 1a — Codebase Context Research : Security frameworks, auth patterns, threat model. Phase 1b — Comparative Analysis : Compare code against secure patterns, flag deviations. Phase 1c — Vulnerability Assessment : Trace data flows, injection points, privilege boundaries. Produce a raw findings list in this internal format (not shown to user yet): RAW FINDING #N - Title: <short title> - File: <path:line> - Category: <e.g. path_traversal, sql_injection, rce> - Severity: HIGH / MEDIUM / LOW - Description: <what the bug is> - Attack Path: <how an attacker exploits it step by step> Checkpoint: Phase 1 is complete when you have a full raw findings list (can be 0 items). Phase 2: Filter Findings Goal: Remove false positives. Apply this phase to every item from Phase 1, even if a finding seems obviously valid. Step 2a — Hard Exclusion Pass Read resources/hard-exclusion-patterns.md . For each raw finding, check: Does the title or description match any hard exclusion pattern (DOS, rate limiting, resource management, open redirect, memory safety in non-C/C++, regex injection, SSRF in HTML)? Is the file a Markdown ( .md ) file? If YES → mark finding as EXCLUDED (Hard Pattern) with the matching rule name. Step 2b — AI Filtering Pass Read resources/filtering-rules.md . For each non-excluded finding, produce this table row: # Title Hard Excl? Precedent Hit? Concrete Attack Path? Confidence (1-10) Decision Reason 1 ... No No Yes 9 KEEP Directly exploitable, specific code path 2 ... No UUID unguessable (Precedent #2) Conditional 5 EXCLUDE UUID ID guessing required Confidence scoring uses the 1-10 scale from filtering-rules.md : Score Meaning Action 1-3 Low confidence, likely false positive EXCLUDE 4-6 Medium confidence, needs investigation EXCLUDE (unless very concrete) 7-10 High confidence, likely true vulnerability KEEP Rule: Any finding with Confidence < 7 is excluded. Checkpoint: Phase 2 is complete when every raw finding has a row in the filter table with a KEEP/EXCLUDE decision. Phase 3: Report (Only KEPT findings) Goal: Output only the findings that survived Phase 2 filtering. Output the filter table first, then the detailed findings. Filter Summary Table (always show this) Show the Phase 2 table so the reader can see the filtering decisions. Detailed Finding Report (only KEPT items) For each KEPT finding, output: ## Vuln N: <Category>: `<file:line>` * Severity: HIGH / MEDIUM / LOW * Confidence: <1-10 score> / 10 * Description: <what the vulnerability is> * Exploit Scenario: <concrete step-by-step attack> * Recommendation: <specific fix> Non-Findings Summary List EXCLUDED findings briefly: ## Excluded Findings (N total) | # | Title | Reason | |---|-------|--------| | 1 | Missing rate limiting | Hard exclusion: rate limiting | Severity Reference Severity Criteria HIGH Directly exploitable: RCE, data breach, authentication bypass MEDIUM Requires specific conditions but has significant impact LOW Defense-in-depth issues or lower-impact vulnerabilities
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。