PR
Fix #6532: Integrate typos tool into CI
projectdiscovery/nuclei#7260

Summary

Integrates the typos spell-checking tool into CI as a required check that runs before tests. Fixes all existing typos across the codebase and adds a tuned _typos.toml configuration to suppress false positives from vendored files, binary data, and domain-specific identifiers.

Changes

  • CI integration: Added typos step to the existing CI workflow, running before tests
  • _typos.toml: Configuration to exclude vendor directories, WAF data, translated READMEs, Base64 patterns, and project-specific allowed words
  • Code fixes:
    • cmd/tmc/main.go: formatedformatted, isFormatedisFormatted
    • internal/runner/runner.go, pkg/catalog/loader/loader.go, pkg/templates/parser_stats.go, pkg/templates/stats.go: ExludedDastTmplStatsExcludedDastTmplStats
    • internal/server/server.go: PostReuestsHandlerRequestPostRequestsHandlerRequest (comment)
    • lib/config.go: fiterfilter (comment)
    • lib/tests/sdk_test.go: seperateseparate (3 occurrences)
    • pkg/fuzz/component/path.go: splitted/originalSplittedparts/originalParts
    • pkg/testutils/testutils.go: NooPno-op (comment)
    • pkg/tmplexec/flow/flow_executor_test.go: thantthat
    • integration_tests/protocols/http/matcher-status.yaml: admin-panneladmin-panel
    • integration_tests/protocols/network/net-https-timeout.yaml: noticablenoticeable
  • File rename: pkg/model/worflow_loader.gopkg/model/workflow_loader.go

Testing

  • typos --config ./_typos.toml passes with zero findings
  • All ExcludedDastTmplStats renames are consistent across all 4 usage sites
  • Remaining fixes are limited to comments, strings, and variable renames with no logic changes

/claim #6532

Summary by CodeRabbit

Release Notes

  • Bug Fixes

    • Resolved internal naming inconsistencies and spelling errors throughout the codebase.
    • Corrected variable names in formatting and path processing for improved clarity.
  • Chores

    • Added automated typo detection configuration with customizable exclusion patterns.
    • Updated internal references to use properly spelled identifiers and terminology.
    • Enhanced documentation clarity through comment corrections.

Claim

Total prize pool $125
Total paid $0
Status Pending
Submitted March 18, 2026
Last updated March 18, 2026

Contributors

JO

joshua-kappler-gmail-com

@joshua-kappler-gmail-com

100%

Sponsors

CR

cryptoaibot1738728800

@cryptoaibot1738728800

$100
PR

ProjectDiscovery

@projectdiscovery

$25