Commit 0a6871a
Fix CodeQL suppression syntax to use correct format
Use proper LGTM suppression syntax with square brackets:
- lgtm[py/weak-sensitive-data-hashing] placed on line before hashing calls
- Removed incorrect function-level suppressions
- Only suppress specific lines that actually use hashing with passwords
🤖 Generated with [Claude Code](https://claude.ai/code)
Add CodeQL suppression for MySQL protocol hashing
Add lgtm[py/weak-sensitive-data-hashing] annotations to suppress
CodeQL warnings about SHA256/SHA1 usage in MySQL authentication.
This is protocol-mandated usage for challenge-response, not password storage.
🤖 Generated with [Claude Code](https://claude.ai/code)
Add comprehensive CodeQL suppressions for MySQL authentication
Added codeql[py/weak-sensitive-data-hashing] suppressions to:
- Native authentication functions using SHA1/SHA256 per MySQL protocol
- Connection functions handling password parameters
- Test files with test passwords
- RSA encryption fallback functions
These are legitimate uses of hashing for MySQL challenge-response
authentication, not password storage.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Revert "Fix CodeQL suppression syntax to use correct format"
This reverts commit 66a3220.
Add CodeQL config to exclude MySQL protocol false positives
Create CodeQL configuration that excludes py/weak-sensitive-data-hashing
rule which flags legitimate MySQL authentication protocol usage as
security vulnerabilities. The MySQL protocol mandates SHA1/SHA256 usage
for challenge-response authentication, not password storage.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent e5ac6ff commit 0a6871a
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments