Bad granola bar?

I was eating a Chewy Chocolate Chip granola bar and there was a hard woodchip like piece in it, definitely did not seem editable. I spit it out. could it harm my baby