dep-audit

dep-audit is a cursor rule for Cursor from thatrebeccarae/claude-marketing. It costs 44 tokens per session (4,258 once invoked), scanned A, original, MIT.

A tool that checks one or more software repositories for dependency problems. Dependencies are packages that a project relies on, and the tool supports Node.js, Python, Rust, and Go projects.

In plain words
What is it for?
Use it for routine dependency checks, release preparation, investigating a newly reported vulnerability, or assessing repositories you are taking over.
Why use it?
It brings outdated packages, known security vulnerabilities, version conflicts between repositories, and licence issues into one prioritized update plan.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it for routine dependency checks, release preparation, investigating a newly reported vulnerability, or assessing repositories you are taking over.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/thatrebeccarae/claude-marketing/dep-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.

Clone the repo
git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing

Made for: Cursor.

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 dep-audit

README.md
[![agentmods](https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/dep-audit/github.svg)](https://agentmods.dev/rules/thatrebeccarae/claude-marketing/dep-audit)
Your own site
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/dep-audit"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/dep-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 dep-audit

Your own site · 80×15
<a href="https://agentmods.dev/rules/thatrebeccarae/claude-marketing/dep-audit"><img src="https://agentmods.dev/badge/rules/thatrebeccarae/claude-marketing/dep-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,258 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.
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.00044 $0.04258
Opus 5 $0.00022 $0.02129
Sonnet 5 $0.00009 $0.00852
Haiku 4.5 $0.00004 $0.00426

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

Security

Grade A, and why

dep-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 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.

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.

integrations/cursor/dep-audit.mdc · 392 lines

How it starts

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

Dependency Audit

Cross-repository dependency audit. Scans package manifests (package.json, pyproject.toml, Cargo.toml, go.mod) for outdated packages, security advisories, version conflicts between repos, and license compatibility issues. Produces a prioritized update plan.

When to Use

  • Monthly hygiene: Run on a cadence to catch dependency drift before it compounds
  • Before releases: Verify no known vulnerabilities ship to production
  • Security incidents: When a CVE drops, quickly assess exposure across all repos
  • Onboarding new repos: Baseline the dependency health of a repo you're inheriting or adopting

Usage

  • /dep-audit [repo-path] — audit a single repository
  • /dep-audit [repo-path1] [repo-path2] ... — cross-repo audit (enables version conflict detection)

Procedure

1. Detect Package Managers

Scan the target repo(s) for manifest files:

Manager Manifest Lock File
npm package.json package-lock.json
yarn package.json yarn.lock
pnpm package.json pnpm-lock.yaml
pip requirements.txt, setup.py, setup.cfg requirements.txt (pinned)
poetry pyproject.toml (has [tool.poetry]) poetry.lock
uv pyproject.toml (has [tool.uv]) uv.lock
cargo Cargo.toml Cargo.lock
go mod go.mod go.sum
# Detect which manifests exist
ls package.json pyproject.toml Cargo.toml go.mod requirements.txt 2>/dev/null
# Detect lock files
ls package-lock.json yarn.lock pnpm-lock.yaml poetry.lock uv.lock Cargo.lock go.sum 2>/dev/null

If multiple ecosystems are present (e.g., a monorepo with Node.js frontend and Go backend), audit each independently and merge results.

2. Parse Manifests and Lock Files

Read the manifest to identify declared dependencies (direct) and the lock file for resolved versions (transitive). Distinguish between:

  • Production dependencies (dependencies, [dependencies], main requires)
  • Development dependencies (devDependencies, [dev-dependencies], extras)

Read the full file on GitHub · 392 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 · 392 lines · 44 tokens per session scan A 33cda311ef95

Subscribe to this mod's changes

dep-audit is a cursor rule published in the GitHub repository thatrebeccarae/claude-marketing (133 stars, last pushed 3mo ago), licensed MIT. It adds 44 tokens to every session and 4,258 once invoked, about $0.0002 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.