Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Writing Secure JavaScript Code - Avoiding Vulnerabilities and Attacks

Mozilla Hacks via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn essential techniques for writing secure JavaScript code in this 32-minute conference talk from View Source 2017. Explore the strengths of JavaScript, understand common vulnerabilities, and dive into topics such as regular expressions, the event loop, and catastrophic backtracking. Discover how to prevent attacks through input manipulation, JSON handling, and type manipulation. Examine real-world examples, including the DustJS vulnerability, and gain practical insights on securing web applications. Conclude with key takeaways on library vulnerabilities, utilizing tools like Microsoft Sonar and Lighthouse, and the importance of regular upgrades for maintaining code security.

Syllabus

Introduction
What makes JavaScript great
MS Vulnerability
Regular Expressions
The Event Loop
Catastrophic Backtracking
Redose
Attack Manipulation
JSON as Input
Type Manipulation
DustJS
About Page
Playing with About Page
Wrapping Up
Takeaways
Libraries have bugs
Microsoft Sonar and Lighthouse
Upgrade

Taught by

Mozilla Hacks

Reviews

Start your review of Writing Secure JavaScript Code - Avoiding Vulnerabilities and Attacks

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.