Dependency health and update triage - find vulnerable and outdated packages, judge whether a Renovate or Dependabot PR is safe to merge, and vet a new dependency before adding it. Use when the user asks about outdated or vulnerable dependencies, a dependency update PR, "should I add package X", or supply-chain risk.
---
name: deps
description: Dependency health and update triage - find vulnerable and outdated packages, judge whether a Renovate or Dependabot PR is safe to merge, and vet a new dependency before adding it. Use when the user asks about outdated or vulnerable dependencies, a dependency update PR, "should I add package X", or supply-chain risk.
---
# Dependencies
Updates are cheap when they are small and frequent. The danger in 2026 is less the old
version than the new one: compromised maintainer accounts and worm-style npm releases are
caught within days, so the cooldown below is the main defense.
## Status of the repo
1. Vulnerabilities: `osv-scanner scan source -r .` (covers npm, PyPI, Go, Maven, Cargo,
RubyGems, NuGet and more). If it is missing, use the ecosystem tool: `npm audit`,
`pip-audit`, `govulncheck ./...`, `cargo audit`.
2. Outdated: `npm outdated`, `uv pip list --outdated`, `go list -m -u all`,
`./gradlew dependencyUpdates` if the plugin is present.
3. Report a table: package, current, fixed-in or latest, severity, direct or transitive.
A transitive vulnerability is fixed by bumping the direct parent or adding an
override, never by editing the lockfile by hand.
## Triage an update PR
Read the PR, then check, in this order:
1. **Age**: was the version published more than 3 days ago? If not, wait unless it fixes a
known exploited vulnerability.
2. **Who published it**: same maintainers as the previous release? A new publisher, a
missing provenance attestation (`npm view <pkg>@<v> --json | jq .dist.attestations`) where
earlier releases had one, or a release with no matching git tag, are reasons to stop.
3. **What changed**: read the changelog for breaking changes, then the actual diff of the
package for new `preinstall`/`postinstall` scripts, new network or filesystem access,
minified or obfuscated additions, and new dependencies.
4. **CI**: green on the PR, and the tests exercise the code that uses the package.
Answer with merge, wait, or reject, and the reason in one line. For a deeper audit of the
whole dependency tree, the `supply-chain-risk-auditor` skill (Trail of Bits) is the tool.
## Before adding a new dependency
Prefer the standard library or an existing dependency. If it is still needed: maintained in
the last year, more than one maintainer, no install scripts, a license compatible with the
project, and a size proportional to what it does. Pin it through the lockfile and say which
of these it fails, if any.
## Pinned Claude plugins and skills
The harness pins third-party marketplaces and plugins to a commit in
`.claude/settings.json` and Renovate proposes the bump. A skill update is code and
instructions that run with your permissions, so review it like a dependency: run
`python3 "${CLAUDE_PLUGIN_ROOT}/scripts/skill_scan.py" <checkout>` on the new commit and use
the `skill-audit` skill before merging.