Return pan to medium-high heat. Cook 3 medium shallots, thinly sliced, stirring with a wooden spoon, until just softened, 1–2 minutes. Add 5 red Thai or Fresno chiles, finely chopped, and 4 garlic cloves, finely chopped; cook, stirring, until softened and fragrant, about 1 minute. Add 1 lb. ground pork and cook, stirring and breaking up meat, until starting to brown, 2–3 minutes. Add reserved soy sauce mixture; cook, stirring often and breaking up pork more, until liquid is evaporated, about 5 minutes. Remove from heat. Add 1 large bunch basil, leaves plucked; stir until wilted.