← 返回
安全合规 中文

x-osv

CLI for Google OSV database. Query vulnerabilities for packages, scan local projects for vulnerable dependencies. **Dependency**: This is an x-cmd module. In...
Google OSV 数据库的命令行工具。查询软件包漏洞,扫描本地项目的依赖漏洞。**依赖**:这是 x-cmd 模块。
edwinjhlee
安全合规 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 1
Stars
📥 572
下载
💾 5
安装
1
版本
#latest

概述

x osv - Open Source Vulnerabilities

> Query Google OSV database for package vulnerabilities and scan local projects.


Quick Start

# Query vulnerability for a package
x osv q -p jq -v 1.7.1

# Scan local project for vulnerabilities (requires osv-scanner)
x osv scanner .

Features

  • Vulnerability Query: Query OSV database for package vulnerabilities
  • Project Scanning: Scan local projects using osv-scanner
  • SARIF Reports: Generate SARIF security reports
  • Multi-ecosystem: Supports npm, pip, Maven, Go, Rust, etc.

Prerequisites

ToolPurposeInstall
------------------------
x-cmdRequired module runtimebrew install x-cmd
osv-scannerProject scanninghttps://github.com/google/osv-scanner

Commands

CommandDescription
----------------------
x osv q Query vulnerabilities for a package
x osv scanner Scan project for vulnerabilities (requires osv-scanner)
x osv vuln Get vulnerability details
x osv sarifGenerate SARIF security reports
x osv ecoList supported ecosystems

Examples

Query Vulnerabilities

# Query specific package version
x osv q -p jq -v 1.7.1

# Query by commit hash
x osv q -c 6879efc2c1596d11a6a6ad296f80063b558d5e0f

Scan Projects

# Scan current directory (requires osv-scanner installed)
x osv scanner .

# Scan specific lockfile
x osv scanner --lockfile requirements.txt
x osv scanner --lockfile package-lock.json

Generate SARIF Reports

# Scan npm project
x osv sarif npm ./my-project/

# Scan pip project with JSON output
x osv sarif pip ./project/ --json

Supported Ecosystems

View all supported ecosystems:

x osv eco

Includes: npm, PyPI, Maven, Go, Rust, NuGet, Packagist, etc.


API Key

No API key required for basic usage. Rate limits apply for unauthenticated requests.


Related

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 22:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,210 📥 266,142
developer-tools

x-cmd

edwinjhlee
首先加载 x‑cmd:`. ~/.x‑cmd.root/X`,然后使用 `x nihao --llmstxt` 探索,或通过 `x skill` 发现技能。x‑cmd 提供 600+ 便携式软件和开发...
★ 5 📥 781
security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,584