1.
Warm the broth in a saucepan over low heat and keep it hot. Line a shallow tray with parchment paper.
2.
Make the risotto: heat 1 tablespoon olive oil in a wide, heavy saucepan over medium heat. Add the onion and cook until soft, about 4 minutes. Stir in 2 minced garlic cloves and cook for 30 seconds.
3.
Add the Arborio rice and stir for 1 minute to coat the grains. Pour in the wine and stir until it is mostly absorbed.
4.
Add the hot broth about 1/2 cup at a time, stirring frequently and waiting until each addition is nearly absorbed before adding more. Continue until the rice is creamy and tender but still slightly firm, about 20–25 minutes. You may not need every drop of broth.
5.
Stir in the Parmesan, then spread the risotto on the prepared tray in a thin layer. Cool, cover, and refrigerate until firm, at least 1 hour. For easier shaping, chill it overnight.
6.
While the risotto cools, prepare the mushroom filling. Melt the butter in a skillet over medium-high heat. Add the mushrooms and shallot and cook, stirring occasionally, until the mushrooms release their liquid and become deeply browned, about 8–10 minutes.
7.
Stir in the thyme, 1/4 teaspoon salt, and 1/4 teaspoon pepper. Cook for 30 seconds, then transfer the mixture to a bowl and let it cool completely. Fold in the mascarpone and 1 teaspoon truffle oil. Taste and adjust the seasoning; the filling should be creamy but not runny.
8.
Make the pesto: blend the basil, extra-virgin olive oil, pine nuts, Parmesan, garlic clove, and lemon juice until finely chopped and spoonable. Season with salt and pepper. Add a teaspoon of water if needed to loosen it.
9.
Heat the oven to 425°F (220°C). Line a baking sheet with parchment and set a wire rack on top if available. Arrange three shallow bowls for the flour, beaten eggs, and panko.
10.
Divide the chilled risotto into 8 portions. Flatten one portion in your palm, add about 1 tablespoon mushroom filling and one mozzarella cube to the center, then wrap the rice around the filling and roll into a compact ball. Patch any gaps so the filling is fully sealed. Repeat with the remaining portions.
11.
Roll each ball in flour, dip it in beaten egg, then coat evenly with panko. Place the arancini on the prepared baking sheet or rack and brush all over with the 2 tablespoons olive oil.
12.
Bake for 22–28 minutes, turning once, until crisp and golden. Let stand for 3 minutes, then drizzle with the remaining 1 teaspoon truffle oil. Serve hot with the basil pesto.