Madagascar is a relatively safe country. Petty crime is high in big cities. Avoid showing off personal objects in crowded places, as you would any big city in the world.