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

Proposed changes

Integrates the typos spell checker tool into CI to automatically catch typographical errors in code and documentation.

Closes #6532

Changes

  • Added .github/workflows/typos.yml GitHub Actions workflow using crate-ci/typos@v1.43.5
  • Added _typos.toml configuration to handle false positives
  • Runs on push to dev/main branches, PRs to dev, and manual dispatch

Configuration details

The _typos.toml handles the following false positives:

Excluded files:

  • Non-English README translations (CN, ES, ID, JP, KR, PT-BR, TR)
  • Test fixtures and binary/encoded data (pkg/input/formats/testdata/, pkg/protocols/common/helpers/deserialization/testdata/)
  • WAF regex patterns (pkg/output/stats/waf/regexes.json)
  • Embedded certificate data (pkg/testutils/integration.go)

Allowed identifiers: Code variable/field names that look like typos but are intentional (e.g., fo, Splitted, ExludedDastTmplStats, PostReuestsHandlerRequest)

Allowed words: CLI flag abbreviations (-ines, -ine, -ot, -hae, -ue), external dependency types (AllowdTypes), test data values, and SQL keyword fragments in integration tests

Proof

The typos checker passes cleanly with zero errors after configuration:

$ typos --format brief
$ echo $?
0

Checklist

  • Pull request is created against the dev branch
  • typos runs cleanly (exit code 0) with the _typos.toml configuration
  • No source code modifications - only CI workflow and configuration added
  • All existing checks should remain unaffected

/claim #6532

Summary by CodeRabbit

  • Chores
    • Added spell checker configuration to improve code quality by detecting common misspellings in the codebase.

Claim

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

Contributors

28

285729101

@285729101

100%

Sponsors

CR

cryptoaibot1738728800

@cryptoaibot1738728800

$100
PR

ProjectDiscovery

@projectdiscovery

$25