Introducing x2y-guardian
Overview
A professional command-line tool for cross-language dependency vulnerability scanning and analysis. Built by x2y dev tools, it leverages the OSV (Open Source Vulnerability) database for precise vulnerability data.
Project Links
Description
x2y-guardian is designed for developers and security teams who want a unified solution for scanning projects across multiple languages and package managers. By leveraging the OSV database and aggregating data from key security advisories, it provides accurate, up-to-date vulnerability information for dependencies, ensuring safe and secure software projects.
Key Features
Multi-language Support: Scan projects across JavaScript/Node.js, Python, Java (Maven, Gradle), Go, Rust, PHP, and Ruby with a single tool.
Precise Vulnerability Matching: Accurate mapping of vulnerabilities to package versions using the OSV schema.
Comprehensive Audit: Detects outdated dependency versions in all supported ecosystems.
Advanced Parsing: Supports complex scenarios like nested modules, dev-dependencies, Maven dependency management, and more.
Multiple Output Formats: Choose between console output for development or JSON for CI/CD integration.
Supported Ecosystems
JavaScript/Node.js: Scans package.json using npm.
Python: Scans requirements.txt and pyproject.toml using pip.
Java: Scans pom.xml, build.gradle, and build.gradle.kts using Maven or Gradle.
Go: Scans go.mod using Go Modules.
Rust: Scans Cargo.toml using Cargo.
PHP: Scans composer.json using Composer.
Ruby: Scans Gemfile and Gemfile.lock using RubyGems.
Installation & Usage
Installation
Install globally via npm: npm install -g x2y-guardian
Core Commands
x2y-guardian hello: Display a friendly greeting and check functionality.x2y-guardian scan: Scan the current directory for vulnerabilities.x2y-guardian audit: Audit dependencies to detect outdated versions.
Scanning Examples
Default Scan:
x2y-guardian scanSpecific Path:
x2y-guardian scan --path /path/to/project --output consoleJSON Export:
x2y-guardian scan --path /path/to/project --output json
Data Sources & Licensing
Data Sources
x2y-guardian aggregates and normalizes data from GitHub Security Advisories, PyPA (Python Package Authority), RustSec, and the Global Security Database.
License
This project is licensed under the MIT License, the same as the core x2y SDK.
Package Information
Current Version: 1.0.2
Unpacked Size: 51.3 kB
Maintainer: x2ydevs.xyz
Comments
Post a Comment