Skip to content

[AutoFix] [formatted-sql-query] Detected possible formatted SQL query. Use parameterized que#43

Open
surinderunitone wants to merge 1 commit into
mainfrom
autofix/AFQ-9d830187
Open

[AutoFix] [formatted-sql-query] Detected possible formatted SQL query. Use parameterized que#43
surinderunitone wants to merge 1 commit into
mainfrom
autofix/AFQ-9d830187

Conversation

@surinderunitone
Copy link
Copy Markdown
Contributor

AutoFix: [formatted-sql-query] Detected possible formatted SQL query. Use parameterized que

Issue

  • ID: bf1c070a66d2
  • Severity: medium
  • Category: static-analysis
  • File: src/auth/login.py

Fix

Replaced formatted SQL query with parameterized query using placeholders to prevent SQL injection attacks. The username parameter is now passed separately to the execute method.

Confidence

🟢 95% confidence


🤖 Generated by UnitOne AutoFix

Replaced formatted SQL query with parameterized query using placeholders to prevent SQL injection attacks. The username parameter is now passed separately to the execute method.

Issue: bf1c070a66d2
Severity: medium
Job: AFQ-9d830187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant