Commit 7e0815c
fix: add min length and even length check for hex detection
Prevents false positives where short hex-like strings (e.g. "face")
would be incorrectly decoded as hex-encoded credentials.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b890984 commit 7e0815c
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
0 commit comments