Google Glass may be hacked using Javascript

Google-Glass-can-be-hacked-via ...

a safety vulnerability in Android which permits attackers to execute arbitrary code (i.e. their very own code) have been tested on Google Glass and located present. The real vulnerability dates back to the latter a part of last year when security researchers discovered that apps compiled against the Android 4.1 Jelly Bean API can exploit a bug in Javascript. The function in question is addJavascriptInterface(). It was designed to permit Java code to be accessed from within JavaScript but with a limited scope. However in API level 16 and below, it’s broken. To milk it, an app just must create a WebView after which run code that accesses the broken JavaScript function.

Google’s official API documentation for