npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

x2y-guardian

v1.0.2

Published

A command-line tool for cross-language dependency vulnerability scanning and analysis by x2y dev tools.

Readme

🛡️ x2y-guardian

npm version License: MIT Downloads

A professional command-line tool for cross-language dependency vulnerability scanning and analysis. Built by x2y dev tools | Leverages the OSV (Open Source Vulnerability) database for precise vulnerability data.


🔗 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 (Open Source Vulnerability) 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 JavaScript/Node.js, Python, Java (Maven, Gradle), Go, Rust, PHP, and Ruby projects 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 dependencyManagement, replace directives in Go, and Gemfile/Gemfile.lock in Ruby.
  • Multiple Output Formats: Console output for development and JSON for easy integration into CI/CD pipelines.
  • Cross-platform: Compatible with Windows, macOS, and Linux.

🌐 Supported Ecosystems

| Language/Ecosystem | Files Scanned | Package Manager | | :--- | :--- | :--- | | JavaScript/Node.js | package.json | npm | | Python | requirements.txt, pyproject.toml | pip | | Java | pom.xml, build.gradle, build.gradle.kts | Maven, Gradle | | Go | go.mod | Go Modules | | Rust | Cargo.toml | Cargo | | PHP | composer.json | Composer | | Ruby | Gemfile, Gemfile.lock | RubyGems |


🚀 Installation

Install globally via npm:

npm install -g x2y-guardian

🛠️ Usage

Commands

  • x2y-guardian hello: Display a friendly greeting and check basic functionality.

  • x2y-guardian scan: Scan the current project directory for dependency vulnerabilities.

  • x2y-guardian audit: Audit dependencies to detect outdated versions.

Scanning Examples

Use the --path and --output flags to customize your scan:

Bash

# Display greeting
x2y-guardian hello

# Scan current project in the default console format
x2y-guardian scan

# Scan a specific path with console output
x2y-guardian scan --path /path/to/your/project --output console

# Scan a specific path and output results as JSON
x2y-guardian scan --path /path/to/your/project --output json

# Audit dependencies for outdated versions
x2y-guardian audit

📚 Data Sources

x2y-guardian aggregates and normalizes vulnerability data from various authoritative sources, adopting the OSV (Open Source Vulnerability) schema for maximum accuracy and compatibility:

  • GitHub Security Advisories

  • PyPA (Python Package Authority)

  • RustSec (Rust Security Advisory Database)

  • Global Security Database


⚖️ License

This project is licensed under the MIT License, the same as the core x2y SDK. See the LICENSE file for full details.