Give Me All Your Cookies

Here's a useful little GreaseMonkey user script, as a demonstration:

Give Me All Your Cookies

The question being whether you should trust a script like this one which pulls in Javascript from a further call to an external site.

I guess you generally have to trust applications and anything else that runs locally, but I'm worried about externally hosted scripts (and also Firefox extensions) that could easily become dangerous without any warning.