A 712-unit building can afford real security. This is solvable, even if it takes some time, and the developer and the HoA have a strong incentive to solve it.
Also, Biking to downtown from that area is probably unfeasable for most people. I've been biking here my whole life and even though I live midway on that commute I would never want to do it. I only know ONE single person who ever did it, and he basically did it to make the spandex biker crowd look weak. San Francisco is not and will never be a city that bikers do well in.
That said, SOMA is a bit different than outer sunset. But still, folks who underestimate the resourcefulness of a drug addict are underestimating the power of nature itself.