The attack could have been averted through a technique called subresource integrity, according to researcher Scott Helme.
Source: Threadpost