CRXExtractor Band
p/crxextractor-band
Chrome Extension file and extract source code in one click
Vladimir Ignatev
CRX Extractor β€” Get any Chrome Extension source code. Learn and hack!
Featured
25
β€’

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.

Replies
Vladimir Ignatev
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!
Vinay Hiremath
@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.
Vinay Hiremath
@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).
Vladimir Ignatev
@vhmth I thought about it, but I haven't got enough samples of malware code. Thanks for sharing the great idea!
Srebalaji Thirumalai
Awesome product :) :)
Israel Vicars
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.
Vinay Hiremath
@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.
Vladimir Ignatev
@vhmth @israelvicars May I add this hack recipe onto the CRX Extractor page?
Vladimir Ignatev
@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 )
Vinay Hiremath
@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.
Vladimir Ignatev
@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?
Rison Simon
Nice one. I use a similar plugin with which you can view the source even without downloading : https://chrome.google.com/websto....
Vladimir Ignatev
@risonsimon using my tool you can watch the source code of this plugin too πŸ˜€ thanks for the link!
Alain Ekambi
Nice. Funny there is also a chrome extension that does this.
πŸ€”

thats all

Pros:

Kills all of them

Cons:

nope

Itai Regev
it is just a zip file, 7zip extracts any crx, what is the purpose of this product?
Vladimir Ignatev
@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.
Itai Regev
@v_ignatyev CRX is a zip with a different header, 7zip extracts it successfully, doing that for a very long time - read this thread https://groups.google.com/a/chro...