How the hell do they run these operations or have this amount of gear safely in a favela? When I did a full-on tourist experience of Rio, the guides were adamant that we not even go near any favela, as we'd immediately be robbed or worse. My understanding was that the crime in those areas was so astronomically high that nothing even resembling IT infrastructure could exist, as it would immediately be confiscated by t…
Any time you hear those extremes about any place - e.g., lots of people say it about parts of American cities - it's nonsense. People live there; they are biologically the same as you; they live, breathe and think, they not complete idiots. They aren't organizing, tolerating or sticking around a situation like that. (That said, I know nothing about favelas or what is wise or unwise to do in them.)
In general (although it used to be truer).
That said, there are many places in US cities where I'd pretty strongly recommend against looking out of place, wandering around like a clueless tourist, late at night.
No, you probably won't be shot. But being robbed isn't out of the question.
What is almost certainly true is you're pretty safe most places if you blend in reasonably, keep valuables hidden, and look like you know what you're doing.