Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

dep-audit部门审计

Agent Skill

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

总安装

26,682

周安装

1,069

GitHub Stars

公开资料未说明

下载量

8,638
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:dep-audit(部门审计)
来源仓库:https://github.com/tkuehnl/dep-audit
安装命令:
openclaw skills install dep-audit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install dep-audit

简介

dep-audit 审核项目依赖项以查找已知漏洞 (CVE),支持 npm、pip、Cargo 和 Go。

  • 适合在 CI/CD 流程中集成安全检查,无需 API 密钥即可运行。
  • 通过 clawhub 安装并使用 openclaw skills install dep-audit 命令部署。
  • 默认仅报告模式,修复操作需人工确认风险后再执行。
  • 建议定期扫描并关联 CVE 公告更新依赖版本。

SKILL.md

name
dep-audit
description
>
Safe-by-default
report-only mode, fix commands require confirmation.
version
0.1.3
author
Anvil AI
tags
[security, audit, dependencies, cve, supply-chain, discord, discord-v2]

Dependency Audit Skill

Detect and report known vulnerabilities in your project's dependency tree. Supports npm, pip (Python), Cargo (Rust), and Go out of the box. No API keys. No config. Just point it at a project.

Activation

This skill activates when the user mentions:

  • "audit", "vulnerability", "CVE", "dependency check", "supply chain", "security scan"
  • Checking dependencies, lockfiles, or packages for issues
  • Generating an SBOM (Software Bill of Materials)

Example Prompts

  1. "Audit this project for vulnerabilities"
  2. "Check all my repos in ~/projects for known CVEs"
  3. "Are there any critical vulnerabilities I should fix right now?"
  4. "Generate an SBOM for this project"
  5. "What dependencies need updating in this project?"
  6. "Audit only the Python dependencies"

Permissions

permissions:
  exec: true          # Required to run audit CLIs
  read: true          # Read lockfiles
  write: on-request   # SBOM generation writes sbom.cdx.json when user asks
  network: true       # Tools fetch advisory DBs

Agent Workflow

Follow this sequence exactly:

Step 1: Detect

Run the detection script to discover lockfiles and available tools:

bash <skill_dir>/scripts/detect.sh <target_directory>

If no target directory is given, use the current working directory (.).

Parse the JSON output. Note which ecosystems have lockfiles and which tools are available.

Step 2: Audit Each Ecosystem

For each ecosystem detected in Step 1:

  • If the audit tool is available, run the corresponding script:
  bash <skill_dir>/scripts/audit-npm.sh <directory>
  bash <skill_dir>/scripts/audit-pip.sh <directory>
  bash <skill_dir>/scripts/audit-cargo.sh <directory>
  bash <skill_dir>/scripts/audit-go.sh <directory>
  • If the tool is missing, tell the user which tool is needed and the install command from the detect output. Skip that ecosystem and continue with others.
Note: yarn.lock and pnpm-lock.yaml are detected as yarn and pnpm ecosystems respectively. Audit support is npm-only in v0.1.x (package-lock.json). If only a yarn.lock or pnpm-lock.yaml is present, inform the user that dedicated yarn/pnpm audit is not yet supported and suggest running yarn audit or pnpm audit manually.

Each script outputs normalized JSON to stdout.

Step 3: Aggregate

Pipe or pass all per-ecosystem JSON results to the aggregator:

bash <skill_dir>/scripts/aggregate.sh <npm_result.json> <pip_result.json> ... 1>unified.json 2>report.md

The aggregator outputs unified JSON to stdout and a Markdown report to stderr. Capture both: 2>report.md for the Markdown, 1>unified.json for the JSON.

Step 4: Present Results

Show the user the Markdown report from the aggregator. Highlight:

  • Total vulnerability count by severity
  • Critical and High findings first (these need attention)
  • Which ecosystems were scanned vs skipped

If zero vulnerabilities found: report "✅ No known vulnerabilities found." If no lockfiles found: report "No lockfiles found in <dir>. This skill works with npm, pip, Cargo, and Go projects."

Discord v2 Delivery Mode (OpenClaw v2026.2.14+)

When the user is in a Discord channel:

  • Send a short first response with totals and only Critical/High findings.
  • Keep the first message under ~1200 characters and avoid large Markdown tables up front.
  • If Discord components are available, include quick actions:

- Show Full Report - Show Fix Commands - Generate SBOM

  • If components are unavailable, provide the same options as a numbered list.
  • Send long details in short chunks (<=15 lines) to improve readability.

Step 5: Fix Suggestions (only if user asks)

If the user asks to fix vulnerabilities:

  1. List every fix command with the package name, current version, and target version.
  2. Suggest creating a branch first: git checkout -b dep-audit-fixes
  3. Ask for explicit confirmation before running ANY fix command.
  4. Never batch-run fix commands silently.

Example interaction:

I found these fix commands:
  1. cd /home/user/project && npm audit fix
  2. pip install requests>=2.31.0

I recommend creating a branch first:
  git checkout -b dep-audit-fixes

Shall I run them? (yes/no)

Step 6: SBOM (only if user asks)

bash <skill_dir>/scripts/sbom.sh <directory>

Report the file location and component count.

Error Handling

SituationBehavior
Tool not foundPrint which tool is missing + install command. Continue with available tools.
Audit tool failsCapture stderr, report "audit failed for [ecosystem]: [error]". Continue with others.
Timeout (>30s per tool)When timeout/gtimeout is available, report "audit timed out for [ecosystem], skipping". Continue.
Invalid target directoryReport "directory not found or not accessible" and stop that ecosystem scan (do not report false "clean").
No lockfiles foundReport "No lockfiles found" + list supported ecosystems.
jq not availableDetection works without jq. Audit and aggregation require jq — install it first.
Malformed lockfileReport parse error for that ecosystem. Continue with others.

Aggregation Robustness

  • aggregate.sh now tolerates mixed inputs (valid results + error objects).
  • Invalid input objects are listed under errors in unified JSON and rendered in a "Skipped / Error Inputs" Markdown section.
  • If no valid ecosystem results are provided, aggregate output sets status: "error" instead of crashing.

Safety

  • Default mode is report-only. The skill never modifies files unless you explicitly ask for a fix and confirm.
  • Audit tools read lockfiles — they do not execute project code.
  • Fix commands (npm audit fix, pip install --upgrade) are printed as suggestions. The agent will ask for confirmation before running them.
  • This skill checks known advisory databases (OSV, GitHub Advisory DB, RustSec). It does not detect zero-days or runtime vulnerabilities.
  • No data is sent to third-party services beyond what the native audit tools do (they query public advisory databases).
  • No telemetry. No tracking. No phone-home.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

72.44%
按下载量换算6,257

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills