sbom fix vulnerability
Automated CVE remediation for Maven and npm manifests based on DepAnalyzer security scans.
Free
Works with the AI Agents you already use
sbom fix vulnerability
Example session with this skill installed
Fix the vulnerabilities found in security/depanalyzer-results.json for this Maven project.
- Read your context and instructions
- Compiled the sbom fix vulnerability
I have analyzed the DepAnalyzer scan results and applied patches to your pom.xml. Three packages were updated to resolve identified CVEs, while one package was flagged for manual review due to a required major version upgrade.
Vulnerability Remediation Report
| CVE IDs | Package | Type | Previous | New Version | Location |
|---|---|---|---|---|---|
| CVE-2023-44487 | org.apache.tomcat.embed:tomcat-embed-core | Direct | 9.0.71 | 9.0.81 | pom.xml:42 |
| CVE-2023-34050 | org.springframework:spring-expression | Transitive | 5.3.26 | 5.3.27 | pom.xml:18 |
| CVE-2024-22233 | org.springframework:spring-web | Direct | 6.0.4 | 6.0.11 | pom.xml:22 |
| CVE-2022-25857 | org.yaml:snakeyaml | Transitive | 1.30 | Needs Review (Major Upgrade to 2.0) | N/A |
Next steps
- Rebuild the project using
mvn clean installto update the local repository and verify the build. - Re-run the
sbom-install-pluginscan to confirm all remediated vulnerabilities are cleared from the report. - Review the
pom.xmldiff and run your integration test suite to ensure no regressions occurred during the minor version bumps.
Connects securely to your tools. The creator never sees your data.
About this skill
Run sbom-install-plugin first. It creates the security/depanalyzer-results.json file this skill reads.
Security debt in dependencies leads to supply chain risks and failed compliance audits. Manually cross-referencing CVE reports with manifest files is slow and prone to versioning errors. This skill automates the remediation of vulnerable packages found in your Maven or npm projects.
What it does
- Automated patching parses DepAnalyzer scan results to identify and update vulnerable dependency declarations.
- Transitive resolution identifies if a vulnerability stems from a direct or transitive dependency to determine the correct patching strategy.
- Version selection logic calculates the lowest stable version that resolves all identified CVEs for a package.
- Change validation prevents breaking changes by flagging upgrades that require a new major version or lack a stable fix.
- Minimal footprint restricts modifications to
pom.xmlorpackage.jsonwithout touching source code or external lockfiles.
How it works
- Parse the
security/depanalyzer-results.jsonfile generated by your SBOM plugin. - Analyze the dependency tree to map vulnerabilities to specific lines in your manifests.
- Select safe target versions based on stability and minor-version compatibility.
- Apply all manifest updates in a single non-destructive pass.
Frameworks & tools
Specifically designed for Maven (pom.xml) and npm (package.json) ecosystems. It requires scan data from the DepAnalyzer tool.
Why this beats prompting it yourself
Generic prompts often suggest "the latest version," which breaks APIs, or they hallucinate fixed versions that don't exist. This skill follows strict patching rules that prioritize stability and ecosystem-specific version ranges.
Use cases
- Remediating a list of CVEs identified during a pre-release security scan.
- Patching direct dependencies in a legacy Maven project.
- Identifying and documenting transitive vulnerabilities that require manual major version reviews.
Known limitations
Does not support Gradle projects. It cannot perform lockfile regeneration, package installation, or code-level fixes.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
Supports Maven (pom.xml) and npm (package.json) only. Requires existing DepAnalyzer JSON results. No Gradle support. Does not run tests or install packages.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 13 days ago
- Free with an Agensi account