Is there really a need to worry about that?
(That is a question. I don't know the answer. I had been under the impression that security against attacks wasn't really a concern for developers, that processes in iOS are so sandboxed that it's really apple, not the developer's, concern.)