Open Source Alternatives
  • Alternatives
  • Categories
    Categories by size1,241 projects
    • Developer Tools639
    • AI & Machine Learning533
    • Business & Productivity298
    • Web Development217
    • Security & Monitoring192
    • Communication & Collaboration167
    • IT Management159
    • LLMOps & AI Tooling135
    • Design & Creative133
    • DevOps & CI/CD133
    Browse all 21 categoriesCloud & Hosting, Product & Project Management and 9 more
  • Blog
  • Advertise
SearchNotion, Slack, password manager.../
Submit
Open Source Alternatives
  • Alternatives
    • Developer Tools639
    • AI & Machine Learning533
    • Business & Productivity298
    • Web Development217
    • Security & Monitoring192
    • Communication & Collaboration167
    • Browse all 21 categories
  • Blog
  • Advertise
Submit your project

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Open Source Alternatives LogoOpen Source Alternatives

Handpicked Open Source Alternatives to Paid Softwares

Add Open Source Alternatives as a preferred source on Google

Product

  • Categories
  • Tag
  • Advertise

Resources

  • Blog
  • Collection
  • Submit

Company

  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap

Alternatives

  • Claude Code
  • Jira
  • Notion
  • Slack
  • Linear
  • Wispr Flow
  • All alternatives
© 2026 Open Source Alternatives. All rights reserved.
Open SourceAlternatives
Home/Categories/Security & Monitoring/Osv Scanner
icon of Osv Scanner

Osv Scanner

Open source alternative to Snyk, Mend.io, Socket, Sonatype Lifecycle and Endor Labs

  • 11.5K stars
  • Apache-2.0
  • Active this week
  • Last commit today

Last verified Nov 14, 2026

Secure your project dependencies by scanning for known vulnerabilities across 11+ languages and container images using the open source OSV database.

Visit websiteGitHub11.5K stars
Image for Osv Scanner
TL;DR

Osv Scanner OSV-Scanner is an Apache-2.0 licensed CLI tool from Google that scans your project's dependencies against the OSV.dev vulnerability database, covering 11+ language ecosystems and 19+ lockfile types. It replaces paid SCA tools like Snyk and Mend.io for teams who need accurate vulnerability alerts in CI without per-seat pricing or mandatory cloud upload. Install it as a prebuilt binary and run it against any source directory, lockfile, or container image. Best for development teams and open source maintainers who want low-noise, authoritative vulnerability scanning at no cost.

Read the full breakdownHide the full breakdownWho it is for, how it works, trade-offs, the quick start and the FAQ
who it's for

Who Osv Scanner is for#

CI/CD engineers adding dependency scanning to pipelines

OSV-Scanner runs as a single binary with no server setup. Add `osv-scanner scan source -r .` to any CI step to block merges on known vulnerabilities. It outputs results that integrate with GitHub Actions annotations, and runs offline against a local database in restricted environments.

Skip if:

Your team needs policy enforcement across multiple repositories from a central dashboard, or requires automated pull request creation for dependency upgrades. OSV-Scanner reports findings but does not open PRs or enforce policies outside the terminal.

Open source maintainers auditing their own libraries

Maintainers can scan their project's dependency graph against the OSV.dev database to catch known CVEs before they affect downstream users. The Apache-2.0 license integrates freely into any maintenance workflow, and offline mode works in environments with outbound API restrictions.

Skip if:

If your library has no external dependencies, there is nothing for OSV-Scanner to scan. It scans declared dependencies against known CVE databases, not your own source code.

Security engineers replacing a paid SCA tool

OSV-Scanner covers the core SCA use case (dependency vulnerability detection across ecosystems) for teams wanting to remove a per-seat paid tool from their pipeline. It scans containers and OS packages alongside language dependencies, and queries the same underlying advisory sources that most commercial tools repackage.

Skip if:

If your team needs AI-assisted remediation, SBOM generation, or integration with issue trackers out of the box, OSV-Scanner requires more engineering to match that workflow. The guided remediation feature is experimental and limited to npm and Maven.

Platform teams scanning container images for CVEs

The container scanning feature detects vulnerabilities in OS packages and language artifacts across Alpine, Debian, and Ubuntu base images. Run `osv-scanner scan image my-image-name:tag` to get a layer-aware report covering both the base OS and application dependencies in one pass.

Skip if:

OSV-Scanner's container scanning does not cover all Linux distributions; teams running custom base images outside Alpine, Debian, or Ubuntu should verify their distro is supported before relying on it for production image audits.

the problem

The problem it solves#

Software supply chain vulnerabilities accumulate faster than most teams can review them. Paid SCA tools like Snyk charge per developer seat, require code or dependency data to be sent to external servers, and often source their advisories from closed databases that lag behind public disclosures by hours or days. Alert volumes climb regardless of whether a vulnerable function is ever called, leaving teams manually triaging dozens of low-priority findings per sprint.

The underlying problem is data quality. When advisory databases are proprietary, teams cannot verify whether a finding is accurate, what its authoritative source is, or how the affected version range was determined. OSV-Scanner addresses this by querying OSV.dev, an open database where every advisory traces back to a named, authoritative source, and by offering optional call analysis to determine whether a vulnerable function is reachable in your specific project, cutting false positives.

how Osv Scanner solves it

How it solves it#

Multi-ecosystem dependency scanning

Recursively scans source directories for supported package files (package.json, go.mod, pom.xml, Cargo.lock, Gemfile.lock, and 19+ others) across 11 language ecosystems including Go, Java, JavaScript, Python, Rust, and Ruby. One command covers the whole repository.

Container image vulnerability scanning

Layer-aware scanning for container images, detecting vulnerabilities in OS packages (Alpine, Debian, Ubuntu) and language artifacts (Go, Java, Node, Python). Run with `osv-scanner scan image my-image-name:tag`.

License scanning via deps.dev

Checks dependency licenses using deps.dev data. Run a summary report or validate against an allowed SPDX license list (such as MIT,Apache-2.0) to catch license compliance issues before they reach production.

Offline scanning mode

Scan against a locally downloaded OSV database without any network connection after the initial sync. Useful for air-gapped environments or regulated infrastructure where outbound API calls are restricted.

Call analysis to cut false positives

Optional call-graph analysis determines whether a vulnerable function is actually reachable in your project, reducing the alert count to findings that matter. Fewer alerts means faster triage.

Guided remediation for npm and Maven

Experimental fix command suggests package version upgrades based on dependency depth, minimum severity, and return on investment. Supports in-place lockfile edits for npm and dependency overrides for Maven pom.xml.

strengths · trade-offs

Strengths and trade-offs#

Strengths

  • Apache-2.0 license with no usage restrictionsOSV-Scanner is Apache-2.0 licensed, with no per-seat pricing, no data upload requirements, and no commercial use restrictions. Run it on internal infrastructure, in CI, or as part of a hosted service without a licensing agreement.
  • Open, authoritative advisory sourcesEvery advisory in OSV.dev traces to a named public source, such as GitHub Security Advisories, RustSec, and Ubuntu security notices. Unlike closed advisory databases, teams can inspect the source and suggest corrections, which keeps the database more accurate and current.
  • Google-maintained with active developmentMaintained by Google's open source security team, the project reached 11,511 GitHub stars and ships binaries for every major platform. The repo received updates as recently as November 2026, with SLSA Level 3 build provenance for all releases.
  • CLI-native with CI/CD integrationOSV-Scanner runs as a single binary in any pipeline with no agent, sidecar, or dashboard account required. It outputs structured results for GitHub Actions, GitLab CI, and other systems.

Trade-offs

  • -Guided remediation is experimental and limited in scopeThe fix command is marked experimental and currently supports only npm (package-lock.json and package.json) and Maven (pom.xml). It explicitly warns that it can be risky on untrusted projects because it may trigger package manager scripts. Teams using other ecosystems or who need production-grade auto-fix workflows should treat it as a preview feature.
  • -No dashboard or reporting UIOSV-Scanner is a CLI tool with no built-in dashboard, trend tracking, or policy management UI. Teams that need centralized vulnerability reporting across many repositories, role-based access, or executive-facing dashboards will need to build that layer themselves or use a paid SCA platform.
  • -Container scanning covers a limited set of distrosOS-level container scanning supports Alpine, Debian, and Ubuntu base images. Teams running custom or less common Linux distributions in containers should verify their distro is supported before relying on OSV-Scanner for OS-level vulnerability detection in production images.
versus alternatives

Osv Scanner vs alternatives#

OSV-Scanner vs Snyk

Both tools scan open source dependencies for known vulnerabilities across multiple language ecosystems. The core difference is deployment model: OSV-Scanner is a free CLI tool that queries the open OSV.dev database, while Snyk is a commercial SaaS platform with per-seat pricing and a proprietary advisory database.

FeatureOSV-ScannerSnyk
LicenseApache-2.0Proprietary
PricingFreePer-seat (paid plans required at scale)
Self-hostingRuns locally or in CICloud-based, no self-hosting
Data sent externallyPackage names and versions onlyCode, dependencies, and project metadata
Advisory sourceOpen (OSV.dev)Proprietary Snyk database
Auto-remediationExperimental (npm, Maven)Available across ecosystems
DashboardNone (CLI output)Yes

OSV-Scanner is the better choice for teams that want free, transparent vulnerability scanning in CI with no cloud dependency and no seat-based cost. Snyk is the better choice when you need automated pull request creation for dependency upgrades, an executive-facing dashboard, or AI-assisted remediation across a broad range of ecosystems.

OSV-Scanner vs Mend.io

Mend.io (formerly WhiteSource) is an enterprise SCA platform targeting security and compliance teams. OSV-Scanner covers the core dependency scanning use case at no cost; Mend.io adds policy enforcement, automated remediation at scale, license compliance workflows, and enterprise integrations.

OSV-Scanner fits teams whose primary need is accurate CVE detection in CI without a procurement process. Mend.io is worth considering when your organization needs formalized license risk management, centralized policy enforcement across many repositories, or integration with JIRA and ticketing systems out of the box.

OSV-Scanner vs Socket

Socket focuses on proactive supply-chain security, detecting malicious packages, typosquatting, and risky dependency behavior before you install them. OSV-Scanner focuses on known CVEs in already-installed dependencies, querying the OSV.dev database after the fact.

The two tools address different problems. Teams concerned about malicious packages in the npm or PyPI registry should evaluate Socket for that layer of protection. Teams auditing their existing dependency graph against known CVEs should use OSV-Scanner. For thorough supply-chain coverage, they complement each other.

install · quick start

Quick start#

bash
Download the prebuilt binary for your platform from GitHub Releases: https://github.com/google/osv-scanner/releases/latest
tech stack · detected from GitHub

What it's built on#

Languages
GoJavaJavaScriptPHPPython
Frameworks
DjangoFlask
frequently asked

FAQ#

Is OSV-Scanner free to use?

Yes. OSV-Scanner is Apache-2.0 licensed and completely free, with no paid tier, no per-seat fee, and no cloud subscription. You download the binary, run it on your own infrastructure, and query the OSV.dev API directly. The OSV.dev database itself is also open source. For teams that want to avoid any network calls, offline mode downloads the database locally.

How is OSV-Scanner different from Snyk or Mend.io?

Snyk and Mend.io are commercial SCA platforms with per-seat pricing, proprietary advisory databases, and cloud-based scanning infrastructure. OSV-Scanner is a CLI tool that queries the open OSV.dev database directly, requires no account, and sends only package names and versions to the API (no source code). It covers fewer workflow automation features (no auto-PR creation, no dashboard), but it is free, transparent about its advisory sources, and can run entirely offline.

Can OSV-Scanner scan Docker or container images?

Yes. OSV-Scanner supports layer-aware container image scanning for Alpine, Debian, and Ubuntu base images, and detects vulnerabilities in Go, Java, Node, and Python language artifacts within the image. Run it with osv-scanner scan image my-image-name:tag. Support is limited to those specific distributions and language ecosystems for OS-level packages.

Does OSV-Scanner fix vulnerabilities or just report them?

OSV-Scanner reports vulnerabilities and, in experimental guided remediation mode, can suggest or apply package version upgrades for npm and Maven projects. The fix command is marked experimental and comes with a warning that it may trigger package manager scripts on untrusted projects. For other ecosystems or production-grade auto-fix workflows, the guided remediation feature is not yet stable.

How do I install OSV-Scanner?

The recommended method is to download a prebuilt binary for your platform from the GitHub Releases page: https://github.com/google/osv-scanner/releases/latest. Binaries are available for Linux, macOS, and Windows. If you have Go installed, you can also build from source with go install github.com/google/osv-scanner/v2/cmd/osv-scanner@latest. Full installation instructions are at https://google.github.io/osv-scanner/installation.

also worth a look

Similar open-source tools#

Codex Security

Alternative toSnyk

Find, validate, and fix code vulnerabilities via CLI, SDK, or Codex.

  • 11,742 GitHub stars
  • Apache-2.0Licence Apache-2.0

Sandchest

Alternative toSnyk

AI code security reviewer using abliterated, unrestricted models

  • 57 GitHub stars
  • AGPL-3.0Licence AGPL-3.0

security-audit-skill

Alternative toSnyk

Multi-phase security audits with machine-readable findings

  • 65,109 GitHub stars
  • MITLicence MIT

ship-safe

Alternative toSnyk

Security scanner for AI agents, MCP servers, and LLM codebases.

  • 872 GitHub stars
  • MITLicence MIT

strix

Alternative toXBOW

Autonomous AI pentesting with proof-of-exploit and auto-fix PRs.

  • 74,914 GitHub stars
  • Apache-2.0Licence Apache-2.0

REA (Reverse Engineer Anything)

Featured

Alternative toRevEng.AI

AI-powered reverse engineering for binaries, apps, and assemblies.

  • 450,612 GitHub stars
  • MITLicence MIT
by category

Open source tools in these categories#

194

Security & Monitoring

REA (Reverse Engineer Anything), RustDesk, Sherlock
640

Developer Tools

Skills for Real Engineers, REA (Reverse Engineer Anything), superpowers

Sponsors

Inbox Zero

Alternative toSuperhuman

AI email assistant that drafts replies and clears your inbox

  • 12,987 GitHub stars
  • AGPL-3.0Licence AGPL-3.0
  • #Email

rakazo

Alternative toGrok Bot

AI teammates you own: your keys, your model, your machine.

  • 7,869 GitHub stars
  • Apache-2.0Licence Apache-2.0
  • #AI Agents

SnitchFeed

Live monitoring on LinkedIn, X, Reddit & more. Agentic social listening for startups.

Marketing & Growth

Advertise your product

New open source projects by email

The projects we add and every new guide. Free, unsubscribe any time.

Find open source alternatives to paid software

/
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • Microsoft Teams to Rocket.Chat
  • 1Password to KeePassXC
  • Firebase to Supabase
  • Pinecone to Qdrant
  • Zapier to n8n
  • Devin AI to OpenHands
  • Asana to Leantime
  • Claude Code to OpenCode
  • Jira to Windshift
  • Notion to AppFlowy
  • Slack to Mattermost
  • Linear to GitLab
  • Wispr Flow to Handy
  • Arc to Zen Browser
  • CapCut to Concat
  • Grok Bot to rakazo
  • Superhuman to Inbox Zero
  • Discord to Stoat
  • Airtable to AITable
  • Datadog to SigNoz
  • Muse to OpenClaw
  • Railway to Coolify
  • GitHub Copilot to Cline
  • Confluence to Wiki.js
  • Microsoft Teams to Rocket.Chat
  • 1Password to KeePassXC
  • Firebase to Supabase
  • Pinecone to Qdrant
  • Zapier to n8n
  • Devin AI to OpenHands
  • Asana to Leantime