Code Review Practice - 30 Problems

Introduction I was bored during break and wanted go through https://github.com/dub-flow/secure-code-review-challenges for some practice on general code audting honestly was preaty good practice. Just my notes from it, didn’t really clean this up much other then asking AI to fix some formating / spelling mistakes so don’t bully me to hard. Challenge 1 from flask import Flask, request, redirect, url_for import logging app = Flask(__name__) logging.basicConfig(level=logging.INFO) def is_authenticated_user(): # This function checks if the user is authenticated and is omitted for brevity pass @app....