is anise a tree nut?
IIRC Anise is a seed, so you should be fine. DD has a confirmed peanut allergy, we are avoiding all tree nuts and star anise, anise seed and anise extract have never been a problem.