Plenty of funky bacteria weed out there, especially on the street. Good reason to grow your own, so you can have precice control over every minute of the plants life and curing process. Great post medical mike

The good thing is bacteria will get nuked the moment a flame is applied. The biggest things you gotta worry about are the toxins the bacteria/mold has left behind as waste products. and/or actual unsterilized particles/spores landing in your mouth/lungs.
Aflatoxins are a common byproduct of many molds, and are in a surprising number of foods we eat as well. Compromising your liver for up to weeks, generally the root cause of common cold.
Keep your growroom clean and dry & store your pot properly and you shouldnt have a problem with these bacterial infections.
I know I've said its OK to cook slightly moldy bud (not anything thats completely fuzzy though) in the past before but I withdraw my statements about that. Any moldy bud should NOT be cooked & ingested... much less smoked. If you see mold or smell it it should go straight to the compost.