That is absurd. To prevent malicious modifications and data leak you can just host code on your own server. Using free CDN (without SLA) you just increase your site downtime and get nothing in return (well except that company and NSA can now collect IPs, UAs and referers of your users).
CDNs are used to optimize traffic cost but hosting just single JS library there won't save you much.
Calculating hashes is bothersome and requires modification of an app so probably nobody is going to use it.
I never use libraries hosted at free CDNs.
EDIT: I cannot think of a scenario where this feature can be useful.
EDIT 2: And you cannot use this feature for scripts like Google Analytics because they can be modified anytime.