审计 Node.js、Python、Go、Rust、JVM、Ruby 项目的依赖漏洞、版本健康度与许可证事实;当用户要求检查 package.json、lockfile、requirements、go.mod、Cargo.toml、pom.xml、Gemfile.lock,或生成不改依赖的中文审计报告时使用

MITAuto-check passedDevelopment

Install Dep Auditor

skills CLI
$ npx skills add laolaoshiren/claude-code-skills-zh --skill dep-auditor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install laolaoshiren/claude-code-skills-zh dep-auditor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/laolaoshiren/claude-code-skills-zh.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dep-auditor .claude/skills/dep-auditor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dep-auditor
GitHub stars
880
Token cost
~895 tokens
SKILL.md length
180 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

审计 Node.js、Python、Go、Rust、JVM、Ruby 项目的依赖漏洞、版本健康度与许可证事实;当用户要求检查 package.json、lockfile、requirements、go.mod、Cargo.toml、pom.xml、Gemfile.lock,或生成不改依赖的中文审计报告时使用

  • Works in 7 steps: 确认范围与授权 → 建立依赖清单 → 选择只读检查 → …
  • Tasks that involve Dependency management
  • SKILL.md covers 核心原则, 工作流程 and 安全边界
  • Calls npm, go and cargo

What it does

Dep Auditor is an agent skill from laolaoshiren/claude-code-skills-zh. 审计 Node.js、Python、Go、Rust、JVM、Ruby 项目的依赖漏洞、版本健康度与许可证事实;当用户要求检查 package.json、lockfile、requirements、go.mod、Cargo.toml、pom.xml、Gemfile.lock,或生成不改依赖的中文审计报告时使用

Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Dependency management. It works with Ruby, Rust, npm and Go. The repository describes itself as: 面向中文开发者的 Claude Code Skills / Agents / Plugins 精选与原创技能库|按场景分类|复制即装|持续更新. The licence is MIT.

When your agent uses it

  • Tasks that involve Dependency management

Example prompts

  • “/dep-auditor”

Requirements

  • Python 3
  • Node.js

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. 确认范围与授权
  2. 建立依赖清单
  3. 选择只读检查
  4. 核验漏洞证据
  5. 核验版本与许可证
  6. 输出中文报告
  7. 在明确授权后修复

What it can do on your machine

Read from SKILL.md and the folder at commit 633f21c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • go
    • cargo
    • pnpm
    • pip
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, pnpm and pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dep Auditor loads about 895 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 180 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~895

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from laolaoshiren/claude-code-skills-zh at commit 633f21c, republished under its MIT licence (© laolaoshiren). 180 words, ~895 tokens.

Download SKILL.mdSave it as .claude/skills/dep-auditor/SKILL.md (or your agent's skills folder).
name
dep-auditor
description
审计 Node.js、Python、Go、Rust、JVM、Ruby 项目的依赖漏洞、版本健康度与许可证事实;当用户要求检查 package.json、lockfile、requirements、go.mod、Cargo.toml、pom.xml、Gemfile.lock,或生成不改依赖的中文审计报告时使用

依赖安全审计

核心原则

  • 默认只读。用户只要求“检查、审计、报告”时,不修改 manifest、lockfile、源码、CI 或外部服务。
  • 以实际解析版本和可追溯 advisory 为证据。不要凭包名、版本年龄或记忆猜测 CVE、修复版本、可达性与许可证。
  • 优先使用项目锁定的包管理器和已有审计命令。不要为完成审计而裸跑 npx,也不要擅自执行 pip install、go install、cargo install 等下载命令。
  • 把“发现问题”“建议修复”“执行修改”分开。任何会改依赖或 lockfile 的动作都需要用户明确授权。
  • 许可证部分只陈述事实、适用场景和待确认事项,不作法律结论。

工作流程

1. 确认范围与授权
  • 确认目标目录、生态、工作区范围和生产 / 开发依赖是否都要检查。
  • 说明将运行的命令、是否访问网络、可能向 registry 或漏洞服务发送哪些包元数据。
  • 先检查工作树和现有改动。不要覆盖、回退或混入用户未提交的修改。
  • 若缺少锁文件、工具或网络,继续完成可验证部分,并把覆盖缺口写入报告;不要用推测填空。
2. 建立依赖清单
  • 查找 manifest 与 lockfile:package.json、package-lock.json、pnpm-lock.yaml、yarn.lock、requirements*.txt、Pipfile.lock、poetry.lock、uv.lock、go.mod、go.sum、Cargo.toml、Cargo.lock、pom.xml、Gradle 文件和 Gemfile.lock。
  • 用 lockfile 或包管理器解析结果确定实际版本;manifest 中的范围不能证明最终安装版本。
  • 从 packageManager、锁文件、wrapper、CI 和项目文档确认包管理器及版本。存在多个互相冲突的锁文件时,先报告歧义。
  • 标记直接 / 传递依赖、生产 / 开发范围与 workspace 归属。无法确定时写“未知”。
3. 选择只读检查

只运行与项目实际生态匹配、当前环境已可用的命令:

生态首选证据只读命令示例
npmpackage-lock.json、项目 npm 版本npm audit --json、npm outdated --json
pnpmpnpm-lock.yaml、项目 pnpm 版本pnpm audit --json、pnpm outdated --format json
Yarnyarn.lock、项目 Yarn 版本使用该版本文档支持的只读 audit / outdated 命令
Python当前虚拟环境、锁文件已安装时运行 pip-audit --format json;版本盘点可用 python -m pip list --outdated --format=json
Gogo.mod / go.sum已安装时运行 govulncheck -json ./...;go list -m -json all
RustCargo.lock已安装时运行 cargo audit --json;不要擅自安装子命令
JVM / Rubywrapper、lockfile、项目任务优先运行仓库已有的审计任务;不要临时向构建文件注入插件

命令不存在时,记录“未执行”及原因,再单独提出可选安装方案,等待用户授权。不要把工具缺失写成“未发现漏洞”。

4. 核验漏洞证据

每个问题至少记录:

  • advisory ID、来源链接和查询时间;
  • 实际解析版本、受影响范围和已知修复版本;
  • 直接 / 传递依赖与生产 / 开发范围;
  • 严重度来源、CVSS 版本和分数(若来源提供);
  • 可达性证据。只有工具或代码路径分析能够证明时才写“可达”或“不可达”。

区分“依赖树中存在受影响版本”和“漏洞在当前程序中可被利用”。不同工具结果冲突时并列证据,不擅自选择更严重的结论。

5. 核验版本与许可证
  • 版本健康度记录当前解析版本、最新稳定版、弃用声明、发布日期和升级跨度。不要仅因“超过两年未更新”自动判定有漏洞。
  • 从包元数据、SPDX 标识、仓库 LICENSE 和许可证例外中核验事实;来源不一致时保留冲突。
  • 不把 GPL、AGPL 或其他 copyleft 许可证统称为“传染性许可证”,也不固定映射成高 / 中 / 低风险。
  • 结合分发方式、链接方式、SaaS 使用、修改情况、双重许可和 SPDX exception 列出待确认事项。需要法律判断时明确建议咨询合规或法律人员。
6. 输出中文报告
markdown
# 📋 依赖安全审计报告

**项目与范围**:{路径、workspace、生产/开发依赖}
**扫描时间**:{含时区}
**证据基线**:{manifest、lockfile、包管理器版本、提交 SHA}

## 执行覆盖

| 检查项 | 工具与版本 | 结果 | 覆盖缺口 |
|--------|------------|------|----------|

## 漏洞证据

| 严重度 | 包与解析版本 | Advisory / 来源 | 受影响范围 | 修复版本 | 范围 | 可达性 | 置信度 |
|--------|----------------|-----------------|------------|----------|------|--------|--------|

## 版本健康度

| 包与解析版本 | 最新稳定版 | 弃用 / 维护证据 | 升级跨度 | 建议 |
|----------------|------------|-----------------|----------|------|

## 许可证事实与待确认事项

| 包与版本 | SPDX / 许可证 | 证据来源 | 使用场景 | 待确认事项 |
|----------|----------------|----------|----------|------------|

## 建议与优先级

1. {立即缓解但不修改依赖的措施}
2. {建议升级及其依据}
3. {需要补充验证或合规确认的事项}

若没有发现问题,写“在本次工具与范围覆盖内未发现”,同时保留未扫描生态、缺失 lockfile、网络失败和不可达性未分析等限制。

7. 在明确授权后修复
  • 确认允许修改的目录、包、版本范围、包管理器和目标分支;工作树不干净时先隔离或征求处理方式。
  • 使用项目原生包管理器和精确版本执行最小升级。不要默认运行 npm audit fix、pip-audit --fix、--force 或批量大版本升级。
  • 将直接依赖与传递依赖、补丁 / 次版本与大版本分批处理;先阅读 changelog、迁移指南和运行时要求。
  • 每批修改后检查 manifest 与 lockfile diff,重新运行审计、项目测试、构建和 lint。外部服务或生产行为需要额外确认。
  • 记录残余风险和回滚方式。只回退本次产生的修改,不覆盖用户原有改动。

安全边界

  • 不输出或上传 Token、私有 registry 凭据、内部包源码和完整环境变量。
  • 对私有依赖使用组织批准的 registry、代理和漏洞源;不把内部包名发送到未授权服务。
  • 先给可验证的临时缓解措施,再给升级建议;不要因为严重度高就跳过环境、兼容性和回滚验证。

© laolaoshiren, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/dep-auditor of laolaoshiren/claude-code-skills-zh.

Open the folder on GitHubat commit 633f21c

Compare with similar skills

Dep Auditor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dep Auditor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dep Auditor this skilllaolaoshiren/claude-code-skills-zh880—~895Automated safety check: PassMIT
CI Pipeline Synthesizerkajisho5/ffmpeg-skill1.9k1 repos~1.1kAutomated safety check: PassMIT
Sca AuditOWASP/secure-agent-playbook188—~494Automated safety check: PassCC-BY-4.0
Dependency Scanjwynia/agent-skills170—~1.7kAutomated safety check: PassMIT
Flowfile Build and Environment SetupEdwardvaneechoud/Flowfile389—~7.3kAutomated safety check: NotesMIT
Dep Auditthatrebeccarae/claude-marketing161—~2kAutomated safety check: PassMIT

Similar skills

  • CI Pipeline Synthesizer

    kajisho5/ffmpeg-skill

    Generate GitHub Actions CI/CD pipeline configurations for automated building and testing of library and package projects.

    1.9k GitHub starsUsed in 1 repo~1.1k tokens
    DevOps & CloudAuto-check passed
  • Sca Audit

    OWASP/secure-agent-playbook

    Scan project dependencies for known vulnerabilities (CVEs). An agent skill from OWASP/secure-agent-playbook.

    188 GitHub stars~494 tokensUpdated 16 days ago
    SecurityAuto-check passed
  • Dependency Scan

    jwynia/agent-skills

    Detect CVEs and security issues in project dependencies. An agent skill from jwynia/agent-skills.

    170 GitHub stars~1.7k tokensUpdated 7 mo ago
    SecurityAuto-check passed
  • Flowfile Build and Environment Setup

    Edwardvaneechoud/Flowfile

    Recreates every Flowfile development and build environment from scratch, with exact version pins and an explanation of what each Makefile target really does.

    389 GitHub stars~7.3k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Dep Audit

    thatrebeccarae/claude-marketing

    Cross-repository dependency audit. An agent skill from thatrebeccarae/claude-marketing.

    161 GitHub stars~2k tokensUpdated 4 mo ago
    Marketing & SEOAuto-check passed
  • Nxv

    utensils/nxv

    Find any version of any Nix package across nixpkgs git history using the nxv CLI or HTTP API.

    136 GitHub stars~7.9k tokensUpdated 2 mo ago
    Backend & APIsAuto-check: notes

More from laolaoshiren/claude-code-skills-zh

All 19 skills in this repo
  • API Tester

    laolaoshiren/claude-code-skills-zh

    依据真实 OpenAPI、路由实现和现有测试生成并验证 API 测试。用于用户要求测试接口、补集成测试、验证 API 契约、生成回归用例或排查接口兼容性时;区分“生成测试”和“执行请求”的授权,不猜测状态码、响应结构或 SLA,不在未确认环境中发送写请求。

    880 GitHub stars~614 tokensUpdated 6 days ago
    Auto-check passed
  • Eslint Fix

    laolaoshiren/claude-code-skills-zh

    安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。

    880 GitHub stars~436 tokensUpdated 6 days ago
    Auto-check passed
  • Git Workflow

    laolaoshiren/claude-code-skills-zh

    安全处理 Git 状态检查、提交信息、commit、分支、push、PR 和 rebase。用于用户要求检查改动、生成或创建提交、管理分支、推送、发起 PR 或整理历史时;严格区分每个动作的授权,并保护工作树中已有和无关的修改。

    880 GitHub stars~513 tokensUpdated 6 days ago
    Auto-check passed
  • GitHub Actions Gen

    laolaoshiren/claude-code-skills-zh

    分析真实项目并生成或修订安全、可验证的 GitHub Actions workflow;当用户要求创建 CI、测试矩阵、构建、Release、部署、缓存、Secrets、OIDC、PR 自动化或排查 workflow 配置时使用

    880 GitHub stars~1.1k tokensUpdated 6 days ago
    Auto-check: notes
  • Skill Curator

    laolaoshiren/claude-code-skills-zh

    中文 Skill 收录评估器。用于核验 GitHub 上的 Claude Code、Codex、Agent Skills、Plugin、MCP、CLI 或 Agent 工作流是否值得加入精选列表;检查真实资产、安装方式、活跃度、重复项和安全边界,并生成分类、中文描述与可追溯证据。

    880 GitHub stars~756 tokensUpdated 6 days ago
    Auto-check passed
  • Zh Readme

    laolaoshiren/claude-code-skills-zh

    中文 README 生成器 - 先分析项目,再生成面向中文开发者的高质量 README. An agent skill from laolaoshiren/claude-code-skills-zh.

    880 GitHub stars~477 tokensUpdated 6 days ago
    Auto-check passed

Categories

Questions about Dep Auditor

What does Dep Auditor do?

审计 Node.js、Python、Go、Rust、JVM、Ruby 项目的依赖漏洞、版本健康度与许可证事实;当用户要求检查 package.json、lockfile、requirements、go.mod、Cargo.toml、pom.xml、Gemfile.lock,或生成不改依赖的中文审计报告时使用. Dep Auditor is an agent skill from laolaoshiren/claude-code-skills-zh.

When should I use Dep Auditor?

Dep Auditor fits situations like: tasks that involve Dependency management.

How do I install Dep Auditor in Claude Code?

Run `npx skills add laolaoshiren/claude-code-skills-zh --skill dep-auditor -a claude-code`. Or copy the skill folder (skills/dep-auditor in laolaoshiren/claude-code-skills-zh) into .claude/skills/dep-auditor in your project. Claude Code loads it when a task matches its description.

How do I install Dep Auditor in Codex?

Run `npx skills add laolaoshiren/claude-code-skills-zh --skill dep-auditor -a codex`. Or copy the skill folder (skills/dep-auditor in laolaoshiren/claude-code-skills-zh) into .agents/skills/dep-auditor in your project. Codex loads it when a task matches its description.

Can I use Dep Auditor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add laolaoshiren/claude-code-skills-zh --skill dep-auditor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dep-auditor, .gemini/skills/dep-auditor, .github/skills/dep-auditor and .opencode/skills/dep-auditor in your project.

What does Dep Auditor need to run?

Going by SKILL.md and its folder, Dep Auditor needs the command-line tools its instructions call (npm, go, cargo, pnpm, pip and python). Our summary lists: Python 3; Node.js.

Does Dep Auditor access the network?

SKILL.md contains no URLs. Its commands use npm and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Dep Auditor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dep Auditor use?

Dep Auditor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dep Auditor use?

About 895 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dep Auditor?

Skills that share tags, products or a category with Dep Auditor: CI Pipeline Synthesizer (kajisho5/ffmpeg-skill, 1.9k stars), Sca Audit (OWASP/secure-agent-playbook, 188 stars), Dependency Scan (jwynia/agent-skills, 170 stars) and Flowfile Build and Environment Setup (Edwardvaneechoud/Flowfile, 389 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dep Auditor?

laolaoshiren (a GitHub user) maintains it in laolaoshiren/claude-code-skills-zh, which has 880 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 5, 2026.

Source: laolaoshiren/claude-code-skills-zh on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.