Skip to content

Commit

Permalink
test of branch pull req for amir23
Browse files Browse the repository at this point in the history
  • Loading branch information
twi57y committed Nov 19, 2024
1 parent 808d94b commit e7a6e52
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Test file with intentional security vulnerabilities

# SQL Injection vulnerability
def unsafe_sql_query(user_input):
query = f"SELECT * FROM users WHERE username = '{user_input}'"
return query

# Hardcoded secrets
# Check with Tristan
API_KEY = "1234567890abcdef"
SECRET_TOKEN = "my_super_secret_token"

0 comments on commit e7a6e52

Please sign in to comment.