- Amazon already has immense attack surface
- software is generally distributed without warranty and includes liability disclaimers
- They wouldn't even be distributing any of the software. Any lawsuits based on contributions like that should be thrown out at the nuisance level, and they must already have an army or lawyers dealing with those.
(I only play a lawyer on the internet)