Prepare Ingredients: Heat the vegetable oil in a large pan over medium heat. Add the sliced shallot, chopped serrano chilies, thinly sliced garlic cloves, and star anise.
Fry Ingredients: Fry the ingredients for approximately 10 minutes, or until they become crisp and golden brown. Avoid overcooking or burning.
Combine Spices: In a separate bowl, combine the black peppercorns, red chili flakes, soy sauce, light brown sugar, and MSG.
Mix with Hot Oil: Strain the hot oil from the pan into the bowl containing the spice mixture. Stir well to combine, allowing the chili flakes to become crispy.
Cool and Serve: Set aside the strained ingredients to cool, then add them to your oil and spice mixture. Stir thoroughly to incorporate. Serve immediately or store for later use.