Welcome to Vulfy! This guide will help you install and run your first vulnerability scan in just a few minutes.
Vulfy is a lightning-fast, cross-language vulnerability scanner that checks your project dependencies for known security issues. Built with Rust for maximum performance, it integrates with the OSV.dev database to provide accurate, up-to-date vulnerability information across 9 programming language ecosystems.
Download the latest release for your platform:
# Linux x86_64
curl -LO https://github.com/mindPatch/vulfy/releases/latest/download/vulfy-linux-x86_64.tar.gz
tar -xzf vulfy-linux-x86_64.tar.gz
sudo mv vulfy /usr/local/bin/
# macOS (Intel)
curl -LO https://github.com/mindPatch/vulfy/releases/latest/download/vulfy-macos-x86_64.tar.gz
tar -xzf vulfy-macos-x86_64.tar.gz
sudo mv vulfy /usr/local/bin/
# macOS (Apple Silicon)
curl -LO https://github.com/mindPatch/vulfy/releases/latest/download/vulfy-macos-aarch64.tar.gz
tar -xzf vulfy-macos-aarch64.tar.gz
sudo mv vulfy /usr/local/bin/
# Windows
# Download vulfy-windows-x86_64.zip from releases page and extract to PATHIf you have Rust installed:
cargo install vulfygit clone https://github.com/mindPatch/vulfy.git
cd vulfy
cargo build --release
sudo cp target/release/vulfy /usr/local/bin/vulfy --version
# Should output: vulfy 0.1.0Navigate to any project directory and run:
vulfy scan packagesThis will:
- π Recursively scan for package files
- π¦ Detect dependencies across all supported ecosystems
- π‘οΈ Check for vulnerabilities using OSV.dev
- π Display results in a beautiful table format
π Scanning for package files...
π¦ Found 6 package files across 4 ecosystems
π‘οΈ VULNERABILITY REPORT
βββββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββ¬βββββββββββ¬ββββββββββββββββββ¬βββββββ
β Title β CVE ID β Severity β Package β Year β
βββββββββββββββββββββββββββββββββββββββββββΌβββββββββββββββΌβββββββββββΌββββββββββββββββββΌβββββββ€
β Remote Code Execution in lodash β CVE-2021-123 β π₯ High β lodash@4.17.0 β 2021 β
β Path Traversal in express β CVE-2022-456 β π‘ Mediumβ express@4.16.0 β 2022 β
β SQL Injection in sequelize β CVE-2020-789 β π₯ High β sequelize@5.0.0 β 2020 β
βββββββββββββββββββββββββββββββββββββββββββ΄βββββββββββββββ΄βββββββββββ΄ββββββββββββββββββ΄βββββββ
π SCAN SUMMARY
β’ Total packages scanned: 42
β’ Vulnerable packages: 8
β’ Total vulnerabilities: 12
β’ π₯ High severity: 4
β’ π‘ Medium severity: 6
β’ π’ Low severity: 2
Vulfy automatically detects and scans the following package managers:
| Ecosystem | Package Files | Status |
|---|---|---|
| npm | package-lock.json, yarn.lock, pnpm-lock.yaml, package.json |
β |
| Python | requirements.txt, Pipfile.lock, poetry.lock, pyproject.toml |
β |
| Rust | Cargo.lock, Cargo.toml |
β |
| Java | pom.xml, build.gradle, build.gradle.kts |
β |
| Go | go.mod, go.sum, go.work |
β |
| Ruby | Gemfile.lock, Gemfile, *.gemspec |
β |
| C/C++ | vcpkg.json, CMakeLists.txt, conanfile.txt |
β |
| PHP | composer.json, composer.lock |
β |
| .NET | *.csproj, packages.config, *.nuspec |
β |
vulfy scan packages --path /path/to/project# JSON format for programmatic use
vulfy scan packages --format json --output security-report.json
# CSV format for spreadsheet analysis
vulfy scan packages --format csv --output vulnerabilities.csv
# SARIF format for GitHub Security tab
vulfy scan packages --format sarif --output vulfy.sarif# Only show high-severity vulnerabilities
vulfy scan packages --high-only
# Quiet mode (suppress progress info)
vulfy scan packages --quiet# Only scan npm and Python packages
vulfy scan packages --ecosystems npm,pypi
# Scan only Rust projects
vulfy scan packages --ecosystems crates.iovulfy scan packages --no-dev-depsVulfy uses standard exit codes for CI/CD integration:
0: Scan completed successfully, no vulnerabilities found1: Vulnerabilities found or scan error occurred2: Invalid command line arguments
Now that you've run your first scan, you might want to:
- Configure Output Formats - Learn about JSON, CSV, and SARIF formats
- Set Up Automation - Monitor repositories continuously
- Integrate with CI/CD - Add Vulfy to your pipelines
- Customize with Policies - Create advanced filtering rules
"No package files found"
- Ensure you're in a project directory with supported package files
- Use
--pathto specify the correct directory - Check that package files aren't in ignored directories
"Network connection failed"
- Vulfy requires internet access to query OSV.dev
- Check your firewall and proxy settings
- The OSV.dev API may be temporarily unavailable
"Permission denied"
- Make sure the
vulfybinary is executable:chmod +x vulfy - On macOS, you may need to allow the binary in Security & Privacy settings
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- CLI Help: Run
vulfy --helporvulfy scan packages --help
Next: CLI Reference - Complete command documentation