OSV Dependency Scanner – Vulnerabilities in Lockfiles & Repos avatar

OSV Dependency Scanner – Vulnerabilities in Lockfiles & Repos

Pricing

from $0.50 / 1,000 package checkeds

Go to Apify Store
OSV Dependency Scanner – Vulnerabilities in Lockfiles & Repos

OSV Dependency Scanner – Vulnerabilities in Lockfiles & Repos

Check npm, PyPI, Go, Cargo, Composer and RubyGems dependencies for known vulnerabilities with OSV.dev. Paste packages or lockfiles, give file URLs or public GitHub repos. Returns advisory IDs, CVEs, CVSS severity, fixed versions and references.

Pricing

from $0.50 / 1,000 package checkeds

Rating

0.0

(0)

Developer

Adam Plänitz

Adam Plänitz

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

Check your dependencies for known security vulnerabilities with the open OSV.dev database: paste a list of packages or a lockfile, link to manifest files, or point it at public GitHub repositories. You get one clean item per vulnerable package version with advisory IDs (GHSA, PYSEC, GO, RUSTSEC …), CVE aliases, CVSS score and severity, a short summary, the fixed versions and the most useful reference links. Export as JSON, CSV or Excel, or connect to Google Sheets, Slack, Make, Zapier, n8n or webhooks.

What does it do?

  1. Collects packages from any combination of:

    • a package list (npm:lodash@4.17.15, PyPI:requests==2.19.0, Go:github.com/gin-gonic/gin@v1.6.0, package URLs like pkg:npm/lodash@4.17.15),
    • pasted file content (one manifest or lockfile),
    • file URLs (any public URL; GitHub blob links are converted to raw links),
    • public GitHub repositories (repository root or a sub-folder via /tree/<branch>/<folder>).
  2. Parses these files:

    EcosystemFiles
    npmpackage-lock.json (v1–v3), npm-shrinkwrap.json, yarn.lock (classic and Berry), package.json
    PyPIrequirements.txt (pinned == lines), poetry.lock, uv.lock, pdm.lock, Pipfile.lock
    Gogo.mod (direct and // indirect requirements)
    crates.ioCargo.lock
    Packagistcomposer.lock
    RubyGemsGemfile.lock

    Maven, NuGet, Pub and Hex packages can be checked via the package list.

  3. Queries OSV.dev in batches (up to 1,000 packages per request) and loads every matching advisory.

  4. Merges duplicates – the same vulnerability published as PYSEC-… and GHSA-… becomes one entry with all IDs.

  5. Computes the CVSS 3.x base score from the vector, the highest severity per package, the smallest fixed version per advisory and an upgrade hint (the lowest version that fixes all listed advisories, as far as the advisories state).

Who is it for?

  • Developers and DevOps teams who want a quick vulnerability check of a project without installing a scanner.
  • Agencies and freelancers auditing many client repositories in one run.
  • Security and compliance teams building SBOM / dependency inventories and recurring reports (schedule the Actor and send the results to Slack, e-mail or a spreadsheet).
  • AI agents and automations that need a simple API: "is package X version Y vulnerable?".

Input

FieldDefaultDescription
Packages–One per line: ecosystem:name@version (npm, PyPI, Go, crates.io, Packagist, RubyGems, Maven, NuGet, Pub, Hex; aliases such as pip, cargo, composer, gem work too), PyPI:name==version, or a package URL.
Public GitHub repositories–https://github.com/owner/repo or https://github.com/owner/repo/tree/main/backend. Reads the supported files in that folder. package.json is only used if there is no npm lockfile.
Manifest / lockfile URLs–Direct links to supported files.
Manifest / lockfile content–Paste one file; the format is detected automatically.
Outputonly vulnerableOr one item for every checked package including clean ones.
Minimum severityanyIgnore advisories below LOW / MEDIUM / HIGH / CRITICAL.
Include development dependenciesyesWhere the file marks them (package.json, package-lock.json, poetry.lock, Pipfile.lock, composer.lock).
Include withdrawn advisoriesno
Output skipped entriesnoFree rows for dependencies without an exact version (unpinned requirements, git dependencies …).
References per advisory5Advisory and fix links first.
Maximum packages per run5,000Safety limit.

Output example (shortened)

{
"status": "vulnerable",
"ecosystem": "PyPI",
"name": "requests",
"version": "2.19.0",
"purl": "pkg:pypi/requests@2.19.0",
"vulnerabilityCount": 5,
"maxSeverity": "HIGH",
"maxCvssScore": 7.5,
"cves": ["CVE-2018-18074", "CVE-2023-32681", "CVE-2024-35195", "…"],
"upgradeTo": "2.33.0",
"hasUnfixedVulnerabilities": false,
"vulnerabilities": [
{
"id": "GHSA-x84v-xcm2-53pg",
"ids": ["GHSA-x84v-xcm2-53pg", "PYSEC-2018-28"],
"aliases": ["CVE-2018-18074"],
"cve": "CVE-2018-18074",
"summary": "Insufficiently Protected Credentials in Requests",
"severity": "HIGH",
"cvssScore": 7.5,
"cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"cwes": ["CWE-522"],
"fixedVersions": ["2.20.0"],
"fixedIn": "2.20.0",
"published": "2018-10-09T17:29:00Z",
"references": [{ "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-18074" }],
"osvUrl": "https://osv.dev/vulnerability/GHSA-x84v-xcm2-53pg",
"sources": [{ "database": "GitHub Advisory Database", "license": "CC-BY 4.0" }, { "database": "PyPI Advisory Database (PyPA)", "license": "CC-BY 4.0" }]
}
],
"dev": false,
"foundIn": ["input"],
"attribution": "Vulnerability data from OSV.dev …"
}

Inputs that cannot be read (unknown format, file not found, package spec without ecosystem) get a row with status: "error" – free of charge. A run summary (sources, packages per file, advisories by severity) is saved as RUN-SUMMARY in the key-value store.

Pricing and speed

See the Pricing tab. You pay per checked package version (vulnerable or clean); duplicates across files are checked and charged once, error rows and skipped entries are free. Typical run times: a handful of packages ≈ 5 seconds, a repository with 400 dependencies ≈ 15 seconds.

Data source, licence and privacy

  • Data: OSV.dev, the open vulnerability database run by Google's Open Source Security Team, via its public API. OSV aggregates advisories from upstream databases, and each advisory keeps the licence of its source – for the ecosystems used here mostly CC-BY 4.0 (GitHub Advisory Database, PyPI Advisory Database, Go Vulnerability Database) and CC0 1.0 (RustSec). Every item carries an attribution field and each advisory lists its source database and licence; please keep the attribution when you republish the data.
  • This Actor is an independent tool and is not affiliated with, endorsed by or sponsored by Google, OSV.dev or the source databases.
  • Files from GitHub are read from raw.githubusercontent.com (public repositories only). Your files are only used for the scan; no personal data is processed.

Limits

  • Only exact versions can be checked. package.json ranges such as ^4.17.15 are checked with their lower bound (versionFromRange: true) – use a lockfile for exact results. Unpinned requirements.txt lines are skipped.
  • The upgrade hint is derived from the advisories' version ranges and a generic version comparison; check it against the package's release notes.
  • OSV covers published advisories only – no static code analysis, no licence check, no reachability analysis.
  • pnpm-lock.yaml, pom.xml, build.gradle and .csproj files are not parsed yet (use the package list for these ecosystems).

Questions or feature requests? Please open an issue in the Issues tab.