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

vul-detector

v1.4.6

Published

CVE Vulnerability Scanner - Scan websites for known CVE vulnerabilities

Readme

⚡ VUL-DETECTOR

A fast, modular Node.js vulnerability scanner designed to detect known CVEs and common security misconfigurations in web applications.

🚀 Features

  • Modular Architecture: All vulnerability checks are self-contained modules in the cves/ folder.
  • Dynamic Discovery: Automatically loads any .js file added to the cves/ directory.
  • 19+ Included Modules: Covers critical CVEs like Log4Shell, React Shell RCE, SQL Injection, SSRF, and more.
  • Rich CLI Output: Beautiful, colored tables with severity icons and detailed scan summaries.
  • Flexible Filtering: Run specific CVEs or filter by minimum severity (CRITICAL, HIGH, etc.).

📦 Installation

Install globally using npm:

npm install -g vul-detector

Or run without installing using npx:

npx vul-detector --target https://example.com

🛠 Usage

Basic scan:

vul-detector --target https://example.com

Verbose scan (shows progress for each module):

vul-detector --target https://example.com --verbose

Scan for a specific CVE only:

vul-detector --target https://example.com --cve CVE-2025-55182

Filter by minimum severity:

vul-detector --target https://example.com --severity HIGH

Full options:

vul-detector --help

🧩 Available Scans

The scanner includes over 50+ specialized modules categorized by vulnerability type:

🔴 Critical Severity (RCE & Deep Exploits)

| ID | Name | Description | |---|---|---| | CVE-2021-44228 | Log4Shell | Java JNDI injection (vulnerable Log4j). | | CVE-2025-66478 | Next.js RSC RCE | Insecure deserialization in RSC Flight protocol. | | CVE-2024-4577 | PHP-CGI RCE | CGI argument injection on Windows systems. | | CVE-2024-8926 | PHP-CGI OS RCE | OS command injection via CGI query strings. | | CVE-2021-3129 | Laravel RCE | Unauthenticated RCE in Ignition debug mode. | | CVE-2017-9841 | PHPUnit RCE | Remote execution via exposed eval-stdin.php. | | CVE-2019-11043 | PHP-FPM RCE | Buffer underflow in PHP-FPM + Nginx setups. | | CVE-2024-1874 | PHP Batch RCE | Command injection via Windows .bat/.cmd files. | | CVE-2025-55182 | React Shell RCE | Exposed interactive debug/shell endpoints. | | ENV-EXPOSURE | Exposed .env | Critical leak of production API keys & secrets. | | PYTHON-DEBUG | Python Debug | Exposed Flask/Django/FastAPI debug consoles. |

🟠 High Severity (SSRF, SQLi, Data Leaks)

| ID | Name | Description | |---|---|---| | CVE-2024-34351 | Next.js Image SSRF | SSRF in Image Optimization & Server Actions. | | CVE-2025-57822 | Middleware SSRF | Header-forwarding SSRF in Next.js middleware. | | CVE-2025-29927 | Auth Bypass | Middleware bypass via internal Next.js headers. | | CVE-2025-1735 | PHP pgsql SQLi | SQL injection in PHP's PostgreSQL extension. | | CVE-2024-23897 | SQL Injection | Generic database error-based SQLi probes. | | CVE-2024-47176 | Generic SSRF | Probes for metadata and internal resource leaks. | | GIT-EXPOSURE | Exposed .git | Leaked source code and repository structure. | | SVN-EXPOSURE | Exposed .svn | Leaked Subversion repository metadata. | | DOCKER-COMPOSE | Docker Compose | Exposure of infrastructure YAML configuration. | | LARAVEL-LOGS | Laravel Logs | Sensitive traces leaked in laravel.log files. | | PHP-SESSION | PHP Sessions | Exposed session storage files (hijacking risk). | | PHPMYADMIN | phpMyAdmin | Exposed database management login interfaces. | | BACKUP-FILES | Backup Leaks | Exposed .sql, .zip, and .bak archive files. |

🟡 Medium Severity (Information & Config)

| ID | Name | Description | |---|---|---| | CVE-2025-55183 | Source Disclosure | Server function source code leakage in Next.js. | | CVE-2024-21534 | Info Disclosure | Next.js internal manifest and path exposure. | | NEXTJS-DATA-LEAK | Next.js Data Leak | Secrets leaked in client-side __NEXT_DATA__. | | SWAGGER-UI | Swagger UI | Exposed API documentation and endpoints. | | GRAPHQL-INTROS | GQL Introspection | Enabled GraphQL schema exploration queries. | | DIRECTORY-LIST | Directory Listing | Detection of enabled "Index of /" views. | | SENSITIVE-LOGS | Sensitive Logs | Exposed error.log, access.log, npm-debug.log. | | WP-ADMIN | WordPress Admin | Discovery of exposed WP admin/login pages. | | WP-XMLRPC | WP XML-RPC | Enabled XML-RPC (amplification/brute-force). | | GENERIC-REDIRECT | Open Redirect | Phishing vector via common redirect params. | | CVE-2024-5458 | PHP Filter Bypass | Bypasses in standard PHP security filters. | | SEC-HEADERS | Security Headers | Analysis of HSTS, CSP, XFO, and other headers. |

🔵 Low Severity (Metadata & Best Practices)

| ID | Name | Description | |---|---|---| | NPM-PACKAGE-JSON | package.json | Dependency and project metadata disclosure. | | DOCKERFILE | Dockerfile | Disclosure of build steps and base images. | | GITLAB-CI | GitLab CI Config | Leaked CI/CD pipeline and runner details. | | WP-VERSION | WP Version | Disclosure of WordPress version in meta tags. | | DS-STORE | .DS_Store | macOS directory metadata file exposure. | | COOKIE-SEC | Cookie Security | Missing HttpOnly/Secure flags on sensitive cookies. |

🛠 Adding Your Own CVE Modules

  1. Create a new .js file in the cves/ folder.
  2. Export an object adhering to the module interface:
module.exports = {
  id: 'CVE-XXXX-XXXXX',
  name: 'Vulnerability Name',
  severity: 'HIGH', // CRITICAL, HIGH, MEDIUM, LOW, INFO
  description: 'Detailed description...',
  references: ['https://link-to-cve'],
  async scan(targetUrl, httpClient) {
    // Perform your logic using the provided axios instance (httpClient)
    // Return: { vulnerable: boolean, details: string, evidence: string }
    return {
      vulnerable: true,
      details: 'Found a specific indicator',
      evidence: 'Raw data found in response'
    };
  }
};

The app will automatically detect and load your new module on the next run.

⚠️ Disclaimer

This tool is for educational and authorized security testing purposes only. Scanning targets without explicit permission is illegal and unethical. The authors are not responsible for any misuse of this tool.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.