Repository navigation
DepScout v0.1.0
DepScout v0.1.0 - Initial Release
This is the first public release of DepScout, a high-performance, concurrent scanner for detecting Dependency Confusion vulnerabilities.
Core Features
- Dependency Confusion Scanning: Identifies potential Dependency Confusion vulnerabilities by scanning JavaScript files for package names and checking their existence on the public npm registry.
- Dual Parsing Engine:
- Regex Mode: Fast, high-performance scanning using fine-tuned regular expressions to find
require()andimportstatements. - Deep Scan Mode (
--deep-scan): High-accuracy scanning using a full Abstract Syntax Tree (AST) parser to eliminate false positives from non-code contexts (e.g., comments). Includes an automatic fallback to regex if AST parsing fails.
- Regex Mode: Fast, high-performance scanning using fine-tuned regular expressions to find
- Concurrent Architecture: Leverages a powerful, concurrent worker model to perform high-speed fetching and analysis of hundreds or thousands of files simultaneously.
- Adaptive Rate Limiting: Features a smart, per-domain rate limiter that automatically adjusts request speeds based on server responses (e.g.,
429 Too Many Requests), maximizing speed without overwhelming targets. - Flexible Input: Accepts targets from single URLs (
-u), files (-f), local directories (-d), or piped viastdin. - Advanced Configuration: Provides a rich set of CLI flags for fine-grained control.
- Multiple Output Formats: Delivers results in human-readable text or machine-readable
JSON(--json).
Installation
Download the appropriate binary for your platform and make it executable.
For Go users:
go install github.com/rafabd1/DepScout/cmd/depscout@latest
Documentation
See the README.md for usage details.