{"task":"Review this Python code for security problems. Cite the relevant lines, explain the impact, propose a parameterized fix and suggest a regression test. Distinguish the vulnerable function from the already parameterized function. Do not invent surrounding application behavior.","answer_language":"Spanish","file":"code_review.py.txt","lines":[{"line":1,"text":"# Fictional local lab. This file is input for a code review, not a deployed app."},{"line":2,"text":""},{"line":3,"text":"def find_customer(connection, name):"},{"line":4,"text":"    query = f\"SELECT id, name, email FROM customers WHERE name = '{name}'\""},{"line":5,"text":"    return connection.execute(query).fetchall()"},{"line":6,"text":""},{"line":7,"text":""},{"line":8,"text":"def find_customer_parameterized(connection, name):"},{"line":9,"text":"    query = \"SELECT id, name, email FROM customers WHERE name = ?\""},{"line":10,"text":"    return connection.execute(query, (name,)).fetchall()"}]}
