The Web Security Testing Guide is a comprehensive Open Source guide to testing the security of web applications and web services.
This report summarizes scanner evidence for OWASP/wstg, a CSS project with 10,163 GitHub stars. SynthScan examined 35,599 lines of code across 273 source files, recording 63 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 2.5 (Low 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.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 41 finding(s).
Are imports declared and package/API names verified? 14 finding(s).
Are wrappers, guards, and repeated structures necessary? 28 finding(s).
Which changes need focused human review? 63 finding(s).
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.
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.
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.
The scanner identified 63 distinct pattern matches across 12 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/scripts/prepare_site.py | 142 | def rewrite_markdown_file_links(path: Path) -> None: | CODE |
| LOW⚡ | website/scripts/prepare_site.py | 169 | def convert_readmes_to_redirects(channel_root: Path, channel_path: str) -> None: | CODE |
| LOW⚡ | website/scripts/prepare_site.py | 177 | def set_root_index_to_foreword(channel_root: Path) -> None: | CODE |
| LOW⚡ | website/scripts/prepare_site.py | 186 | def extract_document_from_tag(tag: str, dest: Path) -> None: | CODE |
| LOW | website/scripts/prepare_site.py | 404 | def remove_stable_content_artifacts() -> None: | CODE |
| LOW | .github/ebooks/build-link-manifest.py | 33 | def extract_headings_from_json(json_data: dict) -> dict[str, str]: | CODE |
| LOW | .github/workflows/scripts/format_lint_output.py | 166 | def generate_formatted_output(file_blocks: List[Dict], total_error_count: int) -> str: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 182 | def _opencre_coerce_total_pages(raw: Any) -> tuple[int, bool]: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 236 | def _cre_ids_map_from_categories(categories: dict[str, Any]) -> dict[str, list[str]]: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 283 | def collect_cre_ids_by_test_id(checklist: OrderedDict) -> dict[str, list[str]]: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 301 | def _sort_test_ids_guide_order(ids: Iterable[str], guide_rank: dict[str, int]) -> list[str]: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 418 | def category_label_from_dirname(dirname: str) -> str | None: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 447 | def category_wstg_id_from_intro(category_dir: Path) -> str | None: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 467 | def is_removed_placeholder_document(content: str) -> bool: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 476 | def _nonblank_lines_in_objectives_section(content: str) -> list[str]: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 524 | def first_wstg_id_in_document(content: str) -> str | None: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 536 | def _objectives_are_empty_or_blank(objectives: list[str]) -> bool: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 562 | def _write_empty_objectives_report(entries: list[tuple[str, str, str, str]]) -> None: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 590 | def _cre_guide_status_table_rows( | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 612 | def _write_cre_opencre_summary_report( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/scripts/generate_nav.py | 4 | CODE | |
| LOW | website/scripts/copy_markdown_for_agents.py | 8 | CODE | |
| LOW | website/scripts/prepare_site.py | 11 | CODE | |
| LOW | website/scripts/generate_llms.py | 9 | CODE | |
| LOW | website/scripts/generate_llms.py | 11 | CODE | |
| LOW | website/scripts/generate_llms.py | 12 | CODE | |
| LOW | .github/ebooks/build-link-manifest.py | 13 | CODE | |
| LOW | .github/ebooks/build-link-manifest.py | 21 | CODE | |
| LOW | .github/ebooks/fix-typst-body.py | 12 | CODE | |
| LOW | .github/ebooks/list-chapters.py | 25 | CODE | |
| LOW | .github/xlsx/scripts/create-google-drive-cred.py | 2 | CODE | |
| LOW | .github/www/scripts/generate_nav.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | .github/workflows/build-ebooks-typst.yml | 42 | # Step 1: Generate file list with synthetic chapter headings | COMMENT |
| LOW⚡ | .github/workflows/build-ebooks-typst.yml | 52 | # Step 2: Build manifest of real heading identifiers | COMMENT |
| LOW⚡ | .github/workflows/build-ebooks-typst.yml | 58 | # Step 3: Set resource paths for image resolution | COMMENT |
| LOW⚡ | .github/workflows/build-ebooks-typst.yml | 62 | # Step 4: PDF generation | COMMENT |
| LOW | .github/workflows/build-ebooks-typst.yml | 83 | # Step 5: EPUB generation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | .github/workflows/build-ebooks-typst.yml | 42 | # Step 1: Generate file list with synthetic chapter headings | COMMENT |
| LOW⚡ | .github/workflows/build-ebooks-typst.yml | 52 | # Step 2: Build manifest of real heading identifiers | COMMENT |
| LOW⚡ | .github/workflows/build-ebooks-typst.yml | 58 | # Step 3: Set resource paths for image resolution | COMMENT |
| LOW⚡ | .github/workflows/build-ebooks-typst.yml | 62 | # Step 4: PDF generation | COMMENT |
| LOW | .github/workflows/build-ebooks-typst.yml | 83 | # Step 5: EPUB generation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/scripts/generate_llms.py | 59 | except Exception: | CODE |
| LOW⚡ | .github/workflows/scripts/format_lint_output.py | 237 | except Exception as e: | CODE |
| LOW⚡ | .github/workflows/scripts/format_lint_output.py | 243 | except Exception: | CODE |
| MEDIUM⚡ | .github/workflows/scripts/format_lint_output.py | 244 | print(f"Error: {e}") | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 134 | except Exception as e: | CODE |
| LOW | .github/json/scripts/generate_checklist_json.py | 390 | except Exception as exc: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/ebooks/build-link-manifest.py | 33 | CODE | |
| LOW | .github/ebooks/build-link-manifest.py | 86 | CODE | |
| LOW | .github/ebooks/build-link-manifest.py | 40 | CODE | |
| LOW | .github/ebooks/build-link-manifest.py | 57 | CODE | |
| LOW | .github/json/scripts/generate_checklist_json.py | 148 | CODE | |
| LOW | .github/json/scripts/generate_checklist_json.py | 236 | CODE | |
| LOW | .github/json/scripts/generate_checklist_json.py | 612 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | website/scripts/generate_llms.py | 59 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ng/11-Client-side/01-DOM-based_Cross_Site_Scripting.md | 27 | An attacker may append `#<script>alert('xss')</script>` to the affected page URL which would, when executed, display the | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | website/scripts/generate_llms.py | 148 | """Generate comprehensive markdown concatenation.""" | STRING |
| MEDIUM | website/scripts/generate_llms.py | 197 | # Generate comprehensive llms-full.txt for latest channel | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …nt_Management/02-Application_Platform_Configuration.md | 107 | - Confirm debug/development-mode environment variables are not set as image defaults (e.g. `ENV FLASK_DEBUG=1`, `ENV NOD | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …iguration_and_Deployment_Management/06-HTTP_Methods.md | 159 | "email": "foo@example.org" | CODE |
| LOW | …lication_Security_Testing/12-API_Testing/99-GraphQL.md | 575 | { "id": 1, "name": "Admin", "email": "admin@example.com" } | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | website/scripts/prepare_site.py | 177 | def set_root_index_to_foreword(channel_root: Path) -> None: | CODE |