Preheat the oven to 400°F (200°C).
In a baking dish, place the block of feta cheese in the center. Surround the feta with cherry tomatoes.
Drizzle olive oil over the feta and tomatoes. Sprinkle minced garlic, red pepper flakes, salt, and pepper on top.
Bake in the preheated oven for 30 minutes, or until the tomatoes are blistered and the feta is soft.
While the feta and tomatoes are baking, cook the pasta according to package instructions until al dente. Drain and set aside.
Once the feta and tomatoes are done, remove from the oven and mash them together with a fork to create a creamy sauce.
Combine the cooked pasta with the feta-tomato mixture, tossing to coat the pasta evenly.
Serve warm, garnished with fresh basil leaves.