Hey, it's EdOverflow!
I often find myself checking Content Security Policies for new hosts that could potentially be in scope. In order to facilitate this process and make it scale, I have written a small utility here: https://github.com/EdOverflow/csp. Simply create a text file with all the URLs you want to fetch whitelisted hosts from and run the following:
$ cat hosts.txt
http://example.com/
$ cat hosts.txt | csp
example.com
subdomain.example.com
Hope this helps! Have fun. :)
|