Adobe has released their new AIR product with much fanfare about letting developers "[use proven Web technologies to build rich Internet applications that deploy to the desktop and run across operating systems|http://www.adobe.com/products/air/]." The grand vision that's being promoted is that AIR is pioneering the application development model of the future, where cross-platform applications will be developed using a platform-independent tool such as AIR, and then deployed across the Web as downloadable gadgets that can be installed on any computer.
The concept is attractive, but there are several weaknesses in the way AIR implements it. One of these weaknesses is performance: while the speed of AIR's execution engine may be fine for gadgets, will performance that is still an order of magnitude slower than native code be acceptable for serious applications like Adobe's own Photoshop? (Note that the recently released Photoshop Express service is not an AIR application; it's a server-side application with a Flex front end.) A second weakness is the complexity of the AIR execution architecture: will future application developers really find AIR's conglomeration of JavaScript and ActionScript execution engines to be a more tractable development platform than a single, coherent, object-oriented execution environment? But the weakness I want to address today is AIR's security architecture.
Security is a central issue for any mobile code execution platform. When a user loads an application from a server, unless the user is able to verify the authenticity of the application and the trustworthiness of the application's provider, it is only prudent to assume that the application could be malicious. This is why Web browsers execute the JavaScript on a Web page inside a security sandbox that prevents the script from stealing information or damaging files even if it is malicious.
Some advanced mobile code platforms, such as Java and Curl, provide a sandbox for garden-variety untrusted applications, as well as a means for eliminating the sandbox restrictions for applications that a user determines can be trusted. Since trusted applications will have full access to the user's machine and network, it is very important that their origin can be authenticated. This is typically done by requiring that a trusted application be digitally signed by its provider, using a certificate issued by a recognized certification authority such as Verisign. This architecture extends the range of a platform, in a safe way, so it can handle a spectrum of application requirements that includes the features of typical desktop applications, many of which require fuller access than can be granted to an untrusted application running in a sandbox.
The designers of AIR obviously wanted to play in the desktop application space, so AIR applications have full access to the machine they are running on. But it seems that the AIR designers were unwilling to give up on also being a platform for casually loaded Internet gadgets, even though they did not see fit to give AIR a sandbox for running untrusted applications. The result is a mongrel security architecture that may impose costs on a lot of innocent people over time.
In a nod to the authentication requirements for trusted applications, Adobe says that all AIR applications must be signed. But the nod is an empty gesture, because AIR does not require signatures to be based on a certificate from a recognized certification authority! If you want, you can create your own certificate out of whole cloth and sign your AIR application with that! I have to guess that Adobe did this because they didn't want to cut themselves off from the casually loaded Internet gadget domain, and they weren't willing to require that the creators of such gadgets go through the process of obtaining a legitimate certificate.
Yes, if an AIR application's certificate is self-signed, AIR displays the publisher as "UNKNOWN", "[giving the user pause as to whether they should continue|http://blogs.adobe.com/stateofsecurity/2008/02/air_security.html]." But what detective work is the user expected to do? How many users will actually be able to do it? It seems more likely that if Adobe's dreams for AIR are realized, a generation of users will be trained in the habit of clicking "Install" for fully privileged AIR applets of unauthenticated provenance. Adobe has already begun this training program by posting a large number of self-signed AIR applications on the Adobe AIR Marketplace, including the DiggTop feed reader, twhirl Twitter client, and Google Analytics Reporting Suite, just to name a few.
The resulting situation will be a bonanza for criminal hackers. AIR will become the first truly cross-platform tool for distributing malicious applications. Macintosh and Windows, home and business computers will all be equal-opportunity targets for Trojan horse attacks, keystroke loggers, etc., truly realizing the dream of "write once, hack everywhere!"
Adobe can't have it both ways. Casually loaded Internet gadgets need to run in a security sandbox. Trusted applications need to be rigorously authenticated. Adobe needs to stop pretending that their self-signed application model provides a secure basis for running casually loaded applications with full privileges.

Hey, cool, thanks for adding comments... hadn't seen that when I checked earlier this week.
Your title is incendiary, but I understand how people feel they can get attention by being controversial. It's a sharp sword to wield, though.
You started out by comparing OS-neutral AIR instruction execution speed with that of OS-specific native code, such as Adobe Photoshop CS3. There are many other differences too... AIR doesn't access local device drivers and so on. These are different opportunities... the commitment of a native-code installation versus the universality of a Macs/Wins/Linii runtime. Not yet a germane argument.
Your attention-grabbing title seems to assume that the core of safety is based on the notion of identifying who the code creator is. This is faulty on many levels... as I noted in a <a href="http://www.google.com/search?q=verisignmicrosoftcertificates+stolen%22">linkat Gary Gilbert's blog, the integrity of a certificate is itself a constant question, so reliance on identity-certification alone is no panacea.
That said, identity-certification came up during the ActiveX days, when a new Control could be invoked by any website. This created a problem for Microsoft, in assuring that a download from a third-party site was actually a Microsoft download. It said nothing about how safe the download was; only that VeriSign or Thawte promised that the installer came from who it said it came from.
AIR has a very different security context. It is a way for anyone -- not just native-code developers -- to make an optimized beyond-the-browser experience. You'd download an AIR version from the creator yourself, and rarely as a third-party download on a site. The dynamics are different from an ActiveX install.
AIR has the capability to work directly with the local file system. You need to carefully consider whom you will trust with access to your file system. When you write "The resulting situation will be a bonanza for criminal hackers," you're leaving out the reason why people would install desktop applications from people they don't know or trust.
Returning to your title, why would "criminal hackers love AIR"? You left the core parts out, by focusing only on the ability to distribute self-signed as well as third-party-signed apps. There's a logical gap in your (rather hot) presentation.
jd/adobe