Directly over a fire or under the broiler, char the tomatoes, chiles, and onion, rotating as needed, until the skins start to split and blacken all over, 10–12 minutes. Use a dry paper towel to rub the charred skins off. Stem and seed the tomatoes and chiles, then coarsely chop all of the vegetables, reserving any juices.
In a medium pot, heat the oil over medium heat. Once hot, add the vegetables, bring the mixture to a boil, and cook until the juices start to thicken, 10–15 minutes.
Remove from heat and season with the lime juice and a few pinches kosher salt to taste. Let cool to room temperature. Serve immediately, or transfer to an airtight container and refrigerate for up to 5 days.
