what he said ^
infused oils using anything - herbs/spices/leaves - that grew in soil - aka had soil contact - have the potential to erupt into botulism.
that mechanism take time, the time is 'delayed' by refrigeration.
hence the 'not longer than' storage theory . . .
this my fav 'bread dipping' schufft:
1 cup extra virgin olive oil
1 teaspoon fresh rosemary, finely chopped
1 teaspoon fresh thyme leaves
1 teaspoon fresh basil leaves, finely chopped
1/2 teaspoon red pepper flakes (adjust to taste)
1/2 teaspoon garlic powder
1/2 teaspoon salt
I only do 1/2 of the recipe (for two) so we can use it up before it may go wonky