Fireship · @fireship
7 Security risks you should never take as a developer
Uploaded February 17, 2020 · Length 9:00
Summary
7 common software security risks that developers should know about, including zero-day vulnerabilities, cross-site scripting, and SQL injection, and how to prevent them.
- software security
- zero-day vulnerabilities
- cross-site scripting
- sql injection
- api key security
- security best practices
- developer security
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
[Music]
- 0:00
if debugging is the process of removing
- 0:01
software bugs then programming must be
- 0:03
the process of putting them in in most
- 0:05
cases the bugs we introduce are harmless
- 0:07
but sometimes they can cause us to lose
- 0:09
hundreds of millions of dollars in a few
- 0:11
minutes crash airplanes and spaceships
- 0:12
and kill people
- 0:14
today I want to tell you some stories
- 0:15
about the most damaging hacks and bugs
- 0:17
throughout history and explain seven
- 0:19
software security concepts that every
- 0:21
developer should know if you're new here
- 0:22
like and subscribe and check out the
- 0:24
full write-up on bioship i/o there are
- 0:26
billions upon billions of lines of code
- 0:28
in production today around 50 million
- 0:30
lines for Microsoft Windows and over 2
- 0:32
billion lines across all Google services
- 0:34
and within all this code we have
- 0:36
vulnerabilities that have either not yet
- 0:37
been discovered or not yet been fixed
- 0:39
these are known as zero-day
- 0:41
vulnerabilities because as a developer
- 0:43
you have zero days to get it fixed when
- 0:45
a hacker decides to attack this
- 0:46
vulnerability it's known as a zero-day
- 0:48
exploit remember that one time Equifax
- 0:50
had exposed the credit reports of a
- 0:52
hundred and fifty million people that
- 0:54
wasn't the result of a zero-day exploit
- 0:55
it was the result of a known bug and
- 0:57
Apache struts that had already been
- 0:58
fixed weeks ago what sorry guys hackers
- 1:03
apparently from China had been scanning
- 1:04
the web for servers with this
- 1:06
vulnerability they hit the mother lode
- 1:07
with Equifax and extracted sensitive
- 1:09
information over the next 76 days this
- 1:12
breach has cost the company over a
- 1:13
billion dollars and could have been
- 1:15
prevented by installing a simple
- 1:16
security patch being hacked by a known
- 1:18
vulnerability is not uncommon at all in
- 1:20
fact you're likely shipping code with a
- 1:22
lot of known vulnerabilities right now
- 1:24
if you're a j/s developer go into your
- 1:26
project and hit NPM audit it will give
- 1:28
you a breakdown of all the different
- 1:29
ways you can be hacked via your open
- 1:31
source dependencies now there's no
- 1:32
reason to panic if you have hundreds of
- 1:34
high severity alerts the best way to
- 1:36
avoid being hacked is to simply update
- 1:38
your packages but if you truly want to
- 1:40
understand the flaws that are
- 1:41
compromising these packages you should
- 1:43
enroll in the enterprise security course
- 1:44
from angular Academy it's a ten week
- 1:46
long program that will teach you how to
- 1:48
confidently build secure web
- 1:49
applications you'll find the link in the
- 1:51
description and you can use this code to
- 1:53
take $50 off the enrollment price using
- 1:55
components with known vulnerabilities is
- 1:57
one of the most common ways that web
- 1:59
applications get hacked but it's also


