# OSV-Scanner Vulnerability Checker (`ayeeyee/osv-scanner-vulnerability-checker`) Actor

Scan a git repository dependency manifests, package-lock.json, requirements.txt, go.sum, and more, against Google OSV.dev vulnerability database using OSV-Scanner. Get cross-ecosystem CVE matching across npm, PyPI, Go, Maven, and other package registries. $0.49 per completed scan.

- **URL**: https://apify.com/ayeeyee/osv-scanner-vulnerability-checker.md
- **Developed by:** [Virtual Footprint LLC](https://apify.com/ayeeyee) (community)
- **Categories:** Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $490.00 / 1,000 scan completeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

<p align="center">
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAwIiBoZWlnaHQ9IjMyMCIgdmlld0JveD0iMCAwIDEyMDAgMzIwIiByb2xlPSJpbWciIGFyaWEtbGFiZWxsZWRieT0idGl0bGUgZGVzYyI+CiAgPHRpdGxlIGlkPSJ0aXRsZSI+T1NWLVNjYW5uZXIgVnVsbmVyYWJpbGl0eSBDaGVja2VyPC90aXRsZT4KICA8ZGVzYyBpZD0iZGVzYyI+RmFzdCBsb2NrZmlsZS1iYXNlZCBjaGVja3MgYWdhaW5zdCBPU1YuZGV2PC9kZXNjPgogIDxkZWZzPgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJlZGdlIiB4MT0iMCIgeTE9IjAiIHgyPSIxIiB5Mj0iMSI+CiAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzQyODVmNCIgc3RvcC1vcGFjaXR5PSIwLjE4Ii8+CiAgICAgIDxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzQyODVmNCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8L2xpbmVhckdyYWRpZW50PgogIDwvZGVmcz4KICA8cmVjdCB3aWR0aD0iMTIwMCIgaGVpZ2h0PSIzMjAiIHJ4PSIyNiIgZmlsbD0iIzBhMGQxMiIvPgogIDxyZWN0IHdpZHRoPSIxMjAwIiBoZWlnaHQ9IjMyMCIgcng9IjI2IiBmaWxsPSJ1cmwoI2VkZ2UpIi8+CiAgPHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSIxMTk5IiBoZWlnaHQ9IjMxOSIgcng9IjI1LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzFjMjEyOSIgc3Ryb2tlLXdpZHRoPSIxIi8+CgogIDxnIGlkPSJ0aXRsZS1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nPgogIDwvZz4KPC9zdmc+" width="100%" alt="osv-scanner-vulnerability-checker hero banner">
</p>

<p align="center">
  <a href="https://github.com/google/osv-scanner"><img src="https://img.shields.io/badge/powered%20by-OSV--Scanner-4285F4?style=for-the-badge" alt="Powered by OSV-Scanner"></a>
  <img src="https://img.shields.io/badge/License-Apache--2.0-555555?style=for-the-badge" alt="Apache 2.0">
  <img src="https://img.shields.io/badge/Database-OSV.dev-F86606?style=for-the-badge" alt="OSV.dev">
</p>

<p align="center">
  <a href="#why-a-third-scanner">Why a third scanner</a> &bull;
  <a href="#use-cases">Use cases</a> &bull;
  <a href="#input">Input</a> &bull;
  <a href="#output">Output</a> &bull;
  <a href="#pricing">Pricing</a>
</p>

## OSV-Scanner Vulnerability Checker

**Fast, lockfile-based CVE checks for any public repo — real matches from OSV.dev, Google's open vulnerability database.**

> **Verified live** against `pallets/flask`: 27 real vulnerabilities found across its `celery` example's `requirements.txt`, correctly attributed to the exact manifest file that caused them.

### Why a third scanner

[OSV.dev](https://osv.dev) aggregates PyPI Advisory DB, GitHub Security Advisories, npm advisories, RustSec, and the Go vulnerability database into one open, community-curated feed with precise affected-version-range data. Reading directly from lockfiles — instead of a full filesystem scan — makes this fast and low-noise: a useful independent cross-check alongside the Trivy and Grype scanners in this catalog, not a duplicate of either.

### Use cases

- **Fast pre-commit / pre-PR check** — lockfile-only scanning is quick enough to run on every pull request without slowing CI down.
- **Multi-ecosystem monorepo audits** — one scan covers npm, pip, Go, Rust, and more in a single pass across a polyglot repo.
- **Cross-check Trivy/Grype findings** — an independent third data source to confirm (or catch what the others miss on) a CVE.
- **Dependency upgrade planning** — see exactly which manifest file and package version triggers each finding, and what fixes it.
- **Open source contribution review** — quickly vet a project's dependency health before contributing or forking.
- **Security posture reporting** — track vulnerability count trends over time as a lightweight recurring health check.

### Input

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `target` | string | yes | Public git repo URL |
| `severityFilter` | array | no | Restrict results to given severities |

```json
{ "target": "https://github.com/owner/repo" }
```

### Output

One row per real vulnerability match (ID, aliases, package, ecosystem, installed version, severity, fixed versions, advisory link), plus one `scan_summary` row with totals by severity and which manifest files were scanned.

One real vulnerability from a live scan against `pallets/flask`:

```json
{
  "findingType": "vulnerability",
  "target": "https://github.com/pallets/flask",
  "sourceFile": "examples/celery/requirements.txt",
  "pkgName": "click",
  "pkgEcosystem": "PyPI",
  "installedVersion": "8.1.3",
  "vulnerabilityId": "PYSEC-2026-2132",
  "aliases": ["CVE-2026-7246", "GHSA-47fr-3ffg-hgmw"],
  "severity": "UNKNOWN",
  "severityScore": "CVSS:3.1/A..."
}
```

### Frequently asked questions

**How does this differ from Trivy and Grype in the same catalog?**
It reads dependency manifests directly (requirements.txt, package-lock.json, go.sum, etc.) rather than doing a full filesystem or image scan, so it's faster and scoped to declared dependencies. OSV.dev is also a distinct data source from what Trivy and Grype use, so results are a genuine independent cross-check, not a duplicate.

**Which manifest files does it read?**
Whatever OSV-Scanner itself supports — common ones include `requirements.txt`, `package-lock.json`, `yarn.lock`, `go.sum`, `Gemfile.lock`, and `Cargo.lock`. It scans the whole repo tree, not just the root.

**What does `severity: UNKNOWN` mean?**
Not every OSV.dev advisory carries a normalized severity rating — some only publish a CVSS vector string (as in the example above) without OSV's own severity bucket. The `severityScore` field still gives you the underlying CVSS vector to interpret yourself.

**Can it scan a container image, not just a repo?**
No — this Actor is scoped to git repos and their dependency manifests. For container image scanning, use [Trivy Security Scanner](https://apify.com/ayeeyee/trivy-security-scanner) or [Grype Vulnerability Matcher](https://apify.com/ayeeyee/grype-vulnerability-matcher) in the same catalog.

### Limitations

- Only public git repos are supported — no container image scanning.
- Findings are scoped to what's declared in lockfiles/manifests; a vulnerable transitive dependency not captured in a lockfile won't be caught.
- Some advisories carry only a CVSS vector string rather than a normalized severity label (see FAQ above).

### Start scanning

Give it a public repo URL and run it — pair it with Trivy or Grype on the same target if you want image-level coverage alongside manifest-level checks.

### Pricing

Pay per completed scan (Pay-Per-Event) — **$0.49 per scan**, charged once the scan finishes regardless of how many matches are fou

### Related Actors

Part of a five-Actor security scanning catalog: [Trivy Security Scanner](https://apify.com/ayeeyee/trivy-security-scanner), [Gitleaks Secret Scanner](https://apify.com/ayeeyee/gitleaks-secret-scanner), [Syft SBOM Generator](https://apify.com/ayeeyee/syft-sbom-generator), [Grype Vulnerability Matcher](https://apify.com/ayeeyee/grype-vulnerability-matcher).

# Actor input Schema

## `target` (type: `string`):

Public git repository URL to scan its manifest/lockfiles (requirements.txt, package-lock.json, go.sum, Cargo.lock, etc.) against the OSV.dev vulnerability database.

## `severityFilter` (type: `array`):

Only return vulnerabilities at these severities. Empty = all severities.

## Actor input object example

```json
{
  "target": "https://github.com/google/osv-scanner",
  "severityFilter": []
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "target": "https://github.com/google/osv-scanner"
};

// Run the Actor and wait for it to finish
const run = await client.actor("ayeeyee/osv-scanner-vulnerability-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "target": "https://github.com/google/osv-scanner" }

# Run the Actor and wait for it to finish
run = client.actor("ayeeyee/osv-scanner-vulnerability-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "target": "https://github.com/google/osv-scanner"
}' |
apify call ayeeyee/osv-scanner-vulnerability-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=ayeeyee/osv-scanner-vulnerability-checker",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/d8SRH87NQiXd0z7AY/builds/N9AH8tKA07eidGXCc/openapi.json
