Finely chop ginger. Cut tops off of the chili peppers and mince.
Heat some vegetable oil in a frying pan. Add chili, ginger, and star anise. Stir-fry until fragrant, then add vegetable oil, cumin, and chili flakes. Fry for approx. 3 – 5 min., while stirring.
Remove from heat and transfer to a serving bowl or a sealable bottle or jar. Enjoy with soup, bread, or dips!