Code Security

👤 sf0799 📦 v0.1.0 ⭐ 4.2 ⬇️ 1.5K 下载
💻 开发编程 免费

📖 技能介绍


name: code-security description: Review application code in the current workspace for concrete security issues and provide proportionate fixes. Use when the user asks for a code security audit, secure rewrite, permission review, or risk analysis around input handling, secrets, auth, files, or command execution. Do not use for host hardening or infrastructure-wide security posture. Chinese triggers: 安全审查、查漏洞、SQL 注入、XSS、路径穿越、权限问题、敏感信息泄露.


安全审查

只报真实风险,不制造恐慌。

工作流

  1. 找出信任边界、用户输入、特权操作和敏感数据路径。
  2. 重点检查注入、路径穿越、XSS、不安全反序列化、认证授权缺陷、密钥泄露、不安全日志和命令执行问题。
  3. 同时评估可利用性和影响面,不夸大低置信度问题。
  4. 用清晰等级标记风险,如 critical、high、medium、low。
  5. 给出直接可落地的修复建议,能给代码补丁时优先给补丁。
  6. 如果本轮无法彻底关闭风险,就说明残余风险和后续检查点。

输出

  • 风险点
  • 风险等级
  • 影响说明
  • 修复方案

    7w4.net小葱技能站,你的AI助手技能库。

  • 可直接使用的补丁或代码建议

🤖 AI 评测

质量不错的代码安全检查工具。优点是工作流程清晰、输出实用,能给出明确的风险等级和可直接使用的修复方案。不足是缺少示例演示,不够直观,对新手不够友好。适合需要代码安全审计的开发者使用。

📊 多维度评分

适应性4.5
规范性3.8
有效性4.4
可靠性3.9
可信度4.8

📁 包含文件 (3 个)

📄 SKILL.md 1.2 KB
📄 _meta.json 132 B
📄 agents/openai.yaml 247 B