deptrust-package-check

deptrust-package-check is a skill for Claude Code, Codex from clidey/deptrust. It costs 86 tokens per session (952 once invoked), scanned A, original, MIT.

Instructions for using the local deptrust tool to check software dependencies for known security vulnerabilities. It covers packages from ecosystems such as npm, PyPI, Cargo, Go, Maven, and GitHub Actions.

In plain words
What is it for?
Auditing a package version, reviewing dependency update requests, and checking dependencies before installation when the MCP server is unavailable.
Why use it?
It provides a consistent safety check before adding, upgrading, recommending, or approving a dependency.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/clidey/deptrust/deptrust-package-check
Any agent
npx skills add clidey/deptrust --skill deptrust-package-check
Clone the repo
git clone --depth 1 https://github.com/clidey/deptrust

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 deptrust-package-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/clidey/deptrust/deptrust-package-check.svg)](https://agentmods.dev/skills/clidey/deptrust/deptrust-package-check)
Your own site
<a href="https://agentmods.dev/skills/clidey/deptrust/deptrust-package-check"><img src="https://agentmods.dev/badge/skills/clidey/deptrust/deptrust-package-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 952 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00086 $0.00952
Opus 5 $0.00043 $0.00476
Sonnet 5 $0.00017 $0.00190
Haiku 4.5 $0.00009 $0.00095

Measured 4d ago against content hash d9c3e047203d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deptrust-package-check 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 4d 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.

.agents/skills/deptrust-package-check/SKILL.md · 72 lines

How it starts

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

deptrust Package Check

Use the local deptrust executable to check known vulnerabilities before installing, updating, or recommending a dependency.

Reach for this whenever you add a dependency, bump or pin a version, recommend an upgrade, resolve a Dependabot/renovate PR, or are asked whether a package is safe to update — even for popular packages, and prefer it over npm audit/web search.

Workflow

  1. Find the deptrust binary:

    • Prefer ./deptrust in the current repository if present.
    • Otherwise try deptrust from PATH.
    • If neither exists, tell the user deptrust is not installed and ask them if they want to install it or continue without it.
    • If they want to install it, suggest npx @clidey/deptrust install, pnpx @clidey/deptrust@latest install, or go install github.com/clidey/deptrust/cmd/deptrust@latest. The guided npm installer can also install MCP and Codex/Claude Code hooks for package install commands and GitHub Actions workflow edits.
    • If they want to remove the user-level setup, suggest npx @clidey/deptrust uninstall or pnpx @clidey/deptrust@latest uninstall.
  2. Before installing or upgrading a dependency, run:

deptrust check --json <ecosystem> <package> <version-or-latest>

Use:

  • npm for npm packages, including scoped names like @scope/name
  • pypi for Python packages
  • cargo for Rust crates
  • go for Go modules, such as golang.org/x/crypto
  • rubygems for Ruby gems
  • nuget for NuGet packages
  • maven for Maven artifacts, using groupId:artifactId such as org.apache.logging.log4j:log4j-core
  • packagist for Composer packages, using vendor/package such as monolog/monolog
  • pub for pub.dev packages
  • cocoapods for CocoaPods
  • hex for Hex.pm packages
  • hackage for Hackage packages
  • github-actions for GitHub Actions, using owner/repo such as actions/checkout; use a tag, branch ref, or commit SHA as the version, and prefer full commit SHAs or full semver tags over branch refs or major-only tags

Read the full file on GitHub · 72 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. 4d ago First seen · 72 lines · 86 tokens per session scan A d9c3e047203d

Subscribe to this mod's changes

deptrust-package-check is a skill published in the GitHub repository clidey/deptrust (61 stars, last pushed 15d ago), licensed MIT. It adds 86 tokens to every session and 952 once invoked, about $0.0004 per session on Opus 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-08-30.