Skip to content

Implements zero-allocation XSS detection #9

Merged
JVBotelho merged 3 commits intomainfrom
develop
Feb 9, 2026
Merged

Implements zero-allocation XSS detection #9
JVBotelho merged 3 commits intomainfrom
develop

Conversation

@JVBotelho
Copy link
Owner

No description provided.

- Replaced reflection with Source Generators (10x faster)
- Added SIMD-accelerated pattern matching (SearchValues)
- Implemented multi-pass decoding with budget control
- Documented known limitations in test suite

Benchmarks:
- Clean scan: 1,120ns → 108.9ns (10.3x improvement)
- Attack block: 4,260ns → 4,090ns (1.04x improvement)
- Hot path allocations: 136B → 136B (unchanged)

Red Team Validation: 100% block rate
Breaking Changes: None
Security Impact: Enhanced XSS detection
Implements zero-allocation XSS detection
@JVBotelho JVBotelho merged commit 1e9d0fc into main Feb 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant