I can’t imagine that they would pose a problem for the baby, but mine did things I would never have imagined, so… how close together are crib slats supposed to be? Are these closer or further apart? Basically, could she get her head stuck between them, since there’s no concern about her falling.
Maybe it’s time for a playpen or to teach her to stay in a high chair while you cook? You might have to kind of train her to whicheve you chose to get her used to it, as she is accustomed to roaming. She needs to know it’s a fun place, and that she won’t be stuck there forever. Talk to her while she’s in it, describe what you’re doing and occasionally ruffle her hair or kiss her so she doesn’t feel abandoned.