360 Secure SkillHub
360 安全技能中心

Code and System Security Review

面向代码与系统的安全审查 Skill:触发于安全审计、漏洞分析等请求,先梳理信任边界、用户输入与敏感数据路径,检查注入、XSS、路径遍历、反序列化、认证授权、密钥泄露、日志与命令执行等问题,按 critical/high/medium/low 分级,评估可利用性与影响范围并提供可直接应用的修复补丁;无风险时如实确认;附 OWASP Top 10 检查清单。

openlark
openlark
热度 80.32
最近更新 2026-05-29 10:46:27
分类:安全依赖:纯提示词应用场景:代码审查 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add code-security-review
Metadata
name
code-security-review
description
Report only real risks, not manufactured panic. Covers injection, XSS, path traversal, insecure deserialization, authentication and authorization flaws, key leaks, insecure logging, command execution, and other common vulnerabilities.

Code and System Security Review

Report only real risks, not manufactured panic.

Use Cases

Triggers when users request a security review, code audit, security check, vulnerability analysis, security assessment, penetration test, code scan, or security review.

Workflow

  1. Identify trust boundaries, user inputs, privileged operations, and sensitive data paths.
  2. Focus on checking for injection, path traversal, XSS, insecure deserialization, authentication and authorization flaws, key leaks, insecure logging, and command execution issues.
  3. Assess both exploitability and impact scope; do not exaggerate low-confidence issues.
  4. Mark risks with clear severity levels: critical, high, medium, low.
  5. Provide directly actionable remediation recommendations; prioritize providing code patches when possible.
  6. If the risk cannot be fully closed in this round, explain the residual risk and subsequent checkpoints.

Output Format

For each risk point, output:

  • Risk Point: Brief description of the issue's location and nature
  • Risk Level: critical | high | medium | low
  • Impact Description: Actual consequences if exploited
  • Remediation Plan: Specific, actionable steps to fix the issue
  • Patch: A code diff that can be directly applied (prioritize providing this)

When no risks are found, output a brief confirmation and do not fabricate issues.

Common Vulnerability Checklist

See references/checklist.md for details, covering the OWASP Top 10 and common attack surfaces.