java-vulnerability-manager

Detect, triage, and remediate Java dependency vulnerabilities in Maven and Gradle builds.

Updated May 28, 2026
One-click install
npx skills add https://github.com/susamn/skills --skill java-vulnerability-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: java-vulnerability-manager
Source: https://github.com/susamn/skills/tree/main/java-vulnerability-manager
Command: npx skills add https://github.com/susamn/skills --skill java-vulnerability-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, python3, bc, owasp-dependency-check, grype, and includes scripts (resource) components.

What problem does it solve?

Manually identifying, prioritizing, and fixing vulnerable dependencies in Java Maven and Gradle projects is extremely time-consuming and error-prone, especially when dealing with transitive dependencies, complex version mediation rules, BOM overrides, and edge cases like shaded JARs or classifier artifacts that can lead to missed vulnerabilities or broken builds after fixes.

Core Features & Use Cases

  • Automated Dual-Scanner Triage: Runs OWASP Dependency-Check and Grype scans, deduplicates findings, classifies vulnerabilities as direct or transitive, and produces a prioritized CVE report with CVSS scores and fix version recommendations.
  • Dependency Origin Tracing: Maps full dependency chains for transitive vulnerabilities, detects version conflicts, identifies BOM/parent POM control, and generates ready-to-paste fix snippets for Maven or Gradle.
  • Safe Remediation Workflow: Guides users through low-risk fix strategies (direct upgrades, BOM bumps, dependency management pins, constraints) with mandatory post-fix validation to catch regressions like missing runtime classes or broken compiles.
  • Use Case: For a team with a critical Text4Shell (CVE-2022-42889) vulnerability in a transitive commons-text dependency, the skill traces the exact dependency chain, generates the correct dependencyManagement pin, validates the fix, and can integrate the scan into CI to prevent reintroduction.

Quick Start

Use the java-vulnerability-manager skill to scan your Java Maven or Gradle project for dependency CVEs, get a prioritized fix plan, and validate that applied fixes resolve vulnerabilities without breaking your build.

Frequently Asked Questions about java-vulnerability-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan Maven and Gradle dependencies for CVE vulnerabilities?

To scan Maven and Gradle dependencies for CVE vulnerabilities, you can automate detection using dual scanners like OWASP Dependency-Check and Grype. This process deduplicates findings, classifies vulnerabilities as direct or transitive, and generates prioritized reports with CVSS scores and fix version recommendations.

How do I fix a vulnerable transitive dependency in a Java project without breaking the build?

Fixing a vulnerable transitive Java dependency involves tracing the full dependency chain and applying safe remediation strategies like dependencyManagement pins or BOM overrides. Mandatory post-fix validation ensures applied fixes resolve vulnerabilities without breaking compiles or missing runtime classes.

What is the best way to handle Text4Shell vulnerabilities in commons-text transitive dependencies?

The best way to handle Text4Shell vulnerabilities in transitive commons-text dependencies is to trace the exact dependency chain, generate the correct dependencyManagement pin for Maven or Gradle, validate the fix, and integrate continuous scanning into CI to prevent reintroduction.

Does OWASP Dependency-Check detect vulnerabilities in shaded JARs and BOM overrides?

Yes, OWASP Dependency-Check can be configured to detect vulnerabilities in shaded JARs, classifier artifacts, and BOM override logic. When combined with Grype, the dual-scanner approach ensures complex version mediation rules and exclusion edge cases are fully covered.

Why are my Java dependency vulnerability scans showing false positives after a version upgrade?

Java dependency vulnerability scans often show false positives after version upgrades due to complex version mediation or shaded JAR artifacts. You can manage documented OWASP suppression entries to explicitly handle false positives and accepted risks within your project.

Can I integrate automated CVE scanning and remediation into my Java CI pipeline?

Yes, you can integrate automated CVE scanning and remediation into Java CI pipelines. By running OWASP Dependency-Check and Grype scans, the workflow produces structured CVE reports, generates ready-to-use fix snippets, and validates post-remediation builds to prevent vulnerable dependency reintroduction.