Live data from Hacker News

HTML5 Flash Player (Shumway) lands in Mozilla

gemal.dk

151–160 of 181 posts

Re: HTML5 Flash Player (Shumway) lands in Mozilla

#151

Earlier quoted context omitted.

> doing SWF rendering in-browser and in-sandbox makes the security nightmare that is Flash go away I think it's crucial to make sure end users concerned with security understand the difference between built-in or bundled Adobe Flash Player (Google Chrome style), and what Firefox is offering. As soon as Chrome added a built-in Flash Player, it became the preferred target for hack contests, and still falls over repeate…

> I think it's crucial to make sure end users understand the difference between built-in or bundled Adobe Flash Player And please, for the love of all that is holy, also make sure they understand what it might mean for the stability of features such as video recording. Over the past few years Chrome has repeatedly shipped PepperFlash versions with various degrees of brokenness for video recording; wreaking havoc for…

Calling shenanigans. I wrote a couple of fairly complex publishers and Chrome isn't the problematic browser (if you use ExtermalInterface correctly). It's Safari which doesn't handle plugins well, but Camera and Microphone devices should still work as Flash handles those by itself.

Re: HTML5 Flash Player (Shumway) lands in Mozilla

#152

This is great. It effectively makes ActionScript 3 into YALTCTJS; Yet Another Language That Compiles To JavaScript, just like CoffeeScript and TypeScript. In particular, AS3 is strongly typed; you could say it puts the Java into JavaScript. It has (had?) a large developer community, and there's a lot of good code for it out there already. I quite enjoy programming it, though the endless reliance on EventListeners is…

have you used haxe? it was positioning itself as a viable actionscript replacement back when actionscript was relevant, and it already compiles to javascript (and a bunch of other useful platforms).

Re: HTML5 Flash Player (Shumway) lands in Mozilla

#153

Earlier quoted context omitted.

>Flash, when used badly, becomes a self-contained sandbox for the entire experience of a website. This same argument is true for Canvas, SVG, WebGL etc.

This is true, but because of completely different toolchains it's very rarely the case that this happens. Flash, at its height, was being used with tools like Flex to build full applications. Adobe provided interface libraries for you to substitute native controls for its own (inferior) versions. Nothing like this exists yet for the tools you mention, and hopefully never will..

And you think asm.js/WebGL will be any different? The more powerful the browser gets the more open to this kind of abuse it will be. Live with it.

Re: HTML5 Flash Player (Shumway) lands in Mozilla

#154

Earlier quoted context omitted.

Sure, and not browsing the Web at all is even safer. But it's nice to see developments that make insecure technologies more secure.

Well, we assume it's more secure than simply running Flash, but we don't know. In fact it increases the overall attack surface since now there's bugs in Adobe's implementation and bugs in this implementation to exploit. Let's suppose we believe our site to be secure because we've tested it on Windows and Mac and checked the flash doesn't cause issues, and we've tested it on mobile and the flash simply doesn't work. N…

The attack surface isn't increased. If you can exploit the vulnerability using Shumway, you could also exploit the vulnerability using vanilla JS — because Shumway is just Javascript. Shumway doesn't allow new exploits that are impossible without Shumway.

Shumway decreases the attack surface of Firefox for general-purpose browsing: most people would install Flash otherwise, and this way that (infamously broad) attack vector is removed.

Re: HTML5 Flash Player (Shumway) lands in Mozilla

#155

Earlier quoted context omitted.

Well this is counter to my understanding. As shumway - like PDF.js - is ultimately using the exact same rendering engine and scripting engine via the same interface and in the exact same way as the HTML pages are already exposing, the attack surface just got massively smaller. If there is a jpeg injection bug, its a bug in the browser proper.

It's smaller on browsers running this implementation of Flash but you're dealing with browsers running the real Flash runtime AND this new implementation, which may expose bugs you are not otherwise exposed to. Let's suppose you're an ad network and you don't want to mistakenly inject malware into other websites because that would be bad. Now you need to think of a whole bunch of new cases. E.g. you might have carefu…

It might be true that as an ad network if you allow Flash files, but don't allow JS files, your life might become harder. (If you do allow JS files, your life is no different — you were already exposed to JS vulnerabilities).

As a user, though, your browser is significantly more secure running Shumway than running Flash. It literally removes an entire attack vector without adding a new one. If there's an exploitable vulnerability in Firefox's JS engine, you're vulnerable to it regardless of whether you run Shumway or not — but if there's an exploitable vulnerability in Flash, you aren't vulnerable if you're running Shumway instead.

Re: HTML5 Flash Player (Shumway) lands in Mozilla

#156

Earlier quoted context omitted.

> I think it's crucial to make sure end users understand the difference between built-in or bundled Adobe Flash Player And please, for the love of all that is holy, also make sure they understand what it might mean for the stability of features such as video recording. Over the past few years Chrome has repeatedly shipped PepperFlash versions with various degrees of brokenness for video recording; wreaking havoc for…

Calling shenanigans. I wrote a couple of fairly complex publishers and Chrome isn't the problematic browser (if you use ExtermalInterface correctly). It's Safari which doesn't handle plugins well, but Camera and Microphone devices should still work as Flash handles those by itself.

Safari has how much of the browser market share?

Nobody gives two glances about Safari, mate.

Re: HTML5 Flash Player (Shumway) lands in Mozilla

#157
post #18

Very cool. Here's some more demos: http://mozilla.github.io/shumway/

The other cool thing about this is that it could potentially bring back Flash compatibility on Linux machines since the official Flash support/updates was dropped in 2011.

And other platforms like Android and Firefox OS. The areweflashyet.com demos apparently also work on iOS!

Re: HTML5 Flash Player (Shumway) lands in Mozilla

#158
post #62

So if I install the extension, do I need to disable Flash plugin on Firefox?

You don't need to install the Shumway extension if you are running Firefox Nightly builds and flip the "shumway.disabled" pref in about:config. Shumway will try to load embedded Flash content and show a little "Shumway X" button that you use to fall back to Adobe's Flash Player instead.

Re: HTML5 Flash Player (Shumway) lands in Mozilla

#159

Earlier quoted context omitted.

> I think it's crucial to make sure end users understand the difference between built-in or bundled Adobe Flash Player And please, for the love of all that is holy, also make sure they understand what it might mean for the stability of features such as video recording. Over the past few years Chrome has repeatedly shipped PepperFlash versions with various degrees of brokenness for video recording; wreaking havoc for…

Calling shenanigans. I wrote a couple of fairly complex publishers and Chrome isn't the problematic browser (if you use ExtermalInterface correctly). It's Safari which doesn't handle plugins well, but Camera and Microphone devices should still work as Flash handles those by itself.

There was a well publicized audio problem with Pepper. It broke nearly all audio playback for weeks. Happened on every platform.

Re: HTML5 Flash Player (Shumway) lands in Mozilla

#160

Earlier quoted context omitted.

Sure, and not browsing the Web at all is even safer. But it's nice to see developments that make insecure technologies more secure.

Well, we assume it's more secure than simply running Flash, but we don't know. In fact it increases the overall attack surface since now there's bugs in Adobe's implementation and bugs in this implementation to exploit. Let's suppose we believe our site to be secure because we've tested it on Windows and Mac and checked the flash doesn't cause issues, and we've tested it on mobile and the flash simply doesn't work. N…

s/Windows/Linux/g

thanks :) I, Gabe Newell and many others would like to see this happen.

Post reply on HN