01 - Combine red pepper flakes, smoked paprika, chili powder, Sichuan peppercorns, soy sauce, sugar, and salt in a heatproof bowl. Set aside.
02 - Heat oil in a small saucepan over medium heat. Add sliced shallots and cook, stirring frequently, until golden brown and crispy, approximately 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 the oil mixture cool, then fold in the crispy shallots and garlic.
07 - Transfer to a clean, airtight jar. Store refrigerated for up to 1 month.