Cook the risoni pasta according to directions on the package.
Dice the onion and fry in a skillet with the ground beef.
If using tomato paste, stir it in, then add the cooked risoni, halved cherry tomatoes, and then corn, and cook on low heat until warm. Add salt and pepper to taste and serve with chopped basil.