depsguard

depsguard is a skill for Claude Code, Codex from arnica/depsguard. It costs 41 tokens per session (672 once invoked), scanned A, original, MIT.

A command-line tool that checks package manager configuration for supply-chain security gaps and offers fixes. Supply-chain security protects a project from tampered or unsafe dependencies, and it supports npm, pnpm, Yarn, Bun, and uv.

In plain words
What is it for?
Use it to audit or harden files such as .npmrc, .yarnrc.yml, bunfig.toml, pnpm-workspace.yaml, and uv.toml, or install it for developer onboarding and continuous-integration checks.
Why use it?
It helps detect missing safeguards such as lockfile enforcement, registry restrictions, and package provenance checks before they create a dependency risk.

Skill for Claude CodeCodex

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

Good fit Use it to audit or harden files such as .npmrc, .yarnrc.yml, bunfig.toml, pnpm-workspace.yaml, and uv.toml, or install it for developer onboarding and continuous-integration checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arnica/depsguard/depsguard
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 arnica/depsguard --skill depsguard
Clone the repo
git clone --depth 1 https://github.com/arnica/depsguard

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 depsguard

README.md
[![agentmods](https://agentmods.dev/badge/skills/arnica/depsguard/depsguard/github.svg)](https://agentmods.dev/skills/arnica/depsguard/depsguard)
Your own site
<a href="https://agentmods.dev/skills/arnica/depsguard/depsguard"><img src="https://agentmods.dev/badge/skills/arnica/depsguard/depsguard/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 depsguard

Your own site · 80×15
<a href="https://agentmods.dev/skills/arnica/depsguard/depsguard"><img src="https://agentmods.dev/badge/skills/arnica/depsguard/depsguard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 672 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 11 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 23
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 41
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 43
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 44
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Tool Misuse · line 43
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • high Tool Misuse · line 45
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • medium Privilege Escalation · line 41
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 43
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 45
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 46
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 47
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
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.00041 $0.00672
Opus 5 $0.00020 $0.00336
Sonnet 5 $0.00008 $0.00134
Haiku 4.5 $0.00004 $0.00067

Measured 9d ago against content hash 84ca282771bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

depsguard scanned grade A with 2 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 9d 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo install -d -m 0755 /etc/apt/keyrings

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://depsguard.com/apt/gpg.key \
docs/.well-known/agent-skills/depsguard/SKILL.md · 83 lines

How it starts

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

DepsGuard

DepsGuard is a zero-dependency Rust CLI that scans package manager configs for supply chain security best practices and offers interactive fixes. It targets Linux, macOS, and Windows, and supports npm, pnpm, yarn, bun, and uv.

When to use this skill

Use this skill when an agent or user needs to:

  • Audit a project's .npmrc, .yarnrc.yml, bunfig.toml, pnpm-workspace.yaml, uv.toml, or related package manager configuration for hardening gaps.
  • Apply recommended supply chain security settings (e.g. lockfile enforcement, provenance checks, registry pinning) to an existing project.
  • Install DepsGuard as part of a developer onboarding or CI pipeline.

Install

Homebrew (macOS / Linux)

brew tap arnica/depsguard https://github.com/arnica/depsguard
brew install depsguard

APT (Debian / Ubuntu)

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://depsguard.com/apt/gpg.key \
  | sudo gpg --dearmor -o /etc/apt/keyrings/depsguard.gpg
echo "deb [arch=amd64,arm64 signed-by=/etc/apt/keyrings/depsguard.gpg] https://depsguard.com/apt stable main" \
  | sudo tee /etc/apt/sources.list.d/depsguard.list >/dev/null
sudo apt update
sudo apt install depsguard

Scoop (Windows)

scoop bucket add depsguard https://github.com/arnica/depsguard
scoop install depsguard

Cargo

cargo install depsguard

Usage

Run in the root of a project:

depsguard

DepsGuard will detect the package managers in use, list hardening findings, and prompt you interactively to apply fixes. Use depsguard --help for flags.

Notes for agents

  • DepsGuard has zero runtime dependencies; the binary is self-contained.
  • It only reads and writes files under the current working directory (and the user's home directory for shell / package manager rc files when explicitly permitted).
  • It is safe to run in CI in a dry-run / check-only mode for drift detection.
  • Source, issues, and release notes: https://github.com/arnica/depsguard

Read the full file on GitHub · 83 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. 9d ago First seen · 83 lines · 41 tokens per session scan A 84ca282771bc

Subscribe to this mod's changes

depsguard is a skill published in the GitHub repository arnica/depsguard (381 stars, last pushed 27d ago), licensed MIT. It adds 41 tokens to every session and 672 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

upgrade-packages-js

Safely upgrade JavaScript packages with breaking change detection, migration guidance, and automated code migrations (npm/pnpm/yarn). Cross-platform with git safety branch enforcement.

georgekhananaev/claude-skills-vault · 38 tokens

ship-safe

Run a full security audit on this project — 16 agents scan for secrets, injections, auth bypass, SSRF, supply chain, Supabase RLS, MCP security, agentic AI, RAG poisoning, PII compliance, and more. Use when the user wants a security audit, vulnerability scan, or asks if their code is safe to ship.

asamassekou10/ship-safe · 75 tokens

ship-safe-deep

Run a deep security audit with LLM-powered taint analysis — regex scan nominates findings, then an LLM verifies taint reachability and exploitability. Use when the user wants thorough, high-confidence results with fewer false positives.

asamassekou10/ship-safe · 52 tokens

ship-safe-fix

Auto-fix security issues — remediate hardcoded secrets and common vulnerabilities (TLS bypass, debug mode, XSS, shell injection, Docker :latest). Use when the user wants to automatically fix security findings.

asamassekou10/ship-safe · 47 tokens

ship-safe-red-team

Run a multi-agent red team scan — 29 specialized security agents scan for 80+ attack classes including injection, auth bypass, SSRF, supply chain, Supabase RLS, MCP security, agentic AI, RAG poisoning, PII compliance, and more. Use when the user wants a deep security analysis beyond just secrets.

asamassekou10/ship-safe · 73 tokens

ship-safe-scan

Quick scan for leaked secrets — API keys, passwords, tokens, database URLs. Use when the user wants to check for hardcoded secrets or exposed credentials.

asamassekou10/ship-safe · 36 tokens