AI Slop Code RIsk Monitor

hahwul/dalfox

🌙🦊 Dalfox is a powerful open-source XSS scanner and utility focused on automation.

6.3 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for hahwul/dalfox, a Rust project with 5,321 GitHub stars. SynthScan examined 182,537 lines of code across 453 source files, recording 846 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 6.3 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

6.3
Adjusted Signal
6.3
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.3K
Stars
Rust
Language
182.5K
Lines of Code
453
Files
846
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 16.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 685 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 1 finding(s).

Agent Over-Engineering Ratio 12.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 160 finding(s).

PR Review Velocity Impact 27.7/100 · MEDIUM

Which changes need focused human review? 846 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 0MEDIUM 168LOW 678

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 846 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block677 hits · 647 pts
SeverityFileLineSnippetContext
LOWCargo.toml21# etc. — see #1061), whereas ring's prebuilt assembly is portable. reqwest'sCOMMENT
LOWbuild.rs1//! Give the `dalfox` binary a larger main-thread stack on Windows.COMMENT
LOWtests/observed_js_breakout_test.rs1//! End-to-end coverage for the issue #1073 follow-up: the *observed-prefix* JSCOMMENT
LOWtests/error_page_recall_test.rs1//! End-to-end recall guards for the *interaction* between a real sink and theCOMMENT
LOWtests/state_file_resume_test.rs1//! End-to-end coverage for `--state-file` resume (issue #1275).COMMENT
LOWtests/remote_provider_cache_test.rs1//! The remote payload / wordlist caches must be keyed by provider set.COMMENT
LOWtests/session_loss_test.rs41COMMENT
LOWtests/agent_skills_sync_test.rs1//! The agent-facing skill is published in three places that must agree, andCOMMENT
LOWtests/integration/scan_verification.rs1//! Integration tests: spin up a local vulnerable server, run dalfox scans,COMMENT
LOWtests/integration/scan_verification.rs1241COMMENT
LOWtests/common/mod.rs1//! Common test utilities and helpers for Dalfox testsCOMMENT
LOWtests/functional/deep_scan_preflight_test.rs1//! Regression tests for the `--deep-scan` preflight gate.COMMENT
LOWtests/functional/mod.rs1//! Functional tests for DalfoxCOMMENT
LOWtests/functional/xss_mock_server.rs2541/// Drives the real scanner against the `synthesis_filters.toml` corpus, whoseCOMMENT
LOWtests/functional/mock_case_loader.rs21 pub header_name: Option<String>,COMMENT
LOW…functional/mock_cases/realworld/synthesis_filters.toml1# Filter-constrained synthesis benchmark (issue #1075).COMMENT
LOW…/functional/mock_cases/realworld/owasp_crs_bypass.toml1# OWASP CRS bypass test casesCOMMENT
LOWdocs/config.toml1# =============================================================================COMMENT
LOWdocs/config.toml81filename = "search.json"COMMENT
LOWdocs/config.toml121# =============================================================================COMMENT
LOWdocs/config.toml181# default_language_only = true # Multilingual: true = main feed has default language onlyCOMMENT
LOWdocs/config.toml201# [auto_includes]COMMENT
LOWdocs/config.toml221COMMENT
LOWdocs/config.toml241#COMMENT
LOWdocs/config.toml261# Run custom shell commands before/after build processCOMMENT
LOWdocs/config.toml281# offline_page = "/offline.html"COMMENT
LOWdocs/config.toml321# - Local filesystem sync: url = "file://./out"COMMENT
LOWdocs/config.toml341# name = "s3"COMMENT
LOWdocs/static/css/style.css2981#m-sxss:checked ~ .mode-tabs label[for="m-sxss"],COMMENT
LOW.cargo/audit.toml1# Local cargo-audit configuration for dalfox.COMMENT
LOWexamples/config.toml1# Dalfox sample configuration (TOML)COMMENT
LOWexamples/config.toml21# Include HTTP request/response content in output (JSON/plain detail sections)COMMENT
LOWexamples/config.toml41# Cookies ("name=value")COMMENT
LOWexamples/config.toml61# Remote parameter wordlists providers (burp, assetnote)COMMENT
LOWexamples/config.toml81# Worker count for analysis/miningCOMMENT
LOWexamples/config.toml101# blind_callback_url = "https://collab.example/x/callback"COMMENT
LOW.github/workflows/ci-extended.yml61 run: cargo +${{ steps.msrv.outputs.version }} test --lockedCOMMENT
LOW.github/workflows/ci-extended.yml121 harness-smoke:COMMENT
LOW.github/workflows/ci-packaging.yml81 # validating the amd64 source build before publish. The arm64/armhf/i386COMMENT
LOWsrc/config.rs221/// [`ExplicitArgs`](crate::cmd::scan::ExplicitArgs); the others read a value theCOMMENT
LOWsrc/config.rs281COMMENT
LOWsrc/config.rs481 }COMMENT
LOWsrc/config.rs661 // deliberately NOT checked here. This validator runs on the config fileCOMMENT
LOWsrc/config.rs821# output = "output.txt"COMMENT
LOWsrc/config.rs841# headers = ["X-Header: value", "Authorization: Bearer ..."]COMMENT
LOWsrc/config.rs861# skip_discovery = falseCOMMENT
LOWsrc/config.rs881# insecure = true # skip TLS certificate verification (default true); set false to enforce validationCOMMENT
LOWsrc/config.rs901# custom_alert_type = "none" # alert value handling: none (keep original), str (wrap value in quotes)COMMENT
LOWsrc/lib.rs1//! Dalfox XSS ScannerCOMMENT
LOWsrc/lib.rs21//! ```textCOMMENT
LOWsrc/lib.rs41//! │ │ run_scanning() payload gen │ → ParamPayloadJob[] │COMMENT
LOWsrc/lib.rs101/// Install the process-wide rustls crypto provider (ring).COMMENT
LOWsrc/lib.rs121/// Process-wide request rate limiter installed from `--rate-limit`COMMENT
LOWsrc/lib.rs141 pub(crate) static REQUEST_FAILURE_COUNT_JOB: std::sync::Arc<AtomicU64>;COMMENT
LOWsrc/lib.rs181/// future so concurrent scans stay isolated. But `run_scanning` fans work outCOMMENT
LOWsrc/lib.rs301/// counted them, so a target that drops or resets injection requests produced aCOMMENT
LOWsrc/lib.rs341}COMMENT
LOWsrc/main.rs41 // so `dalfox <TARGET> --no-color` (no subcommand) works, *and* withCOMMENT
LOWsrc/main.rs141/// would offer the deprecated compat commands (`url` / `file` / `pipe`) and theCOMMENT
LOWsrc/main.rs181 .unwrap_or_default()COMMENT
617 more matches not shown…
Decorative Section Separators160 hits · 484 pts
SeverityFileLineSnippetContext
MEDIUMtests/functional/analyze_external_js_test.rs19// ── server handlers ──────────────────────────────────────────────────────────COMMENT
MEDIUMtests/functional/analyze_external_js_test.rs104// ── server bootstrap ─────────────────────────────────────────────────────────COMMENT
MEDIUMtests/functional/analyze_external_js_test.rs129// ── scan helper ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/functional/analyze_external_js_test.rs241// ── tests ────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡docs/config.toml1# =============================================================================COMMENT
MEDIUM⚡docs/config.toml3# =============================================================================COMMENT
MEDIUM⚡docs/config.toml9# =============================================================================COMMENT
MEDIUM⚡docs/config.toml11# =============================================================================COMMENT
MEDIUM⚡docs/config.toml29# =============================================================================COMMENT
MEDIUM⚡docs/config.toml31# =============================================================================COMMENT
MEDIUM⚡docs/config.toml37# =============================================================================COMMENT
MEDIUM⚡docs/config.toml39# =============================================================================COMMENT
MEDIUM⚡docs/config.toml48# =============================================================================COMMENT
MEDIUM⚡docs/config.toml50# =============================================================================COMMENT
MEDIUM⚡docs/config.toml58# =============================================================================COMMENT
MEDIUM⚡docs/config.toml60# =============================================================================COMMENT
MEDIUM⚡docs/config.toml72# =============================================================================COMMENT
MEDIUM⚡docs/config.toml74# =============================================================================COMMENT
MEDIUM⚡docs/config.toml84# =============================================================================COMMENT
MEDIUM⚡docs/config.toml86# =============================================================================COMMENT
MEDIUM⚡docs/config.toml98# =============================================================================COMMENT
MEDIUM⚡docs/config.toml100# =============================================================================COMMENT
MEDIUM⚡docs/config.toml108# =============================================================================COMMENT
MEDIUM⚡docs/config.toml110# =============================================================================COMMENT
MEDIUM⚡docs/config.toml119# =============================================================================COMMENT
MEDIUM⚡docs/config.toml121# =============================================================================COMMENT
MEDIUM⚡docs/config.toml128# =============================================================================COMMENT
MEDIUM⚡docs/config.toml130# =============================================================================COMMENT
MEDIUM⚡docs/config.toml140# =============================================================================COMMENT
MEDIUM⚡docs/config.toml142# =============================================================================COMMENT
MEDIUM⚡docs/config.toml184# =============================================================================COMMENT
MEDIUM⚡docs/config.toml186# =============================================================================COMMENT
MEDIUM⚡docs/config.toml194# =============================================================================COMMENT
MEDIUM⚡docs/config.toml196# =============================================================================COMMENT
MEDIUM⚡docs/config.toml205# =============================================================================COMMENT
MEDIUM⚡docs/config.toml207# =============================================================================COMMENT
MEDIUM⚡docs/config.toml226# =============================================================================COMMENT
MEDIUM⚡docs/config.toml228# =============================================================================COMMENT
MEDIUM⚡docs/config.toml236# =============================================================================COMMENT
MEDIUM⚡docs/config.toml238# =============================================================================COMMENT
MEDIUM⚡docs/config.toml258# =============================================================================COMMENT
MEDIUM⚡docs/config.toml260# =============================================================================COMMENT
MEDIUM⚡docs/config.toml267# =============================================================================COMMENT
MEDIUM⚡docs/config.toml269# =============================================================================COMMENT
MEDIUM⚡docs/config.toml284# =============================================================================COMMENT
MEDIUM⚡docs/config.toml286# =============================================================================COMMENT
MEDIUM⚡docs/config.toml294# =============================================================================COMMENT
MEDIUM⚡docs/config.toml296# =============================================================================COMMENT
MEDIUMdocs/config.toml155# =============================================================================COMMENT
MEDIUMdocs/config.toml157# =============================================================================COMMENT
MEDIUMdocs/config.toml168# =============================================================================COMMENT
MEDIUMdocs/config.toml170# =============================================================================COMMENT
MEDIUMdocs/config.toml316# =============================================================================COMMENT
MEDIUMdocs/config.toml318# =============================================================================COMMENT
MEDIUM⚡src/lib.rs22//! ┌─────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡src/lib.rs24//! ├───────┼─────────────────────────────────┼──────────────────────────┤COMMENT
MEDIUM⚡src/lib.rs28//! ├───────┼─────────────────────────────────┼──────────────────────────┤COMMENT
MEDIUM⚡src/lib.rs33//! ├───────┼─────────────────────────────────┼──────────────────────────┤COMMENT
MEDIUM⚡src/lib.rs39//! ├───────┼─────────────────────────────────┼──────────────────────────┤COMMENT
MEDIUM⚡src/lib.rs45//! ├───────┼─────────────────────────────────┼──────────────────────────┤COMMENT
100 more matches not shown…
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMtests/functional/dom_xss_tests.rs27/// For production use, a proper HTML parser would be more robust.COMMENT
MEDIUM.github/workflows/ci-extended.yml126 # harness's 8 sequential create/cancel cycles hit 503 from cycle 4 on. ThatCOMMENT
MEDIUM.github/workflows/ci-extended.yml128 # fixed — the MCP half of this harness is green and worth gating on.COMMENT
MEDIUMsrc/parameter_analysis/tests.rs874/// robust. `bs` is the region for the lone backslash (`\` raw, `\\` doubled).COMMENT
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtests/e2e/config_path_smoke_test.rs94 // The missing-path scaffold (asserted above) must not be silent: a typo'dCOMMENT
MEDIUMtests/e2e/config_path_smoke_test.rs124 // creation notice fires — the notice is scoped to the scaffold case only.COMMENT
MEDIUMtests/e2e/config_path_smoke_test.rs356 // The scaffold write is best-effort (`let _ = std::fs::write(..)`), so theCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/cd-release.yml126 # Create the appropriate archive format for each OSCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdocs/static/assets/js/highlight.min.js317}),re=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code",CODE