feat: add cve-enrich tool and CLI subcommand for multi-source CVE enrichment - #170
Open
manus-use wants to merge 1 commit into
Open
feat: add cve-enrich tool and CLI subcommand for multi-source CVE enrichment#170manus-use wants to merge 1 commit into
manus-use wants to merge 1 commit into
Conversation
Add a lightweight multi-source CVE enrichment tool that fetches data from NVD, EPSS, CISA KEV, OSV.dev, and VulnCheck KEV **in parallel** and returns a unified risk snapshot. No LLM agent required — pure API aggregation. Features: - Parallel fetching via ThreadPoolExecutor (5 sources, ~15s worst case) - Composite risk scoring from CVSS, EPSS, CISA KEV, VulnCheck signals - CVE ID validation and case normalization - Graceful partial failure: individual source errors don't break the pipeline - Strands @tool interface for agent use - CLI subcommand: manus-agent enrich CVE-XXXX-YYYY [--output json|text] [--no-vulncheck] - Text output with color-coded risk levels and structured sections - JSON output for programmatic consumption Test coverage: 43 new tests covering all fetcher functions, risk computation, integration scenarios (partial failure, exceptions, missing APIs), CLI text/json output modes, and the Strands tool interface.
This was referenced Aug 2, 2026
Open
Open
This was referenced Aug 12, 2026
Open
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a lightweight, non-agent CVE enrichment tool that fetches data from multiple public sources in parallel and returns a unified risk snapshot.
Motivation
Currently, getting a complete picture of a CVE requires manually invoking multiple tools (get_nvd_data, EPSS APIs, check_cisa_kev, get_osv_data, etc.) and mentally combining their outputs. This tool provides a single-call enrichment pipeline that:
What's included
New tool:
cve_enrich(src/manus_agent/tools/cve_enrich.py)ThreadPoolExecutor(5 sources, ~15s worst case)@toolinterface for direct agent useenrich_cve()function for programmatic consumptionNew CLI subcommand:
manus-agent enrichTest suite: 43 new tests (
tests/test_cve_enrich.py)All HTTP calls fully mocked. Covers:
Test results
Usage as a building block