Cook green beans in a large pot of boiling water for about 2 minutes. Drain and rinse under cold water to stop the cooking process. Pat dry and transfer to a bowl. Mix in tomatoes, shallot and basil.
Whisk oil, vinegar, salt and pepper. Add to veggies and toss.