Build
Connect & operate
Design & teams
Start hereScope a build in one callBring a spec, a wireframe, or a paragraph. You leave with an architecture, a timeline, and a number.Book a scoping call
AI software
LLM & data systems
Vibe coding
Ready to ship?Put AI where the work isAgents, RAG, and private LLMs wired into the systems your team already uses — not a chatbot bolted to a homepage.Discuss an AI project
Domain firstWe learn your workflow before we model itRegulated, operational, or high-volume — the constraints belong in the schema, not in a training doc.Talk about your domain
Plan smarterEstimate before you commitCost ranges, scope templates, and the questions we ask in discovery — free, no form.Open the cost calculator
Real conversationsTalk with a technical leadNo SDR, no discovery gauntlet. The person on the call is the one who scopes the build.Book a call
Open-Source Security · hahwul

dalfox

Dalfox is an open-source XSS scanner written in Rust, designed for automated vulnerability detection across reflected, stored, and DOM-based XSS vectors. It includes parameter discovery, WAF fingerprinting, multiple output formats, and extensibility via REST API and MCP.

Source: GitHub — github.com/hahwul/dalfox
5.1k
GitHub stars
542
Forks
Rust
Primary language
MIT
License (OSI-approved)

Key facts

Objective fields from the source. Values we can't verify are shown as “Unknown” rather than guessed.

FieldValue
Repositoryhahwul/dalfox
Ownerhahwul
Primary languageRust
LicenseMIT — OSI-approved
Stars5.1k
Forks542
Open issues12
Latest releasev3.1.2 (2026-06-27)
Last updated2026-07-07
Sourcehttps://github.com/hahwul/dalfox

What dalfox is

A Rust-based security testing tool offering parameter analysis, static analysis, DOM/AST verification, WAF bypass tracking, and payload customization. Supports scan modes for URLs, files, stdin, and raw HTTP; outputs JSON/JSONL/SARIF/Markdown/TOML; includes MCP stdio server and REST API for integration.

Quickstart

Get the dalfox source

Clone the repository and explore it locally.

terminalbash
git clone https://github.com/hahwul/dalfox.gitcd dalfox# follow the project's README for install & configuration

Need it deployed, integrated, or customized instead? DEV.co ships production installs.

Best use cases

Bug Bounty & Security Research

Rapid XSS discovery across multiple targets with customizable payloads, WAF detection, and detailed reporting suitable for vulnerability disclosure workflows.

DevSecOps Pipeline Integration

Automated XSS scanning in CI/CD via JSON/SARIF output, stdin piping, and REST API; supports batch scanning of URL lists and custom parameter injection.

Penetration Testing & Assessment

Comprehensive XSS analysis including parameter mining, stored XSS detection, DOM verification, and WAF fingerprinting with confidence scoring for thorough vulnerability assessment.

Implementation considerations

  • Requires Rust build environment or use prebuilt binaries (Linux musl, macOS, standard Linux available); verify binary compatibility with your infrastructure.
  • Custom payloads and wordlists can be local or remote; ensure network policy and WAF rules allow outbound requests if using remote sources.
  • Configuration via CLI flags or environment variables; no config file format documented—plan for shell script or CI variable management.
  • Output formats (JSON, SARIF, Markdown) allow integration with SIEM/ticketing systems; map output fields to your downstream tools before deployment.
  • REST API and MCP server modes require additional process management (port binding, lifecycle); ensure proper isolation and credential handling if exposed.

When to avoid it — and what to weigh

  • Multi-Vulnerability Type Detection Needed — Dalfox is XSS-focused. If your workflow requires SQL injection, CSRF, or other vulnerability classes, a multi-purpose scanner is more appropriate.
  • Windows-First Development Environment — Rust toolchain on Windows is functional but documentation examples emphasize macOS/Linux; cross-platform stability not explicitly discussed.
  • Minimal Dependencies or Air-Gapped Deployments — Tool supports remote wordlists and external payloads; if all dependencies must be pre-bundled offline, build and testing effort increases.
  • Legacy Application Scanning — XSS detection relies on DOM/AST parsing and parameter analysis suited to modern web apps; behavior on outdated frameworks or frameworks with unconventional parameter handling not documented.

License & commercial use

Licensed under MIT (MIT License), an OSI-approved permissive license. Allows commercial use, modification, and distribution with attribution and warranty disclaimer.

MIT license permits commercial use without fee or special approval. Suitable for commercial security products and services. No proprietary restrictions noted; verify compliance with your legal team for bundling in commercial offerings.

DEV.co evaluation signals

Editorial assessment — not user reviews. Directional, with an explicit confidence level.

SignalAssessment
MaintenanceActive
DocumentationAdequate
License clarityClear
Deployment complexityLow
DEV.co fitGood
Assessment confidenceHigh
Security considerations

XSS detection tool; no security audit details, CVE history, or penetration test results provided. Rust reduces memory-safety vulns. Handles external payloads and remote wordlists—validate inputs and restrict network access in air-gapped environments. MCP stdio and REST API expose the scanner; use network segmentation and auth if exposed. v2 branch receives security backports; v3 status requires review. No explicit secure-by-default configuration documented.

Alternatives to consider

Nuclei (ProjectDiscovery)

Multi-purpose vulnerability scanner with XSS templates; larger template library and active commercial backing, but heavier and less XSS-specialized.

XStrike (s0md3v)

Python-based XSS scanner with WAF bypass and DOM detection; lighter-weight alternative with similar feature set, but lower adoption and activity.

OWASP ZAP

Comprehensive web app security scanner including XSS; established, well-documented, and widely trusted in enterprises, but heavier and less focused on automation.

Software development agency

Build on dalfox with DEV.co software developers

Dalfox offers fast, automated XSS detection with flexible output formats and CI/CD integration. Review the installation guide, test on a staging environment, and contact us to discuss integration into your DevSecOps pipeline.

Talk to DEV.co

Related open-source tools

Surfaced by semantic similarity across the DEV.co open-source index.

Related on DEV.co

Explore the category and the services that help you build with it.

dalfox FAQ

Can I use Dalfox in a commercial security product?
Yes. MIT license permits commercial use. Ensure you include MIT license text and attribution in your product; consult legal team if bundling extensively.
Does Dalfox detect SQL injection or CSRF?
No. Dalfox is XSS-focused. For multi-vulnerability scanning, use tools like Nuclei, ZAP, or Burp Suite.
What is the difference between v2 (Go) and v3 (Rust)?
v3 is a complete rewrite in Rust for performance and safety. v2 (Go) is on the v2 branch and receives security backports. New features target v3; most users should adopt v3 unless specific legacy requirements exist.
Can I integrate Dalfox into GitHub Actions or GitLab CI?
Yes. Use prebuilt binaries or Nix, pipe URLs via stdin, and parse JSON/SARIF output. Examples and templates not visible in excerpt; refer to documentation or community examples.

Software development & web development with DEV.co

Pairing dalfox with the rest of your stack is where most open-source security projects stall. DEV.co is a software development agency that does the integration work — plus AI development when models are in scope.

Ready to Integrate XSS Scanning into Your Security Workflow?

Dalfox offers fast, automated XSS detection with flexible output formats and CI/CD integration. Review the installation guide, test on a staging environment, and contact us to discuss integration into your DevSecOps pipeline.