I have a question regarding Facebook Connect's security model. How hard would it be for a hacker to write an iPhone app which uses FB Connect, but also captures the username / password that is entered by a user on the FB Connect login dialog box? From what I can think of, one could look at the UITextField in the UIWindow and be able to capture the text entered. Or, even more subtle, replace the keyboard keys with your own buttons that look exactly like the iPhone keyboard, but the keys pressed are processed by the app. Or capturing the location of the touches (when keyboard is up) and guessing which keys were pressed.
Any thoughts?