Skip to content

Fix SQL Injection Vulnerability in create_user Function#8

Open
SoClosee wants to merge 1 commit intomainfrom
gitpilot/FrFollowForFollowBot-fix-1772253221
Open

Fix SQL Injection Vulnerability in create_user Function#8
SoClosee wants to merge 1 commit intomainfrom
gitpilot/FrFollowForFollowBot-fix-1772253221

Conversation

@SoClosee
Copy link
Copy Markdown

This PR fixes a high-severity security issue in the create_user function within the database/queries.py file. The original implementation used string interpolation for SQL queries, which is vulnerable to SQL injection attacks. This fix replaces the string interpolation with parameterized queries to prevent such vulnerabilities.

Automated by GitPilot — your friendly AI maintainer

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