A next-generation crawling and spidering framework.
This report summarizes scanner evidence for projectdiscovery/katana, a Go project with 17,777 GitHub stars. SynthScan examined 52,235 lines of code across 227 source files, recording 35 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.0 (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? 19 finding(s).
Are imports declared and package/API names verified? 16 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 35 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 35 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/testutils/authlab/lab.go | 1 | // Package authlab provides a self-hosted mini web app used to exercise | COMMENT |
| LOW | pkg/types/options.go | 141 | HeadlessOptionalArguments goflags.StringSlice | COMMENT |
| LOW | pkg/types/options.go | 181 | // Resolvers contains custom resolvers | COMMENT |
| LOW | pkg/types/options.go | 241 | AIReplay string | COMMENT |
| LOW | pkg/types/crawler_options.go | 41 | // Options contains the user specified configuration options | COMMENT |
| LOW | pkg/utils/formfill.go | 221 | COMMENT | |
| LOW | pkg/utils/filters/filters.go | 1 | package filters | COMMENT |
| LOW | pkg/knowledgebase/extractor.go | 1 | // Package knowledgebase defines the Extractor interface implemented by | COMMENT |
| LOW | pkg/knowledgebase/extractors/endpoints/endpoints.go | 1 | // Package endpoints is a knowledgebase.Extractor that classifies a crawled | COMMENT |
| LOW | pkg/engine/parser/parser_test.go | 181 | // The test contains an inline string - ./test/html/misc/string/dot-slash-prefix.found | COMMENT |
| LOW | pkg/engine/parser/parser_test.go | 321 | // <meta charset="utf-8"> | COMMENT |
| LOW | pkg/engine/parser/parser_test.go | 401 | // bodyMetaContentTagParser(resp, func(resp navigation.Request) { | COMMENT |
| LOW | pkg/engine/parser/parser.go | 761 | return false | COMMENT |
| LOW | pkg/engine/headless/js/page-init.js | 1 | // This script initializes the page and hooks up event listeners | COMMENT |
| LOW | pkg/engine/headless/crawler/hooks.go | 1 | package crawler | COMMENT |
| LOW | pkg/engine/headless/crawler/hooks.go | 21 | // The supplied *browser.BrowserPage embeds *rod.Page (page.Page) for callers | COMMENT |
| LOW | pkg/engine/hybrid/hooks.go | 21 | // -timeout deadline: for BeforeNavigate it is the navigation's own context; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/utils/formfill.go | 30 | Placeholder string `yaml:"placeholder"` | CODE |
| LOW | pkg/utils/formfill.go | 34 | Email: fmt.Sprintf("%s@example.org", xid.New().String()), | CODE |
| LOW | pkg/utils/formfill.go | 187 | if placeholder, ok := input.Attributes.Get("placeholder"); ok { | CODE |
| LOW | pkg/utils/formsemantic.go | 27 | "name": "John Doe", | CODE |
| LOW | pkg/utils/formsemantic_test.go | 64 | require.Equal(t, "10001", semanticValue(ctx, stub, formInput("text", "plz", "placeholder", "Postleitzahl"))) | CODE |
| LOW⚡ | pkg/utils/formsemantic_test.go | 82 | filled := formInput("text", "postal", "placeholder", "ZIP code") | CODE |
| LOW⚡ | pkg/utils/formsemantic_test.go | 85 | formInput("text", "zip", "placeholder", "ZIP code"), | CODE |
| LOW⚡ | pkg/utils/formsemantic_test.go | 86 | formInput("text", "q", "placeholder", "search"), | CODE |
| LOW | pkg/utils/formfill_test.go | 92 | require.Contains(t, DefaultFormFillData.Email, "@example.org") | CODE |
| LOW | pkg/utils/formfill_test.go | 110 | require.Contains(t, data.Email, "@example.org", "default email has no parens, should stay as-is") | CODE |
| LOW | pkg/engine/headless/types/types.go | 251 | "placeholder": {}, | CODE |
| LOW | pkg/engine/headless/auth/recording_test.go | 70 | steps, err := StepsFromRecording([]byte(rec), "user@example.com", "secret") | CODE |
| LOW | pkg/engine/headless/crawler/normalizer/dom_utils.go | 182 | "placeholder", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.md | 501 | katana -u https://example.com -headless -csp capsolver -csk YOUR_API_KEY | CODE |
| HIGH | README.md | 508 | export CAPTCHA_SOLVER_KEY=YOUR_API_KEY | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | pkg/output/output.go | 222 | if fileName, fileWriter, err := getResponseFile(w.storeResponseDir, result.Response.Resp.Request.URL.String()); err == | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/engine/parser/parser_test.go | 318 | // // TODO: Fix test | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/engine/headless/js/page-init.js | 86 | function hookMiscellaneousUtilities() { | CODE |