It really depends on which parts of Brazil you visit. Many of the larger cities such as Rio and Sao Paulo have high rates of crime and theft, especially target tourists. As in any country, it is best to take precautions while traveling. Do not bring any valuables with you, wear a money belt and avoid wearing expensive jewelry and bring lots of expensive electronics.