Spot the Vibe-Coded Vulnerability

5 real production bugs frequently introduced by AI coding agents. Spot them all in 60 seconds and challenge your friends.

Snippet 1 of 5: Stripe Checkout Webhook HandlerScore: 0
export async function POST(req: Request) {
  const event = await req.json();
  if (event.type === 'checkout.session.completed') {
    await db.users.update({
      where: { id: event.data.object.metadata.userId },
      data: { plan: 'pro' },
    });
  }
  return Response.json({ received: true });
}