01
Fetch the diff
Pull the GitHub patch and file context.
Catch bugs, security issues, and slow patterns before they ship.
A finding. A fix. A test. All in context.
def get_orders_for_user(user_id): query = "SELECT * FROM orders " query += f"WHERE user_id = '{user_id}'" cursor.execute(query) return cursor.fetchall() User input is interpolated directly into the SQL query. This can be exploited to read or modify data.
Inspect findingHeuristics and model analysis, working together.
Pull the GitHub patch and file context.
Group related hunks and reuse cached analysis.
Surface issues with a clear fix and regression test.
Repeated hunks reuse cached results.
New code gets a fresh review.
Injection, exposed secrets, unsafe deserialization, and XSS.
query = f"SELECT * FROM users
WHERE name = '{user_input}'"
cursor.execute(query)Mutable defaults, swallowed exceptions, and unfinished paths.
def parse(items, acc=[]):
try: return [acc.append(i) for i in items]
except Exception: passN+1 queries, blocking I/O, and accidental quadratic work.
for order_id in order_ids:
items = db.query(Item).filter(
Item.order_id == order_id).all()