maven-tools-mcp: Command for GitHub Copilot

.github/prompts/security-scan.prompt.md

Security Vulnerability Scan is a command for GitHub Copilot from arvindand/maven-tools-mcp. It costs 16 tokens per session (371 once invoked), scanned A, original, MIT.

A dependency scan that checks Java project libraries for known security vulnerabilities using the OSV.dev vulnerability database. It reports affected versions, severity, CVE identifiers, and available fixes.

In plain words
What is it for?
Use it to scan Maven or Gradle dependencies, review critical or high-severity issues, and plan upgrades to fixed versions.
Why use it?
It makes known risks in third-party libraries easier to find and prioritize before release.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

This is arvindand/maven-tools-mcp's own configuration. It tells GitHub Copilot how to work on maven-tools-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything maven-tools-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to arvindand/maven-tools-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/arvindand/maven-tools-mcp/main/.github/prompts/security-scan.prompt.md
Clone the repo
git clone --depth 1 https://github.com/arvindand/maven-tools-mcp

Made for: GitHub Copilot.

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 Security Vulnerability Scan

README.md
[![agentmods](https://agentmods.dev/badge/commands/arvindand/maven-tools-mcp/security-scan/github.svg)](https://agentmods.dev/commands/arvindand/maven-tools-mcp/security-scan)
Your own site
<a href="https://agentmods.dev/commands/arvindand/maven-tools-mcp/security-scan"><img src="https://agentmods.dev/badge/commands/arvindand/maven-tools-mcp/security-scan/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 Security Vulnerability Scan

Your own site · 80×15
<a href="https://agentmods.dev/commands/arvindand/maven-tools-mcp/security-scan"><img src="https://agentmods.dev/badge/commands/arvindand/maven-tools-mcp/security-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 371 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.00016 $0.00371
Opus 5.5 $0.00006 $0.00148
Sonnet 5.5 $0.00003 $0.00074
Haiku 4.5 $0.00002 $0.00037

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

Security

Grade A, and why

Security Vulnerability Scan 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 1mo 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.

.github/prompts/security-scan.prompt.md · 59 lines

What it actually says

Security Vulnerability Scan

Scan project dependencies for known security vulnerabilities using maven-tools-mcp.

Instructions

  1. Extract Dependencies

    • Parse the project's build file for all dependencies with versions
    • Include both direct and managed dependencies if possible
  2. Run Security Scan

    • Use compare_dependency_versions with includeSecurityScan=true and stabilityFilter=STABLE_ONLY
    • Or use analyze_project_health with includeSecurityScan=true for bulk analysis
  3. Analyze Results

    • Review SecuritySummary in the response
    • Check for CRITICAL, HIGH, MEDIUM, LOW severity vulnerabilities
    • Note which dependencies have known CVEs

Report Format

Vulnerability Summary

Severity Count
Critical X
High X
Medium X
Low X

Affected Dependencies

For each vulnerable dependency, list:

  • Dependency coordinate and current version
  • CVE identifiers
  • Severity and CVSS score
  • Fixed version (if available)
  • Recommended action

Remediation Plan

  1. Immediate (Critical/High): Upgrade these first
  2. Soon (Medium): Plan for next release
  3. Monitor (Low): Track but lower priority

When the newest stable version is a major upgrade but same_major_stable_fallback exists, prefer the fallback as the immediate remediation target and keep the major upgrade as a separate planned change.

Next Steps

  • Generate upgrade commands for your build tool
  • Test upgrades in development environment
  • Review breaking changes for major version bumps
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. 1mo ago First seen · 59 lines · 16 tokens per session scan A 6e902c061f4b

Subscribe to this mod's changes

Security Vulnerability Scan is a command published in the GitHub repository arvindand/maven-tools-mcp (35 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 371 once invoked, about $0.0001 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-07.