Steve Jobs touted security as one of the reasons for not initially allowing third-party apps on the iPhone. At last year’s D conference, he told Walt Mossberg “I’ve used 3rd party apps… the more you add, the more your phone crashes. No one’s perfect, and we’d sure like our phone not to crash once a day.” Unfortunately, a JavaScript attack can crash your iPhone or iPod touch just by visiting a page with the malicious code.
read it here arstechnica.com