Roast the Thai chili peppers in an oven preheated to 450°F (232°C) until the skins are lightly charred.
Roast the garlic cloves until soft and caramelized inside.
Add roasted peppers, roasted garlic, water, brown sugar, and hoisin sauce into a blender. Blend until completely smooth with no visible chunks.
Pour in rice vinegar and white vinegar, then blend again until fully combined and uniform in texture.
Run the mixture through a food mill to remove skins and seeds, then transfer the smooth liquid into a saucepan.
Heat the sauce until it reaches at least 180°F (82°C) to fully pasteurize it and make it shelf-stable.
While still above 180°F (82°C), pour the sauce into sterilized bottles. Immediately seal them and flip upside down for 5 minutes to sanitize the lids.
