SECURITY WARNING: be careful when you install Adobe AIR applications
I’ve been building applications for Adobe AIR since its very first public alpha and I totally love it, its a brilliant platform that opens up several unexplored possibilities by allowing web developers to extend the reach of their applications to their users’ desktops. One aspect of AIR applications that is not talked about enough though is Security.
AIR applications are installed on your desktop and have access to your file system and the Internet at the same time, and this can be a dangerous combo. There are several measures taken by the AIR runtime to ensure the security of your information, you can read more about them here, but all in all, just like any other desktop application, you are trusting the creator of the AIR application to be true to his word and not do bad things with your data.
I establish this trust based on the public reputation of the developer/company who created the application. If the developer/company is well respected in the online world, then its generally safe to install his/its application .. it will be incredibly stupid for a reputed developer/company to do sneaky things because some smart developer could easily catch them in the act.
Another key factor in trusting an AIR application, is knowing for sure that it was actually made by the developer/company I think it was made by .. the AIR platform facilitates this by allowing developers to sign their .air files with security certificates purchased from reputed companies like Thwate and Verisign. The AIR documentation describes this as follows ..
When an AIR file is signed, a digital signature is included in the installation file. The signature includes a digest of the package, which is used to verify that the AIR file has not been altered since it was signed, and it includes information about the signing certificate, which is used to verify the publisher identity.
So if the .air file is not signed, there is no guarantee that it was not tampered with and actually comes from the developer/company you think it came from. What’s worrisome though, is that not a lot of users seem to be aware of this or care about it .. also not a lot of developers are signing their applications.
Lets take the example of the probably the most popular AIR application there is … Twhirl, the twitter client. The guys at Twhirl yesterday announced a new version that integrates Identi.ca and allows you to use Identi.ca via twhirl. The cool part, is that twhirl uses Identi.ca ’s XMPP infrastructure to integrate with it allowing Identi.ca to push updates to twhirl, instead of twhirl having to to poll for updates periodically, the way it does for twitter. There are some things to note here though … quoting the CNET announcement …
Identi.ca doesn’t do the pushing itself. Instead, Identi.ca sends its updates to Google Talk, a Jabber-based IM platform that supports the open XMPP standard for instant messaging; and it’s those XMPP messages that get pushed out to the Twhirl desktop clients installed on users’ computers.
The two-step requires users have two logins: One for Identi.ca, and one for Gtalk, and that they enter them into both Identi.ca and Twhirl.
Hmmm, so I have to give my Google login details to Twhirl for it to work with my Identi.ca account, now given that Twhirl is owned by Seesmic, is supported by guys like Loic Le Meur and is constantly scrutinized in the public domain… if I feel the need (I don’t with Identi.ca) I can trust Twhirl with that information, the same way I trust Adium with my google account info. That’s the first step of establishing my trust in Twhirl, the second step is ensuring that .air file I downloaded from twhirl.org actually came form there i.e. there was no man in the middle serving me a .air file that looks and feels exactly like twhirl and does all the things twhirl does but at the same time sends my Google account info to a server somewhere, that stores and later uses this info to do all sorts of unimaginable bad things .. how do I ensure this? Is the .air file signed by Twhirl?
OMG !! NO !! … sorry twhirl I cannot trust you with my google account info.

I’m not saying that twhirl’s servers are being attacked in this way, but there is a possibility that they could be, so developers please sign you AIR applications so that I can easily trust them and users please take utmost care when installing AIR applications, only install applications that you can trust.



25 Comments
Jump to comment form | comments rss | trackback uri | bookmark on del.icio.us