GhostFree

v0.2.0
io.github.shane-js/ghostfree Checked 1 day ago Published 8 months ago

MCP server that scans your repo's dependencies for security vulnerabilities based on published CVEs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

discover_dependencies Discover Dependencies

Scan the repository for manifest files (requirements.txt, package.json, go.mod, Cargo.toml, pom.xml, *.csproj, Dockerfiles, etc.) and return all pinned dependencies grouped by ecosystem.

check_cves Check CVEs

Check a list of packages against OSV.dev for known vulnerabilities. Returns CVEs above the severity threshold as a numbered list, suppressed/accepted risks, expired acceptances, and a count of below-threshold findings.

ParameterTypeDescription
min_severitystringMinimum severity to surface in detail: CRITICAL, HIGH, MEDIUM, or LOW. If omitted, GhostFree will determine the threshold automatically.
packagesarrayArray of packages to check. If omitted, uses packages from the last discover_dependencies call.

enrich_cve Enrich CVE

Fetch enrichment data for a specific CVE ID: CVSS vectors and score from NVD, CWE weakness classification, references, and whether it appears in the CISA Known Exploited Vulnerabilities (KEV) catalog. Gracefully degrades if NVD or KEV are unavailable.

ParameterTypeDescription
cve_id *stringThe CVE ID to enrich, e.g. CVE-2021-44228

list_accepted_risks List Accepted Risks

List all accepted CVE risks, including whether each acceptance has expired.

accept_risk Accept Risk

Record an accepted risk for a CVE, with a reason and mandatory expiry date. Expiry beyond 1 year requires confirm_extended_expiry=true.

ParameterTypeDescription
cve_id *stringThe CVE ID to accept, e.g. CVE-2021-44228
expires_on *stringExpiry date in YYYY-MM-DD format. Required.
reason *stringBusiness justification for accepting this risk
severity *stringSeverity label of the CVE at the time of acceptance (snapshot). Use UNKNOWN if severity is unavailable.
confirm_extended_expirybooleanSet to true to confirm an expiry date more than 1 year away
cvss_scorenumberCVSS score of the CVE at the time of acceptance (snapshot)

remove_accepted_risk Remove Accepted Risk

Remove a previously accepted risk by its UUID acceptance ID.

ParameterTypeDescription
acceptance_id *stringThe UUID of the accepted risk to remove (from list_accepted_risks)