From maven-mcp
Scans Gradle project dependencies for known CVE/GHSA advisories via OSV.dev and offers targeted version updates for remediation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/maven-mcp:check-deps-vulnerabilitiesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scan the current Gradle project for known CVE/GHSA advisories on Gradle-resolved direct
Scan the current Gradle project for known CVE/GHSA advisories on Gradle-resolved direct
production dependencies and offer remediation through targeted version updates. Requires
gradlew at the project root.
Option A (full audit): call audit_project_dependencies with
includeVulnerabilities: true and productionOnly: true (unless the user asks to include
test scopes). Use the per-dependency vulnerabilities from the result.
Option B (vulns only):
scan_project_dependencies with projectPath (default cwd).get_dependency_vulnerabilities with those {groupId, artifactId, version}
entries (and projectPath so Gradle plugin markers resolve to implementation GAVs).Use the tool output fields as-is: id, summary, severity, fixedVersion, malicious,
safeUpgrade, and resolvedImplementation when present. Do not re-derive
severity/summary from a raw OSV querybatch response while the MCP tool works.
Filter to dependencies with non-empty vulnerabilities.
Sort: CRITICAL → HIGH → MEDIUM → LOW → unknown, then lexicographic by
groupId:artifactId.
Render a markdown table (one row per dependency × finding):
| Source file | Artifact | Current | Severity | CVE/GHSA | Summary | Fixed in |
|---|
Link advisories as https://osv.dev/vulnerability/{id}.
Summary line:
Total: N findings across M packages (X critical, Y high, Z medium, W low).
Scanned: K dependencies total. Test configurations excluded.
If none:
No known vulnerabilities found in production dependencies. (Scanned K dependencies. Test configurations were excluded.)
Then stop — no remediation prompt.
Disclaimer (always print once):
Note: OSV does not cover shaded/uber JARs. Dependencies bundled inside a fat JAR may carry CVEs that this scan will not surface.
When at least one finding exists, ask the user — one question, four options:
https://api.osv.dev/v1/vulns/{id} only if more detail is needed.Recommended fixed version per package: use safeUpgrade.version from
get_dependency_vulnerabilities when safeUpgrade.fixesAllKnown is true (the tool
already computes max(fixedVersion) across findings for that GA server-side — do not
re-derive it by hand). When safeUpgrade is absent or fixesAllKnown is false, list
under "Manual upgrade required".
When the user picks option 1 or 2:
./gradlew build or mvn compile).Never report "vulnerabilities patched" without a passing build.
State when relevant:
includeBuild may be incomplete.resolvedBy: "gradle"), not build-file text parsing.Glob/Read build files, extract production GAVs, POST
https://api.osv.dev/v1/querybatch, then hydrate each unique id with
GET https://api.osv.dev/v1/vulns/{id} before reporting severity/summary/fixedVersion.
Bare querybatch {id, modified} is not enough. Note that plugin-marker resolution and
project-repo awareness are skipped on this path.
This SKILL.md is in English. Runtime output follows the user's chat language. CVE/GHSA identifiers, package coordinates, and version numbers stay in their original form.
npx claudepluginhub kirich1409/krozov-ai-tools --plugin maven-mcpScans Gradle/Maven projects for outdated dependencies and vulnerabilities, then applies updates. Reports upgrade type, catalog drift, and Gradle-resolved versions.
Scans project dependencies for known CVEs across npm, pip, cargo, Go, and Java ecosystems. Reports vulnerable packages with severity, affected versions, and fixes.
Audits project dependencies for CVEs using detected package manager, reports vulnerabilities with installed/fixed versions and exact upgrade commands. Includes auto-fix and banned-packages check.