{"id":45345214,"url":"https://github.com/deeprave/osvcheck","last_synced_at":"2026-02-21T11:07:39.309Z","repository":{"id":339493908,"uuid":"1162131409","full_name":"deeprave/osvcheck","owner":"deeprave","description":"Lightweight python-based OSV vulnerability checker","archived":false,"fork":false,"pushed_at":"2026-02-20T01:48:42.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-20T04:19:47.783Z","etag":null,"topics":["osv","security"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deeprave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-19T22:46:00.000Z","updated_at":"2026-02-20T01:05:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/deeprave/osvcheck","commit_stats":null,"previous_names":["deeprave/osvcheck"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/deeprave/osvcheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeprave%2Fosvcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeprave%2Fosvcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeprave%2Fosvcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeprave%2Fosvcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deeprave","download_url":"https://codeload.github.com/deeprave/osvcheck/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeprave%2Fosvcheck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T09:33:50.764Z","status":"ssl_error","status_checked_at":"2026-02-21T09:33:19.949Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["osv","security"],"created_at":"2026-02-21T11:07:38.689Z","updated_at":"2026-02-21T11:07:39.300Z","avatar_url":"https://github.com/deeprave.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osvcheck\n\n[![Python Tests](https://img.shields.io/github/actions/workflow/status/deeprave/osvcheck/python-test.yml?branch=main\u0026label=tests)](https://github.com/deeprave/osvcheck/actions/workflows/python-test.yml)\n[![PyPI version](https://img.shields.io/pypi/v/osvcheck)](https://pypi.org/project/osvcheck/)\n[![Python versions](https://img.shields.io/pypi/pyversions/osvcheck)](https://pypi.org/project/osvcheck/)\n[![Downloads](https://img.shields.io/pypi/dm/osvcheck)](https://pypi.org/project/osvcheck/)\n[![Security](https://img.shields.io/github/actions/workflow/status/deeprave/osvcheck/codeql.yml?branch=main\u0026label=security\u0026logo=github)](https://github.com/deeprave/osvcheck/security/code-scanning)\n[![Maintenance](https://img.shields.io/badge/maintained-yes-green.svg)](https://github.com/deeprave/osvcheck/graphs/commit-activity)\n\nLightweight vulnerability scanner for Python dependencies using the OSV database.\n\nosvcheck scans your Python project's dependencies for known security vulnerabilities by querying the [OSV (Open Source Vulnerabilities)](https://osv.dev) database. It's designed for source-level checking during development and CI/CD pipelines.\n\n**Key features:**\n- Zero runtime dependencies (stdlib only)\n- Auto-detects package manager (uv.lock, uv, or pip)\n- Smart caching (12-48 hour TTL) minimizes API calls\n- Distinguishes direct vs indirect vulnerabilities\n- Optional rich integration for enhanced output (auto-detected if installed)\n\n## Installation\n\nInstall via pip or uv, or add to your project's dev dependencies.\n\n## Usage\n\n```bash\n# Scan current project\nosvcheck\n\n# Logging options\nosvcheck -v              # Verbose (debug) output\nosvcheck -q              # Quiet (warnings/errors only)\nosvcheck --log-json      # JSON format logs\nosvcheck --log-file FILE # Write logs to file\n\n# Color control\nosvcheck --color         # Force color output\nosvcheck --no-color      # Disable color output\n```\n\n**Exit codes:**\n- `0` - No vulnerabilities found\n- `1` - Indirect dependency vulnerabilities only\n- `2` - Direct dependency vulnerabilities found\n\n**As a Pre-commit hook:**\n\nAdd to `.pre-commit-config.yaml`:\n```yaml\n- repo: https://github.com/deeprave/osvcheck\n  rev: v1.0.0b1\n  hooks:\n    - id: osvcheck\n```\n\n**CI/CD integration:**\n```bash\n# Fail only on direct vulnerabilities\nosvcheck || [ $? -eq 1 ]\n\n# Fail on any vulnerabilities\nosvcheck\n```\n\n## Features\n\n- Scans Python dependencies for known security vulnerabilities\n- Uses the OSV (Open Source Vulnerabilities) database\n- Multi-environment support with auto-detection:\n  - Uses `uv.lock` if present and up-to-date (fastest)\n  - Falls back to `uv pip list` if uv is available\n  - Falls back to `pip list` if pip is available\n- Smart caching with 12-48 hour randomized TTL\n- Distinguishes between direct and indirect dependency vulnerabilities\n- Zero runtime dependencies (Python stdlib only)\n- Optional rich integration for enhanced output (auto-detected if already installed)\n\n## License\n\nMIT License - See LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeprave%2Fosvcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeeprave%2Fosvcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeprave%2Fosvcheck/lists"}