CRX Extractor is a tool that makes an investigation of Chrome Extensions easy. In a matter of few clicks you can download .CRX file from the Chrome WebStore and unpack it along with all scripts source code, images and assets the extension use.
The purpose of this tool is not just to help people learn how to hack and build any extension. I want to increase awareness about Chrome Extensions security in general, providing an easy tool which everyone can use as a good start of analyzing any popular extension.
I'm hear from you, community of the ProductHunt, how can CRXExtractor and we all together can solve these problems and make CRXExctractor more valuable to end users, who want to learn from others' code, build own great and rich Chrome Extensions, hack into ones created by others.
Any feedback about this tool features, usability and content on the original site is much appreciated!
@v_ignatyev if security is your concern, it may be more useful to create a tool that grabs the source code and does some lexical analysis on it to generate security and compatibility reports. That would be killer for both the users of the extensions as well as the authors.
@v_ignatyev worth noting that Chrome has a pretty rich permissions scheme in their manifest file as well. So you see exactly what the extension is going to do when you're installing it (what powers it has).
I've never created a Chrome plugin, so I'm excited to give this a try. I'm curious how plugin creators who purposely did not make their source publicly available would feel about this.
@israelvicars once you ship your code to a client's device, you should never assume that it is safe. I certainly don't for the Opentest extension which is why we (as well as most extension authors) minify and uglify the javascript they ship. If you are on Mac, you can also access the code of any extension installed on your computer in this folder:
~/Library/Application\ Support/Google/Chrome/Default/Extensions
~ is your home directory.
@vhmth@israelvicars btw about "uglification" there are few lines on About page. It seems to be a problem, but I've tried few very popular chrome extensions using own tool and fortunately they were containing even source code comments )
@v_ignatyev@israelvicars hmm I wouldn't consider it a problem. It's honestly quite fair.
1. You want to make sure the footprint of your extension (size of the app) is as small as possible.
2. Although you want to ensure that people can check the source code for security reasons (and because this code literally runs on their device), some level of defensibility is warranted by the author.
@vhmth@israelvicars Also I think about minor UI improvement: to change Download .CRX and Get source panes in place. Because the downloading of .crx is first and should be left. What do you think?
@itai_regev try 7zip yourself. CRX is not just a zip file. It's a format over .zip file with tiny overhead, so neither unzip nor 7zip will accept this.
CRXExtractor Band