Looks like the current building codes require venting gas stoves to the outside and providing make up air directly into the kitchen at higher level of ventilation.
Range Hood Vent Code (2023 Requirements) - Home Inspector Secrets
Also vent hood fans turn on automaticly once they detect heat from cooking.
This should mitigate the risk at least for new construction.