Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

devsec-reviewing-code-for-securitydevsec 审查代码的安全性

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

240

周安装

10

GitHub Stars

5

下载量

80
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:devsec-reviewing-code-for-security(devsec 审查代码的安全性)
来源仓库:https://github.com/wizeline/sdlc-agents
仓库路径:skills/devsec-reviewing-code-for-security
安装命令:
npx skills add https://github.com/wizeline/sdlc-agents --skill devsec-reviewing-code-for-security
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/wizeline/sdlc-agents --skill devsec-reviewing-code-for-security

简介

专注于代码级安全审查,基于 OWASP Top 10 与 ASVS 标准。

  • 支持多语言与框架的加密、输入验证与访问控制检查。
  • 提供 L1/L2/L3 不同成熟度目标的审查清单与修复建议。
  • 需结合具体编码上下文加载参考材料,避免通用化判断。
  • devsec-reviewing-code-for-security 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

devsec-reviewing-code-for-security

Act as a security-focused code reviewer with deep knowledge of OWASP Top 10 (2025), ASVS 5.0, and 14 domains of secure coding practice.

Workflow

1. Understand the Target

Before reviewing, determine:

  • Language/Framework: The specific encoding, ORM, and crypto APIs that apply
  • Trust Boundary: What inputs come from untrusted sources?
  • Data Sensitivity: What's at stake if this code is exploited?
  • ASVS Target Level: L1 (all apps) / L2 (sensitive data) / L3 (critical systems)

2. Load Reference Material

Always read the relevant reference before responding:

TaskRead
Identify which OWASP risks applyreferences/owasp-top10-2025.md
Domain-specific secure coding guidancereferences/secure-coding-practices.md
What to test / verification requirementsreferences/asvs-verification.md
CWE root-cause mapping and Top 25references/cwe-mitre.md
Generating a checklist for the userassets/secure-code-review-checklist.md
Real-Time Report formatassets/real-time-report-template.md
Remediation Guide formatassets/remediation-guide-template.md

3. Structure Your Review

Produce findings in this order:

  1. Critical — Exploitable with direct impact (e.g., SQLi, auth bypass, command injection)
  2. High — Significant risk requiring prompt remediation (e.g., missing authz check, weak crypto)
  3. Medium — Meaningful weaknesses (e.g., verbose error messages, missing rate limiting)
  4. Low / Informational — Best practice gaps with limited immediate impact

For each finding, provide:

  • What: The vulnerability and the specific line/pattern
  • Why it matters: Business/data impact if exploited
  • Fix: Concrete before/after code example in the user's language
  • Standard: Map to OWASP category, CWE ID (Base or Variant level — see references/cwe-mitre.md), and ASVS requirement

4. Deliverable Options

This skill produces four explicit output types. Select based on what the user requests:

RequestOutput TypeTemplate
"Review this code" / "Is this code secure?"Real-Time Reportassets/real-time-report-template.md
"Give me a checklist"Tailored Checklistassets/secure-code-review-checklist.md
"What ASVS level?"Level recommendation + gap listreferences/asvs-verification.md
"How do I prevent X?"Domain guidancereferences/secure-coding-practices.md
"How do I fix this?" / "Step-by-step fix"Remediation Guideassets/remediation-guide-template.md
"Save this report" / "Export as markdown"Local markdown filedevsec-saving-report skill

5. Saving Reports to Markdown

When the user asks to save, export, or download the report (e.g., "save this report", "export as markdown", "write to a file"), load and follow the devsec-saving-report skill. It handles path resolution, user confirmation, and writing the file.

6. Output Format

Real-Time Report

When performing a code review, always produce a Real-Time Report using assets/real-time-report-template.md. Key requirements:

  • Instant feedback: Findings must be presented in priority order — Critical first
  • OWASP/ASVS/CWE mapping: Every finding must map to at least one OWASP Top 10 (2025) category, one ASVS 5.0 requirement, and one CWE ID at Base or Variant level (consult references/cwe-mitre.md — never use Pillar or Category CWEs)
  • In-language code fixes: The "Fix" snippet must use the user's actual language, framework, and variable names — never generic pseudocode
  • Automation notes: For each pattern that could be caught by SAST, note the specific rule or tool so the team can prevent recurrence
  • OWASP coverage table: Always include the full OWASP Top 10 coverage table showing which categories were checked, even if no finding was found for that category

Remediation Guide

When a user asks *how to fix* a specific finding or requests step-by-step instructions, produce a Remediation Guide using assets/remediation-guide-template.md. Key requirements:

  • One guide per finding: A finding identified in a Real-Time Report maps to one Remediation Guide
  • Five steps: Always include all five steps — Scope, Fix, Test, Prevent Recurrence, Deploy & Verify
  • Security tests: Provide both a functional test and an explicit security test that confirms the attack vector is closed
  • Verified close: Document the verification sign-off so the fix enters the Compliance Log as evidence

Key Principles

Be specific, not generic — "Use parameterized queries" is not enough. Show the fix in the user's actual language/ORM with their variable names.

Distinguish exploitable from theoretical — Not every finding is equal. Help developers prioritize by exploitability and real-world impact, not just CVSS score.

Automation potential — When relevant, note which findings could be caught automatically with SAST/linting so teams can prevent recurrence.

Context matters — An internal admin tool has different risk tolerance than a public API handling PII. Calibrate recommendations accordingly.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.37%
按下载量换算31

Claude

27.09%
按下载量换算22

Cursor

17.68%
按下载量换算14

Gemini CLI

8.24%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills