dependency-audit

dependency-audit is a skill for Claude Code, Codex from isaacsight/kernel. It costs 40 tokens per session (829 once invoked), scanned A, original, MIT.

A checklist for reviewing third-party packages, including packages pulled in indirectly, for known security flaws, unexpected changes, and licence risks.

In plain words
What is it for?
Use it when adding or upgrading packages, reviewing dependency changes, preparing a release, or responding to a newly reported CVE.
Why use it?
It helps find risks hidden several layers deep in your dependency tree and catches changes in lockfiles that may not match the declared package list.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding or upgrading packages, reviewing dependency changes, preparing a release, or responding to a newly reported CVE.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/isaacsight/kernel/dependency-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add isaacsight/kernel --skill dependency-audit
Clone the repo
git clone --depth 1 https://github.com/isaacsight/kernel

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dependency-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/isaacsight/kernel/dependency-audit/github.svg)](https://agentmods.dev/skills/isaacsight/kernel/dependency-audit)
Your own site
<a href="https://agentmods.dev/skills/isaacsight/kernel/dependency-audit"><img src="https://agentmods.dev/badge/skills/isaacsight/kernel/dependency-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dependency-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/isaacsight/kernel/dependency-audit"><img src="https://agentmods.dev/badge/skills/isaacsight/kernel/dependency-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 829 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00829
Opus 5.5 $0.00016 $0.00332
Sonnet 5.5 $0.00008 $0.00166
Haiku 4.5 $0.00004 $0.00083

Measured 2mo ago against content hash 30f710a02b3d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dependency-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/kbot/skills/security-audit/dependency-audit/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dependency Audit

Most exploits in 2026 do not come from your code. They come from a package six links deep that someone trusted on a Tuesday.

When to Use

  • Any time you add or upgrade a dependency
  • Before tagging a release
  • After a CVE drops in the ecosystem you ship in
  • When a lockfile changes in a PR you didn't write
  • When node_modules is bigger than the rest of the repo

Iron Laws

LOCKFILE IS THE TRUTH. PACKAGE.JSON IS THE WISH.
TRANSITIVE COUNTS. DEEP COUNTS DOUBLE.

Four Phases

Phase 1 — Inventory

npm ls --all --json > /tmp/deps.json

Then count:

  • Total packages (direct + transitive)
  • Distinct authors
  • Distinct registries (anything other than registry.npmjs.org is worth a second look)
  • Packages updated in the last 30 days (fresh = potentially compromised)

Phase 2 — Known CVEs

npm audit --json > /tmp/audit.json

Triage by severity. Critical and high get fixed this PR; medium gets a ticket; low gets a note. Read every advisory body — npm audit lies about exploitability often enough to matter.

Phase 3 — Provenance

For each package above the trust line (default: anything in dependencies, not devDependencies):

  • Author has a real GitHub presence?
  • Repository link resolves to the package source?
  • provenance field present in the npm metadata?
  • Maintainer changed in the last 90 days?

A rotated maintainer + a fresh release is the classic supply-chain shape. Treat it as suspicious until proven otherwise.

Phase 4 — Lockfile diff

When reviewing a PR:

git diff main -- package-lock.json | grep -E '^\+.*"version"' | head -50

Any new package, any version bump in a security-relevant package (auth, crypto, http, vm, fs), and any registry change deserves a manual look.

Output

# Dependency Audit — <date>
- Direct: N | Transitive: M
- CVEs: critical=X, high=Y, medium=Z, low=W
- Suspicious provenance: [list of packages]
- Lockfile diff: [N packages changed]

## Action items
- [ ] Upgrade <pkg> from <a> to <b> (CVE-XXXX-YYYY)
- [ ] Replace <pkg> with <alt> (unmaintained)
- [ ] Pin <pkg> at <version> (recent maintainer change)

Read the full file on GitHub · 103 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 103 lines · 40 tokens per session scan A 30f710a02b3d

Subscribe to this mod's changes

dependency-audit is a skill published in the GitHub repository isaacsight/kernel (16 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 829 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

dependency-audit compared with skills from other repositories

dependency-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dependency-auditisaacsight/kernelSkill162mo agoMITA40Claude Code, Codex
pr-video-agentomnara-ai/omnaraSkill3.5ktodayApache-2.0A61Claude Code, Codex
x-signal-agentomnara-ai/omnaraSkill3.5ktodayApache-2.0A53Claude Code, Codex
composiodesplega-ai/agent-swarmSkill1.1ktodayMITA128Claude Code
skill-ledgeralibaba/anolisaSkill6889d agoApache-2.0A67Claude Code, Codex
regex-masteryalibaba/anolisaSkill6889d agoApache-2.0A60Claude Code, Codex
close-issuedesplega-ai/agent-swarmSkill1.1ktodayMITA16Claude Code