check-deps

check-deps is a command for coding agents from harish-garg/security-scanner-plugin. It costs 8 tokens per session (471 once invoked), scanned A, original, MIT.

A quick check for known security problems in the software packages used by a GitHub repository. Dependabot is GitHub's service for detecting vulnerable dependencies.

In plain words
What is it for?
Use it to identify affected packages, CVE identifiers, severity levels, and available upgrade versions.
Why use it?
It shows unresolved package vulnerabilities without requiring a full security audit.

Command

Part of the github-security-scanner plugin — 4 commands, 1 agent shipped together

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 commands/harish-garg/security-scanner-plugin/check-deps
Clone the repo
git clone --depth 1 https://github.com/harish-garg/security-scanner-plugin

Or install github-security-scanner, the plugin that ships this one along with the rest of its 4 commands, 1 agent.

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 check-deps

README.md
[![agentmods](https://agentmods.dev/badge/commands/harish-garg/security-scanner-plugin/check-deps.svg)](https://agentmods.dev/commands/harish-garg/security-scanner-plugin/check-deps)
Your own site
<a href="https://agentmods.dev/commands/harish-garg/security-scanner-plugin/check-deps"><img src="https://agentmods.dev/badge/commands/harish-garg/security-scanner-plugin/check-deps.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 471 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.1 $0.00008 $0.00471
Opus 5 $0.00004 $0.00235
Sonnet 5 $0.00002 $0.00094
Haiku 4.5 $0.00001 $0.00047

Measured 5d ago against content hash 133e6ad26546, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

check-deps 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 5d 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.

commands/check-deps.md · 57 lines

What it actually says

Check Dependencies

Quickly scan for dependency vulnerabilities in the current repository.

What to do:

  1. Identify repository: Determine the current repository (owner/repo) from Git configuration

    • Use git remote -v or check .git/config to find the repository
    • Parse owner and repo name from GitHub URL
  2. Scan for vulnerabilities: Use GitHub MCP's list_dependabot_alerts tool with parameters:

    • owner: repository owner
    • repo: repository name
    • state: "open" (to show only unresolved issues)
  3. Analyze and summarize results:

    • Count total vulnerable dependencies
    • Group by severity level (critical, high, medium, low)
    • Sort by severity (critical first)
  4. Present concise summary:

    Dependency Scan Results for owner/repo
    
    Total vulnerabilities: X
    - Critical: X
    - High: X
    - Medium: X
    - Low: X
    
    🔴 Critical & High Priority:
    1. package-name@version - CVE-XXXX-XXXX (Critical)
       Impact: [Brief description]
       Fix: Upgrade to version X.X.X
    
    2. another-package@version - CVE-XXXX-XXXX (High)
       Impact: [Brief description]
       Fix: Upgrade to version X.X.X
    
    [List up to 5 most critical issues]
    
    💡 Next steps:
    - Run /explain-cve CVE-XXXX-XXXX for details on specific vulnerabilities
    - Run /security-scan for comprehensive audit including code and secrets
    - Review all X open alerts on GitHub: https://github.com/owner/repo/security
    
  5. Handle edge cases:

    • If no repository found: "Unable to detect repository. Ensure you're in a Git directory linked to GitHub."
    • If no vulnerabilities: "✅ No dependency vulnerabilities found! Your dependencies are up to date."
    • If GitHub MCP not configured: "GitHub MCP Server not found. Please configure it first."

Keep the output concise and actionable. Focus on what needs immediate attention.

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. 5d ago First seen · 57 lines · 8 tokens per session scan A 133e6ad26546

Subscribe to this mod's changes

check-deps is a command published in the GitHub repository harish-garg/security-scanner-plugin (9 stars, last pushed 11mo ago), licensed MIT. It adds 8 tokens to every session and 471 once invoked, about $0.0000 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-31.