Тёмный

7 Security Risks and Hacking Stories for Web Developers 

Fireship
Подписаться 3,1 млн
Просмотров 517 тыс.
50% 1

Top 7 security concepts 🛡️ and hacking stories 🎭 that every JavaScript developer should know about. Master these concepts in the Enterprise Security course: bit.ly/2wrUqAB (use FIRESHIP50 at checkout).
Full Security Article fireship.io/lessons/7-securit...
OWASP Top 10 owasp.org/www-project-top-ten/
Concepts:
1. Zero-day 0:47
2. Vulnerable packages 1:22
3. XSS 2:24
4. SQL Injection 3:42
5. Credential Leaks 4:48
6. Principle of Least Privilege 6:11
7. DDoS 7:43
#security #web #javascript
My VS Code Theme
- Atom One Dark
- vscode-icons
- Fira Code Font

Наука

Опубликовано:

 

1 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 304   
@TheBadFred
@TheBadFred 4 года назад
As soon as you rely on someones else's code you most likely get vulnerabilities. The only way around that is to write everything yourself in Assembler, then you will have only your own vulnerabilities.
@Fireship
@Fireship 4 года назад
You can use other people's bugs, or create your own from scratch.
@TheBadFred
@TheBadFred 4 года назад
@@Fireship Even if you create completely vulnerability free code there are still hardware vulnerabilities like Meltdown and Spectre.
@luizvaz
@luizvaz 4 года назад
Until your code meet someone that knows ASM and debug your code. Rewrite your masterpiece and deploy a patch!
@McDonnerbogen
@McDonnerbogen 4 года назад
You better start writing your assembly code or you will never get done ;)
@rockstarrrgaming335
@rockstarrrgaming335 4 года назад
@@TheBadFred that's why i like to build my pc from ground up by soldering individual transistors
@iiaaannnn
@iiaaannnn 3 года назад
English is not my first language but I can understand every single word from this guy even he speaks very fast. 💯 👍 Appreciate your videos!
@lucasgazzola
@lucasgazzola 2 года назад
Totally agree
@AZisk
@AZisk 4 года назад
The best security videos are scary - nice work on this one! For those folks dealing with mobile apps, whether built with JavaScript or not, there are a bunch of other security considerations to keep an eye on. The point is that you're never truly safe. As long as you have something valuable that could be hacked, someone out there will keep trying. You have to dedicate the time and resource to always stay on top of your security, it's not a set-it-and-forget-it thing.
@jannotabamo4002
@jannotabamo4002 4 года назад
Seeing my favorite youtuber for nativescript tutorials commenting here, proves that this channel provides a good content!
@AZisk
@AZisk 4 года назад
Janno Tabamo that’s so awesome! I’m glad you left that comment. Yes, this channel is pretty great - videos are top notch; great production and value.
@shivamvora2285
@shivamvora2285 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-nPCfL_fuUk4.html looks like linkedin clone with firebase as well easy explanation with github repo
@887310954
@887310954 2 года назад
as a security researchet i can validate that we need a ton of awareness to impart to our devs. I've seen some of the scariest vulnerable code making it to production.
@qwertyuiop-cy5en
@qwertyuiop-cy5en 4 года назад
(grabs bug spray) (sprays all over cpu)
@techyleviathan2054
@techyleviathan2054 4 года назад
hahaha
@StrangeIndeed
@StrangeIndeed 3 года назад
hahaha
@jordanski5421
@jordanski5421 3 года назад
Frick
@alfie0
@alfie0 3 года назад
lol
@lamichhane
@lamichhane 2 года назад
I don't know how I laughed at this...
@BattyBest
@BattyBest Год назад
The actual way to protect from ddos attacks is by blocking requests from ips that constantly send a bunch of requests, and then ask them to do a human verificiation. Scaling gets reeeeeeealy costly.
@arnoldas9730
@arnoldas9730 Год назад
So if you block ip, how would your server respond with human verification?
@BattyBest
@BattyBest Год назад
@@arnoldas9730 Blocking an IP is a server-side operation, and can be reverted immediately. What I am talking about is this: - Attacker sends a lot of requests - Server notices, and sends a verification - Verification is not received, any more packets from that ip are blocked - Another IP, this one not an attacker, sends a lot of requests - Server notices, and sends a verification - The new IP responds with verification - Server allows higher than normal requests temporarily - If this IP continually sends a large amount of packets, it may be throttled.
@HuyTran-wv3tz
@HuyTran-wv3tz Год назад
that is the basic way to solve dos, NOT ddos
@I_killed_that_beard_guy
@I_killed_that_beard_guy 9 месяцев назад
​@@HuyTran-wv3tzcaptcha for everyone then
@osmantoplica8912
@osmantoplica8912 2 года назад
Last tip could be a very very expensive one. Don't "fix" DDOS by scaling 😄
@OmerMD
@OmerMD Год назад
Can you explain the reasoning for it?
@WACdeG
@WACdeG Год назад
@@OmerMD That could lead to enormous costs.
@madhououinkyoma
@madhououinkyoma Год назад
Yeah, he definitely didn't quite go into it. But I guess the main point there was that scaling can be the needed solution if your service just cannot go down. You can set an upper bound on how high your services will scale. And of course, you should do other things as well and not just rely on scaling.
@viharcontractor1679
@viharcontractor1679 4 года назад
Hey Jeff, This was a real delight to watch! I hope you do more videos like this which are related to general IT, every once in a while. I really love your editing style, Its quick but never misses out on important information!
@g-luu
@g-luu 4 года назад
yesss...... longer videos. Great job as always.
@andrij.demianczuk
@andrij.demianczuk Год назад
This is amazing. Thank you for putting this together. Vulnerabilities are endemic to orgs that rush production. My heart always hurts when I hear folks complaining about IAM roles and policies (regardless of hyper scaler). They’re just so darn important to good cloud hygiene.
@guillemgarcia3630
@guillemgarcia3630 4 года назад
concise and precise, I loved it!
@LukePeters
@LukePeters 2 года назад
Thanks for this! Planning a security review/upgrade for a web application and this video gave me a list of actionable ideas and steps to take.
@paulezekiel-hart733
@paulezekiel-hart733 9 месяцев назад
I can spend hours watching your videos, they are so informative, i love the fact that they are short and swift, it's the best way to keep up with the ever so growing tech trends
@xanthirudha
@xanthirudha 4 года назад
Are you self-taught ? How did you get to this level? run `npm thanks` to see which open source projects are underfunded that you are using
@Fireship
@Fireship 4 года назад
Yep, I would say self-taught or on-the-job learning over the last 10 years. I has not been a quick or easy journey.
@xanthirudha
@xanthirudha 4 года назад
@@Fireship Thanks , you are the only YTr that inspires me to think of becoming a creator. This video is particularly well done, its like nerdwriter for code. I think it's inspiring me to think of how to help open source with security services. So essentially free doesn't mean safe
@henriherrera9744
@henriherrera9744 4 года назад
@@Fireship Yeah tell me about it, i'm on that road right now. New Subscriber. I imagine that 10 years ago it was a lot more difficult. I have the added difficulty of being born in Venezuela though :P
@aleksandarstevanovic5854
@aleksandarstevanovic5854 4 года назад
Kevin Mitnick wrote in his book "Security is an illusion, you will put alarm on a door and feel safe, but what if burglar use window?". Modern frameworks are mostly safe against old methods od exploit unless you overengineer something, but they are not perfect, along the way they made anorher vulnerabilities which we will be talking about in the future
@jerry9548
@jerry9548 2 года назад
I think the most secure why is to source your own Silicon, make your own CPU, create your own OS and write your own programs on it. +1 for Security if the language is unknown and you are the only person alive knowing about it :D
@luvplato
@luvplato Год назад
😂😂😂
@emmanueladelanwa5341
@emmanueladelanwa5341 10 месяцев назад
😅😅😂
@syntaxerorr
@syntaxerorr 4 года назад
lol oh that hangover clip was perfect!
@onibenjo
@onibenjo 4 года назад
I feel like awarding it a million likes
@rishabhsovani9427
@rishabhsovani9427 4 года назад
Loved it please make more videos of secure coding and setting up secure development environment
@thantyarzarhein5459
@thantyarzarhein5459 4 года назад
This channel deserves more subscribers and views
@iamshoaibkhalil
@iamshoaibkhalil 2 года назад
I'm in love with your videos...keep the good work up
@markarca6360
@markarca6360 4 года назад
The principle of least privilege is implemented in Microsoft Windows' UAC (User Account Control), that is included in Windows since Windows Vista. This is also implemented in UNIX and Linux as the sudo (do as superuser) command.
@raihan.nismara
@raihan.nismara 2 года назад
every content you created worth it to watch!
@joshhardy5646
@joshhardy5646 3 года назад
Pro tip: never use API keys as authentication. That’s not their intended purpose. They are inherently unsafe.
@ajalanbrown2200
@ajalanbrown2200 Год назад
As a dev we just create security is never really thought of but this is a huge eye opener
@omaralexandro2928
@omaralexandro2928 4 года назад
Awesome video! Thanks!
@IoTLearner
@IoTLearner 4 года назад
Quality content as always!
@imsarvesh_
@imsarvesh_ 4 года назад
Its treat to watch your videos.
@arsenii9329
@arsenii9329 4 года назад
Awesome video! Thanks
@ivantarnyagin9731
@ivantarnyagin9731 3 года назад
That intro animation was SMOOOTTTHHH
@imsarvesh_
@imsarvesh_ 4 года назад
It’s pleasure to watch your videos.
@yogi5590
@yogi5590 4 года назад
love your videos, keep it up
@blackwolf542
@blackwolf542 3 года назад
It's the predator/prey thing. The prey evolves to better avoid the hunter and survive, the predator evolves to better hunt it's prey and the cycle continues. Being aware of bugs and vulnerabilities and constantly evolving to identify and patch them is the only real way to keep it as secure as possible, it is a constant evolution as hackers are always evolving themselves.
@maximilliantimofte4797
@maximilliantimofte4797 Год назад
problems and solutions EXCELENT
@Faddablack
@Faddablack 4 года назад
Very informative.
@ediancomachio2783
@ediancomachio2783 4 года назад
Best content on RU-vid
@UnknownUser-ud1es
@UnknownUser-ud1es 3 года назад
For those of you interested I would suggest a book: 24 Deadly Sins of Software Security: Programming Flaws and How to Fix Them It really changed how I code my programs and software be it client side or server side.
@loading0004
@loading0004 4 года назад
nice aways waiting for videos from your channel
@matanshtepel1230
@matanshtepel1230 3 года назад
loving ur vids 🤩
@wouterdeen
@wouterdeen Год назад
I would really like an up-to-date video on this, especially with the ongoing cyber warfares and stuff
@CodeWithAndrea
@CodeWithAndrea 4 года назад
Another top notch video! Thanks!
@firaskudsy
@firaskudsy 4 года назад
Yesss .. finally new video
@shivamvora2285
@shivamvora2285 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-nPCfL_fuUk4.html looks like linkedin clone with firebase as well easy explanation with github repo
@tdrkone
@tdrkone Год назад
your website is awesome
@AshishShekar
@AshishShekar 4 года назад
The guy on the thumbnail says 5 risks
@deanvangreunen6457
@deanvangreunen6457 4 года назад
best sponsor intro ever
@valentynkhaman7688
@valentynkhaman7688 4 года назад
Good video!
@svenvancrombrugge9073
@svenvancrombrugge9073 3 года назад
The CIA part came a little short. You do a great job compressing so much knowledge in these short videos. In some cases a shortcut might be falsy though. You're not done with integrity because an intruder can't just manipulate data. You also must know if a manipulation took place in case of an breach otherwise the first point is... pointless.
@uhateulame9092
@uhateulame9092 2 года назад
it's an introduction to the subject, not a course.
@suki5593
@suki5593 4 года назад
👍 Thumbs up for making good videos
@armandodelrio3306
@armandodelrio3306 3 года назад
this is the best channel
@ToeShimmel
@ToeShimmel 4 года назад
Next to using an ORM, using prepared statements against SQL injection should be just as safe, correct?
@zcharyma1465
@zcharyma1465 4 года назад
376 likes 0 hate, you are a legend.
@indiansoftwareengineer4899
@indiansoftwareengineer4899 3 года назад
Laws are becoming very strict you said, Facebook laughing in corner.... LOL... Power..... Thanks for these videos...
@AntiWanted
@AntiWanted 3 года назад
Nice Job
@markopolo2224
@markopolo2224 2 года назад
amazing video
@aravind.a
@aravind.a 4 года назад
Awesome collection 👍
@hariharan-wt6qk
@hariharan-wt6qk 3 года назад
Hai bro, are u form TN
@aravind.a
@aravind.a 3 года назад
@@hariharan-wt6qk Yes, I am
@hariharan-wt6qk
@hariharan-wt6qk 3 года назад
Naanum Tamil Nadu tha anna
@aravind.a
@aravind.a 3 года назад
@@hariharan-wt6qk Ok Thambi..
@hariharan-wt6qk
@hariharan-wt6qk 3 года назад
@@aravind.a Na college first year padekuren Neeinga developer ah anna
@Aditya-wj5gy
@Aditya-wj5gy Год назад
Nice vedio, what about XSRF?
@TheEpicFace007
@TheEpicFace007 4 года назад
Is there any tips for hiding the API key when I use a API on a program I’m sharing with others. I’m on a forum where we share script and I sometime share my scripts. So how can I hide the API key I use? I know obfuscation can’t work as the obfuscation can get constant dumped.
@valikonen
@valikonen 4 года назад
What do you think about NodeJS will have real chances in future to be used on the enterprise applications? And what about Java, it seems to loose popularity year after year. What backend language do you think it's worth to lear? Thanks for you awesome contribution!
@okie9025
@okie9025 4 года назад
NodeJS is already used by corporations like RU-vid, Google, Facebook, Instagram, etc.
@mico3454
@mico3454 10 месяцев назад
Man I wish you were my mentor.
@cotneit
@cotneit 3 года назад
Well, you're right and all, but... Samy IS my hero.
@rockettpc2
@rockettpc2 2 года назад
Hahaha this episode had me rolling! Whoopsies!
@dawid_dahl
@dawid_dahl 3 года назад
Wow, that was nice of AWS! (Long time since I heard something nice about a huge company like that, so thanks. Haha)
@sudolake3345
@sudolake3345 3 года назад
They usually refund those things, not everytime though
@Kaiju3301
@Kaiju3301 3 года назад
The guy who ok’d the refund probably got fired.
@kerodfresenbetgebremedhin1881
@kerodfresenbetgebremedhin1881 3 года назад
Don't antropromorphise companies, they can neither be good or bad.
@MercyFromOverwatch2
@MercyFromOverwatch2 2 года назад
Jeff is my favourite tech RU-vidr
@derickndossy
@derickndossy Год назад
Hmm interesting😮
@1J03B
@1J03B 11 месяцев назад
4:40 might want to mention parameterized queries specifically
@galewallblanco8184
@galewallblanco8184 2 года назад
You sound so much more energetic and young in this video Jeff
@xReTuneSx
@xReTuneSx 4 года назад
That was very Deep. I understood only 20% :D
@shivamvora2285
@shivamvora2285 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-nPCfL_fuUk4.html looks like linkedin clone with firebase as well easy explanation with github repo
@helikopterelidojosa5479
@helikopterelidojosa5479 3 года назад
More please
@user-rc6ly3nn2j
@user-rc6ly3nn2j 2 месяца назад
cool video)
@sahilaujla
@sahilaujla 2 года назад
Yeah Facebook went down for 8 hours a couple months ago. Anyone remember that?
@rikipebrianto560
@rikipebrianto560 4 года назад
i like vulner😍
@ashobiz
@ashobiz 2 года назад
Is there any way to prevent employee from using good old pen and paper to copy the sensitive info? Just asking.
@sudoalex
@sudoalex 2 года назад
Your voice changed. I remember seeing this video when it was released and now RU-vid recommended it again
@AndreiIR000
@AndreiIR000 3 года назад
Senior Security Engineer here. 04:42 ORMs are not a fool-proof solution against SQLi. 2nd degree SQLi can still occur.
@user-lj4lo7cx7m
@user-lj4lo7cx7m Год назад
Andrei IR, Can you please explain me?
@aahmed1259
@aahmed1259 3 года назад
8:59 Can someone do obviously unethical and illegal your file case because this time is a lot of company allowed they’re employees work form home and you don’t know what they do your case or your file ? Because You are requesting family emergency ? Any idea
@B1TCH35K1LL3R
@B1TCH35K1LL3R 4 года назад
Dude the AWS stuff happened to me about 2 years ago. Now that I know you also made that mistake, I feel a lot less miserable haha
@BlazeBubble
@BlazeBubble 4 года назад
I accidentally leaked a Twilio key a few months ago, it cost us $5000 in one day :( But yeah it's good to hear that other people do it, makes me feel a lot less bad about myself.
@B1TCH35K1LL3R
@B1TCH35K1LL3R 4 года назад
@@BlazeBubble It is part of the learning process. and btw amazing gesture from the companies to actually notify you and then forgive you for these kind of mistakes (happened to me at least)
@BlazeBubble
@BlazeBubble 4 года назад
@@B1TCH35K1LL3R Yes thank god I was able to keep the job, they understood it was an accident and even the best of developers do mistakes.
@eshaan7_
@eshaan7_ 4 года назад
I was just learning Dijkstra's algorithm for shortest path in graph and RU-vid recommended me this....that's spooky.
@Fireship
@Fireship 4 года назад
Weird, I never mentioned him by name. The algorithm just knows.
@eshaan7_
@eshaan7_ 4 года назад
Yeah. 😂 Thanks for the amazing videos, always! I absolutely love your content and the quality of images/animations. Much appreciated.
@melvar1309
@melvar1309 2 года назад
I had the exact same thing happen to me with AWS.
@ankitsuda
@ankitsuda 11 месяцев назад
It's not a matter of how, it's a matter of when.
@wilhelmdell4899
@wilhelmdell4899 2 года назад
6:57 that usb animation tho XD
@rrobiow8309
@rrobiow8309 4 года назад
wish I could take the course :(. student life is hard sometimes
@DevAcademyCom
@DevAcademyCom 4 года назад
What is stopping you?
@emanuelfarauanu1760
@emanuelfarauanu1760 4 года назад
@@DevAcademyCom Most likely the cost of the course itself, even with the discount code it's over 400 USD, that's the amount of money equivalent to two months worth of living costs for a student like me.
@DevAcademyCom
@DevAcademyCom 4 года назад
@@emanuelfarauanu1760 Why over 400 USD? With the discount, it should be 350 USD. Did they apply some taxes?
@emanuelfarauanu1760
@emanuelfarauanu1760 4 года назад
@@DevAcademyCom Yes, UK Taxes
@DevAcademyCom
@DevAcademyCom 4 года назад
@@emanuelfarauanu1760 If you provide a valid VAT ID, the tax will not be added.
@bankoftrustnwobot3218
@bankoftrustnwobot3218 4 года назад
#1 NPM
@AliciaGuitar
@AliciaGuitar 3 года назад
Where i used to work, you were automatically fired if caught with a flash drive.
@JC-jz6rx
@JC-jz6rx 2 года назад
Oh hey Albert Gonzales went to one of my schools
@guydude82
@guydude82 2 года назад
At 5:12 ish, can someone explain to me why setting the API key as an environment variable is safer than hardcoding it? Wouldn't the environment variable also get published on GitHub?
@hamzajps
@hamzajps 2 года назад
env files are usually put in .gitignore file, hence they are not pushed to remote origin like github. They just remains on your local machine
@JarenKurkoff
@JarenKurkoff 2 года назад
Well, unless you specifically write a script to dump all of your environment variables *before* pushing to a Git repository, then its because environment variables are stored within your *shell*, not your project, so something like Bash, sh, ksh, csh, and many other UNIX shells.
@madhououinkyoma
@madhououinkyoma Год назад
Environment variables stay on your local computer/server. There is no "file" to be published on Github so that's usually a safe place for information like this.
@grenadedFalafel
@grenadedFalafel 4 года назад
What browser is that?
@logiconabstractions6596
@logiconabstractions6596 Год назад
About lest priviledge: A few years ago, a bank in Canada (Desjardins) had a huge data leak of 100s of 1000s of their customers, some guy that tried to pawn of all that data into the dark web. Turns out the guy was from marketing, pissed about his job and for some reason had access to whole bunch of things he really didn't need to if all he needed to do in life was like know what % of customers both have a mortgage and car loan with them.
@b4ttlemast0r
@b4ttlemast0r Год назад
if an app requires an api key to communicate with some api, how do you even ship that app without risking to expose the api key?
@kamikaze9822
@kamikaze9822 3 года назад
Samy stored xss in my mind hahah
@AbdulSamadDev
@AbdulSamadDev 3 года назад
And now the "The SolarWinds hack" 🤯
@sagnikpradhan3594
@sagnikpradhan3594 4 года назад
DDOS Attack looks very interesting, how do they prevent it if they dont have the compute power?
@NoorquackerInd
@NoorquackerInd 4 года назад
Google Cloud Armor and Cloudflare both serve as good protection against DDoS attacks, but also making your own web applications detect DDoS attacks and automatically deny is a (not that) decent way of protection as it'll at least reduce time spent processing requests since they're just rejected. Sure, it's not a 100% foolproof method, but you could cut the cost of the attack way down with this
@kas-lw7xz
@kas-lw7xz 2 года назад
@@NoorquackerInd at the moment it hits the software layer, it's already too late
@notanonymous3976
@notanonymous3976 Год назад
@@kas-lw7xz what does this mean?
@pulga961
@pulga961 4 года назад
Niceeeee
@AceHardy
@AceHardy 4 года назад
📙💯
@kamranbashir4842
@kamranbashir4842 4 года назад
01:20 relatable
@ChaimMosheStern
@ChaimMosheStern 4 года назад
Enterprise Security course, fine but no contact email or form for some basic questions?
@DevAcademyCom
@DevAcademyCom 4 года назад
Hi, you can email contact@angular-academy.com or ask here. What do you want to know?
@uzair004
@uzair004 4 года назад
Hacker is also watching this video, he know you now :D
@ishdx9374
@ishdx9374 3 года назад
Existence is vital part of human
@caerulemusic
@caerulemusic Год назад
you know shit's getting real when fireship stops the music
@CubicsLetsPlays
@CubicsLetsPlays 2 года назад
5:17 wheres this clip from?
Далее
Node.js Ultimate Beginner’s Guide in 7 Easy Steps
16:20
KO’P GAP ESHAKKA YUK!😂
00:57
Просмотров 759 тыс.
SEO for Developers in 100 Seconds
11:52
Просмотров 592 тыс.
Node.js: The Documentary | An origin story
1:02:49
Просмотров 502 тыс.
100+ Computer Science Concepts Explained
13:08
Просмотров 2,3 млн
Problem-Solving for Developers - A Beginner's Guide
10:44
how to never write bug
7:20
Просмотров 825 тыс.
Simple Penetration Testing Tutorial for Beginners!
15:25
ПК с Авито за 3000р
0:58
Просмотров 1,5 млн
What’s your charging level??
0:14
Просмотров 7 млн