> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OSV

> OSV provides an open vulnerability database and API for querying vulnerabilities by package, version, commit, or vulnerability identifier.

![OSV logo](https://mintcdn.com/composio-preview/gqjBKmmJCINafaiK/images/toolkits/osv.svg?fit=max\&auto=format\&n=gqjBKmmJCINafaiK\&q=85\&s=05f1f51252879b5e2fccfbcddaf89a6c)

* **Category:** developer tools
* **Auth:** NO\_AUTH
* **Composio-managed OAuth available?** N/A
* **Tools:** 5
* **Triggers:** 0
* **Slug:** `OSV`
* **Version:** 20260921\_00

## Tools

> [accordion] Determine Version
>
> **Slug:** `OSV_DETERMINE_VERSION`
>
> Experimentally rank probable versions of an OSS-Fuzz C/C++ library from relative source-file paths and base64-encoded MD5 hashes. Results may be empty or change because the API is experimental.
>
> #### Input Parameters
>
> **file\_hashes** `array` *required*
>
> Source-file fingerprints from the library tree; provide at least one useful C/C++ file hash for matching. Empty requests are intentionally rejected because they cannot produce a match.
>
> **package\_name** `string`
>
> Optional package-name hint used to improve version matching.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Import Findings
>
> **Slug:** `OSV_GET_IMPORT_FINDINGS`
>
> Experimentally list OSV records from one exact import source that failed import-time quality checks; intended for OSV source maintainers and may return no records.
>
> #### Input Parameters
>
> **source** `string` *required*
>
> Case-sensitive source name exactly matching OSV's source.yaml configuration; this API does not provide source discovery.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Vulnerability
>
> **Slug:** `OSV_GET_VULNERABILITY`
>
> Return the complete OSV record for one case-sensitive vulnerability ID, including affected versions, ranges, severity, references, and aliases.
>
> #### Input Parameters
>
> **vulnerability\_id** `string` *required*
>
> Case-sensitive OSV, CVE, GHSA, or ecosystem vulnerability ID, for example OSV-2020-111 or GHSA-vp9c-fpxx-744v.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Query Vulnerabilities
>
> **Slug:** `OSV_QUERY_VULNERABILITIES`
>
> Find full OSV vulnerability records affecting one package, package version, package URL, or commit. Use next\_cursor to continue a large result set.
>
> #### Input Parameters
>
> **commit** `string`
>
> Commit hash to check. Do not combine with version.
>
> **version** `string`
>
> Case-sensitive upstream package version to check. Do not combine with commit or a versioned package\_url.
>
> **ecosystem** `string`
>
> Case-sensitive OSV ecosystem, such as npm, PyPI, Maven, or Debian. Provide together with package\_name.
>
> **next\_cursor** `string`
>
> Opaque continuation cursor returned by a previous call. It retains the original query identifiers, so a continuation may pass this field alone.
>
> **package\_url** `string`
>
> Package URL (purl) identifying the package, optionally including its version. Use instead of package\_name and ecosystem.
>
> **package\_name** `string`
>
> Case-sensitive package name. Provide together with ecosystem, or use package\_url instead.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Query Vulnerabilities Batch
>
> **Slug:** `OSV_QUERY_VULNERABILITIES_BATCH`
>
> Check up to 1,000 packages, package versions, package URLs, or commits in one request and return position-matched compact vulnerability IDs. Continue unfinished items with their individual page tokens.
>
> #### Input Parameters
>
> **queries** `array`
>
> Zero to 1,000 vulnerability queries. Results preserve this array's order; an empty list returns no results.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
