Commit 5b3c12b
committed
fix(rules): address review feedback on dotnet rule precision
- Remove Path.GetFullPath() as path-traversal sanitizer (normalizes but
does not prevent traversal on its own)
- Broaden hardcoded-credentials variable regex to cover idiomatic C#
naming: apiKey, connectionString, privateKey, accessKey, authToken
- Remove overly broad Base64 encoding pattern from crypto-failures
(benign encoding/transport use generates noise)1 parent 580a263 commit 5b3c12b
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
411 | 410 | | |
412 | 411 | | |
413 | 412 | | |
| |||
801 | 800 | | |
802 | 801 | | |
803 | 802 | | |
804 | | - | |
805 | | - | |
806 | 803 | | |
807 | 804 | | |
808 | 805 | | |
| |||
0 commit comments