证据快照复核于 2026-09-16GitHub 数据核对日期: 2026-08-21
来源已审查独立 Skill安全与治理

audit

代码审计

快速了解

它能做什么

代码审计

本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。

能力
安全与治理安全code-quality

选择前先看

代码审计 供应的固定技能文档描述了其触发条件和工作流。

适合谁

需要在 DSH 项目中使用此工作流的用户。

常见任务

  • 代码审计

权限与数据

该技能用于指导本地工作流;外部行为未经过独立审计。

权限
  • 使用文档中的技能工作流。
数据处理
  • 本轮未独立审计数据处理方式。
外部服务
  • 外部服务以供应项目说明为准。
凭据
  • 本轮未独立测试凭据要求。

局限

  • 技能文档未证明运行时兼容性。

DSHub 已核对

  • 已记录源代码提交和完整技能文档。

DSHub 未核对

  • Installation and runtime behavior were not tested.

固定版本安装

主要操作

这个独立 Skill没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。

访问源码项目 ↗

维护者原文

Skill 使用说明

查看 commit f0d89ff 对应的 SKILL.md ↗
维护者编写的上游内容原文于 2026/8/29 从 .agents/skills/audit/SKILL.md 获取,正文和仓库相对媒体固定到 commit f0d89ff68651,内容哈希为 8cf852c43daf。以下是未经 DSHub 翻译的上游原文,语言可能与当前页面不同;第三方托管的 badge 可能独立更新。

name: audit description: Use when asked to audit a codebase, or when the /audit command runs — find security, correctness, and quality issues across a project and report them organized by severity.

Code Audit

Audit the current project for security, correctness, and quality issues. Work through the codebase systematically rather than sampling files.

Procedure

  1. Identify the project structure, entry points, and external attack surface (network input, file input, shell commands).
  2. Scan for common issue classes:
    • Security: injection (command/shell, path traversal), secrets in code, unsafe deserialization, missing auth/authorization, TLS misuse, dependency vulnerabilities (lockfile advisories).
    • Correctness: race conditions, error paths swallowing failures, off-by-one / boundary errors, resource leaks (handles, sockets), unhandled promise rejections.
    • Quality: dead code, duplicated logic, missing validation at boundaries, poor error messages, missing tests for critical paths.
  3. Verify suspicions against the actual code — cite file paths and line-level evidence.
  4. Report findings organized by severity (critical / high / medium / low), each with: location, what's wrong, why it matters, and a concrete fix suggestion.
  5. End with a short "healthy areas" note so the audit is balanced.

Constraints

  • Do not modify code during the audit — findings only.
  • If the project is small or has no security surface, say so explicitly instead of padding the report.

有意识地管理

安装与管理

前置条件与目标 Profile

目标: 没有原生 DSH Profile 目标。

交付方式: Skill 文件 — https://github.com/ccch1mneyyy/dsh-tui。

兼容性与访问范围

requires_host_review: Not established by supplied evidence。

检查兼容性证据 ↗

风险事实

execution

Review instructions before use.

证据 ↗
证据与编辑审查Manifest、Bundle patch、分发与新鲜度

不可变证据

审查状态与源码活动

人工已批准

在核对来源内容和不可变发布记录后,已由人工批准发布。AI 参与了内容草稿生成,最终发布决定由人工完成。

人工审查于 2026/8/29 UTC 15:18。GitHub 事实核对日期: 2026/8/20 UTC 14:01。

自当前证据基线以来,没有记录到重要源码变化。

下一步

比较生态 Artifact 类型 →

订阅重要变化: audit →