01 - Line a heatproof bowl with red pepper flakes, smoked paprika, chili powder, Sichuan peppercorns, soy sauce, sugar, and salt. Set aside.
02 - Heat the oil in a small saucepan over medium heat. Add sliced shallots and cook, stirring frequently, until golden brown and crispy, about 8-10 minutes. Remove with a slotted spoon and drain on paper towels.
03 - Add sliced garlic to the hot oil and fry until golden and crispy, 2-3 minutes. Remove with a slotted spoon and drain alongside the shallots.
04 - Allow the oil to cool slightly for 2-3 minutes.
05 - Carefully pour the warm oil into the bowl with chili and spices. Stir well to bloom the flavors.
06 - Let cool, then fold in the crispy shallots and garlic. Transfer to a clean, airtight jar. Store refrigerated for up to 1 month.