Cook the pasta according to package directions. Drain well. Rinse with cold water. Drain again. Meanwhile, in a small skillet, combine the olive oil, garlic and red pepper flakes over medium-low heat. Warm the oil slowly and let infuse with the garlic and chile flavors, about 5-10 minutes. Do not let the garlic burn. Set aside to cool slightly.
Add the pasta to a large bowl. Toss with the olive oil mixture, balsamic vinegar, tomatoes, mozzarella, and basil until evenly combined. Season to taste with salt and pepper. Serve cold or at room temperature.