CRX postMessage Scanner is a set of scripts that can be used to find message listeners in content scripts of Chrome extensions.
Fetches extension IDs from Chrome Web Store given a category.
Uses a list of extension IDs to download extensions.
- converts CRX files into ZIPs,
- unpacks them,
- parses manifests,
- finds content scripts,
- parses content scripts with Acorn JS
- looks for message listeners using Acorn plugin
- sends results to elasticsearch
elasticsearch has limitation on the number of indexed fields, which has to be increased:
curl -XPUT localhost:9200/_template/extensions -d @template.json