dependency-audit
Dependency risk assessment, read-only: known CVEs, deprecated packages, licence compliance, maintenance status, lockfile integrity, and a justification for…
от crewforth★ 26 звёзд на GitHub
Установить dependency-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Dependency Audit
Trigger phrases: "dependency audit", "npm audit", "package security", "CVE", "license", "deprecated package", "still maintained", "no longer maintained", "unmaintained", "third party library", "supply chain", "add a dependency", "add a new dependency", "add the package", "install the package", "lockfile", "lock file", "package-lock", "yarn add", "pnpm add", "pip install", "uv add", "cargo add", "paket ekle", "paketi ekle", "paketini ekle", "bagimlilik ekle", "kutuphane ekle"
The real trigger is an event in the diff, not a word in the request: a lockfile is staged. Nobody asks for an audit while adding a feature, so the phrases above only catch the request that names the package; the commit gate (§4.7) catches the rest, and refuses the commit until the record below exists.
This skill only reports. It changes no manifest and no lockfile — bringing dependencies current is dependency-upgrade, which classifies each move by risk and verifies the build. Keeping the two apart keeps this one safe to run any time, on any branch, including one you are only inspecting.
Audit axes
- Known vulnerabilities (CVE): audit appropriate to the ecosystem
npm audit --production # Node dotnet list package --vulnerable # .NET (cannot be combined with --deprecated/--outdated) pip-audit # Python - License compliance: flag licenses incompatible with the project such as copyleft/GPL (a risk in commercial closed source).
- Maintenance status: abandoned / long-unmaintained / single-maintainer packages, and packages the registry
itself marks deprecated —
dotnet list package --deprecated,npm view <pkg> deprecated. A deprecated package is not a version problem: no bump fixes it, it needs a replacement. - Transitive dependencies: also scan vulnerabilities in indirect dependencies.
- Lockfile integrity: lockfile committed and consistent with the manifest; versions pinned.
- Justification for new dependencies: is it actually needed? Don't add a heavy package for a single small function (supply-chain surface).
- Install-time execution: does any dependency run code during installation —
preinstall/install/postinstallscripts — andprepare, which runs only for a git, link or folder dependency and never for a registry tarball — a build hook, or a setup step that fetches at install time? This is the mechanism the recent registry compromises actually used: the malicious version does not have to be imported, only installed, so a CVE feed and a code review both miss it. Ask two things: which packages declare such a script, and whether the project can install without them at all (npm ci --ignore-scripts; for Python the control is refusing source distributions,pip install --only-binary=:all:, optionally with--require-hashes— a wheel has no install hook, an sdist does; or a vendored, pre-built artefact). A package that cannot install without running code is not disqualified — it is a package whose publisher you are trusting with arbitrary execution on every machine and every runner, which is a decision, not a default. - Publisher concentration — read it from the registry, not from the repository. "Many contributors" on a
forge says who can open a pull request; it does not say who can publish. The number that matters is who holds
the publish right on the registry (
npm owner ls <pkg>· for PyPI the package JSON'sownership.roles, NOT the self-reportedinfo.maintainerfield · the equivalent ACL for the ecosystem in use) — and whether the PUBLISH PATH itself is challenged, which is not the same as "the account has 2FA": npm'sauth-only2FA mode does not gatenpm publish, and a granular token with bypass-2FA publishes with no second factor, while on PyPI 2FA has been mandatory for every account since 2024 so the real question there is Trusted Publisher versus a long-lived API token. A widely-used package whose registry ACL is one unprotected account is a single compromised credential away from every build that installs it, whatever the contributor graph looks like. - Resolution order and namespace: which registry answers an internal name? An internal package that a public
registry can also serve is installed from whichever source the client asks first, and an attacker can publish
that name. Check, for the ecosystem in use: npm, every internal scope mapped to its registry (
@corp:registry=) and no unscoped internal name; pip,--index-url(one source) rather than--extra-index-url(both, highest version wins); NuGet,<clear/>pluspackageSourceMapping; Maven/Gradle, the order of the repositories; Go,GOPRIVATEcovering the private module paths; Docker, a fully qualified image name with a digest, not a bare `node
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/record.sh
FAQ
Что делает скилл dependency-audit?
Dependency risk assessment, read-only: known CVEs, deprecated packages, licence compliance, maintenance status, lockfile integrity, and a justification for every new dependency. Acting on it is dependency-upgrade.
Как установить скилл dependency-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dependency-audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…