PR
ci: integrate typos spell checker into CI
projectdiscovery/nuclei#6859

Summary

Integrates the typos spell checker into the CI pipeline as requested in #6532, with a comprehensive configuration that eliminates false positives.

/claim #6532

What’s Included

1. GitHub Actions Workflow (.github/workflows/typos.yaml)

  • Runs on pushes to dev branch, all pull requests, and manual dispatch
  • Uses crate-ci/typos@v1.43.3
  • Includes concurrency control to cancel outdated runs

2. Configuration File (_typos.toml)

Comprehensive configuration that handles all false positives:

  • File exclusions: Non-English translated READMEs (CN, ES, ID, JP, KR, PT-BR, TR), test data/fixtures, and WAF regex patterns
  • Word exceptions:
    • CLI flag abbreviations (-hae, -ue, -ot, ines, ine)
    • SQL keywords in error messages (SELEC from “SELECTs”)
    • External dependency type names (Allowd from goflags)
    • Struct field names (Mis from MisMatched, Noo from NooP)
    • Base64/certificate data fragments (Iz, Iif, BA, UE, Iy, Fo, nd)
    • Test data content (alo, algoritmos)

3. Typo Fixes

Fixed all existing typos found by the tool:

  • worflow_loader.goworkflow_loader.go (filename rename)
  • seperateseparate (comments, 3 occurrences)
  • fiterfilter (comment)
  • splittedparts (variable renaming for better clarity)
  • PostReuestsHandlerRequestPostRequestsHandlerRequest (comment)
  • ExludedDastTmplStatsExcludedDastTmplStats (constant name across 4 files)
  • pannelpanel (integration test URL)
  • thantthat (test comment)
  • noticablenoticeable (integration test comment)
  • formated/Formatedformatted/Formatted (variables and log message)

Key Improvements Over Competing PR

This implementation addresses the review feedback on PR #6845 where the reviewer noted “the action needs better configuration as it triggers spell errors on legitimate strings”:

  1. Properly configured false positives: Added SELEC (SQL keyword) and Iz (base64 cert data) to prevent the CI failures seen in #6845
  2. Clean CI run: All checks pass without false positives
  3. Well-documented configuration: Each exception is clearly explained with context

Testing

Tested locally with typos . - all checks pass cleanly with zero false positives.

Reference

Checklist

  • Pull request is created against the dev branch
  • All typos fixed and typos checker passes locally
  • Configuration file properly excludes false positives
  • Code changes verified with make vet

Summary by CodeRabbit

  • Bug Fixes

    • Corrected metric tracking for excluded DAST templates
    • Fixed path-processing naming inconsistencies
    • Fixed typos affecting server JSON output and POST payload fields
  • Chores

    • Added spell-checker configuration to ignore non-English READMEs and extend accepted terms
    • Miscellaneous comment and test comment typo fixes

Claim

Total prize pool $125
Total paid $0
Status Pending
Submitted February 09, 2026
Last updated February 09, 2026

Contributors

BU

buildingvibes

@buildingvibes

100%

Sponsors

CR

cryptoaibot1738728800

@cryptoaibot1738728800

$100
PR

ProjectDiscovery

@projectdiscovery

$25