News for hackers. Stuff that matters.
Re:SSH client in Google Chrome by patrickaljord on Thursday January 17, 2013 @06:41AM (#5072119)
Chromium is open source, the extension is open source and it runs on nativeclient which itself is open source and was designed and audited to be secure and sandboxed. Making it secure and sandboxed was part of the initial goal of both Chromium and nativeclient, and again, they and the extension are all open source and audited daily by Google engineers and tons of security companies.
Re:SSH client in Google Chrome by dsr_ on Thursday January 17, 2013 @07:11AM (#5072208)
Chromium is open source. Chrome is not.

It is perfectly possible that Google is doing all sorts of Evil Stuff (TM) in the binaries that they ship out. I don't think it's likely, because a fair few people will be examining the packets it sends -- but it is possible.

Re:SSH client in Google Chrome by EricBurnett on Thursday January 17, 2013 @08:08AM (#5072376)
The same could be said for any binary releases, from open source code or not (e.g. Firefox). If you don't trust Google's binary releases then build your own Chromium from audited sources.
Re:SSH client in Google Chrome by mcpherrinm on Thursday January 17, 2013 @08:48AM (#5072582)
Yes, trusting binaries is a little scary. But for open source projects like Firefox, you should be able to compile a bit-identical release to what Mozilla provides.

With Chrome, that isn't possible. It is based on Chromium, but includes non-open source code, and so you cannot immediately build it.

However, in the end, they're just executables. Looking at assembly isn't quite the same as looking at source code, but we could examine the additional components and try to identify any malicious parts. At least in theory -- the work involved would be quite big.

Re:SSH client in Google Chrome by DannyBee on Thursday January 17, 2013 @10:38AM (#5073179)
All non-open source code in chrome should be in plugins (or otherwise separate DLL's), not chrome's main binary. If you know of a case where this isn't true, please let me know.

You wouldn't be able to compile bit-identical releases due to FDO, but otherwise ...

Re:SSH client in Google Chrome by tonfa on Thursday January 17, 2013 @09:51AM (#5072903)
> But for open source projects like Firefox, you should be able to compile a bit-identical release to what Mozilla provides.

Pretty sure it's actually very hard, I'd assume they use FDO in their builds.

Re:SSH client in Google Chrome by mcpherrinm on Thursday January 17, 2013 @10:13AM (#5073018)
That's true. I know profile-guided-optimization is used for Windows builds; unsure on other platforms.

Actually, this sounds like a fairly interesting project to me: Given a tool chain and a source code base, can we prove this was a possible compilation? In the case of deterministic compilers this is trivial, but as you highlight, not all optimizers are.

Re:SSH client in Google Chrome by LukeShu on Thursday January 17, 2013 @10:46AM (#5073231)
I'm fairly certain that PGO is used for all of the official binaries. I do know that Arch Linux's package (which is from source, not official binaries) is compiled with PGO, so the support is definitely there.
Re:SSH client in Google Chrome by Hello71 on Thursday January 17, 2013 @11:05AM (#5073344)
The scripts used to automate PGO are in the official repository.
Re:SSH client in Google Chrome by groby_b on Thursday January 17, 2013 @05:20PM (#5075611)
Theoretically, you should be able to compile a bit-identical release. Practically, you won't. (Or at least, I'd be very surprised)

Re-creating bit-identical copies is hard when you _try_ to make it happen for your project, and I can't see any active efforts for that in most OSS projects.

Timestamps in .o/.lib files, use of system libraries, optimization heuristics, exact versions of the entire toolchain, and many more "fun" issues prevent that from happening, usually.

Re:SSH client in Google Chrome by taligent on Thursday January 17, 2013 @07:35AM (#5072274)
Do you really think open source and security audits actually means much ? You only to have to look at Java and Windows to know that security exploits can exist for years sometimes decades without anyone noticing them.
Re:SSH client in Google Chrome by BitMastro on Thursday January 17, 2013 @08:35AM (#5072499)
>You only to have to look at Java and Windows to know that security exploits can exist for years sometimes decades without anyone noticing them.

Yes, and your point is? Security audits do mean much, that's why they are done. Open source means a lot as well, it means that if I don't trust a software, I can check it if I want to, rather than accepting what a company is telling me.

There's a reason why cryptographic stuff is almost exclusively open source, it's because security through obscurity doesn't work.

That said, the amount of exploits for open and closed source software is more of less equivalent, but the time to fix is usually shorter for open source code.