Remove the stems from the chiles and cut them open lengthwise. Remove as many seeds and veins as possible; the better you clean them, the milder the result. It is best to wear gloves the entire time. Scissors are the easiest tool for cutting, but you can also use a knife or even your hands.
Place all the ingredients in a pan or on a comal and toast them over medium-high heat. Keep going until the tomato just begins to char on the surface, meaning the skin is slightly blackened in spots, or when the smell from chiles comes out about 10 minutes.
Remove everything from the heat and let it cool for about 5 minutes before transferring all the ingredients to a blender.
Start blending slowly. Be careful, because hot ingredients can splatter and be dangerous. Give a few short pulses before letting it run continuously, and add water or broth little by little (a splash at a time) only if needed, that is, if the blender is struggling to grind.
Once everything is blended, taste and adjust the salt if needed.
Depending on your blender, there may still be bits of tomato skin and dried chile skin. If you like, you can strain the mixture to improve the texture.