Hidden ASCII Matcher#411
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #411 +/- ##
==========================================
- Coverage 85.38% 85.33% -0.06%
==========================================
Files 173 175 +2
Lines 8897 8946 +49
Branches 3906 3924 +18
==========================================
+ Hits 7597 7634 +37
- Misses 498 504 +6
- Partials 802 808 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Benchmarks clangBenchmark execution time: 2025-06-04 17:59:09 Comparing candidate commit 771b7ab in PR branch Found 0 performance improvements and 1 performance regressions! Performance is the same for 0 metrics, 0 unstable metrics. scenario:global-benchmark.random.clang
|
Benchmarks clang-pgoBenchmark execution time: 2025-06-04 17:32:00 Comparing candidate commit 8946a12 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics. |
Taiki-San
left a comment
There was a problem hiding this comment.
Reviewed the hidden ascii match and the UTF8 code, only a minor comment
Taiki-San
left a comment
There was a problem hiding this comment.
The matcher look good :)
This PR introduces a matcher, called
hidden_ascii_match, for identifying strings containing hidden ASCII, i.e. characters in the unicode range[U+E0000, U+E007F]. These characters mirror the ASCII range and are often used for prompt injection, more information can be found here.Related Jiras: APPSEC-57854