Commit 8877172
committed
fix: Exclude Redis eval() from security audit
Redis client.eval() is a legitimate Redis EVAL command, not Python's
dangerous eval(). Updated pattern to exclude:
- redis_client.eval()
- redisClient.eval()
- redis.eval()
Results:
- CRITICAL: 16 → 14 (85.4% reduction from original 96)
- Total: 2758 → 2756
This fixes 2 false positives in API rate limiting examples.1 parent 6048ff9 commit 8877172
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
0 commit comments