際際滷

際際滷Share a Scribd company logo
The State of Open Source Security
Languages, Containers &
Open Source Maintainers
Liran Tal, Developer Advocate, Snyk
Node.js Security WG
Liran Tal
OWASP NodeGoat
author of
- Essential Node.js Security
- OReillys Serverless Security
Developer Advocate
@liran_tal
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
How much do we really know about our
open-source dependencies ?
@liran_tal
source: https://snyk.io/blog/how-much-do-we-really-know-about-how-packages-behave-on-the-npm-registry
*abandoned packages
61%
@liran_tal
source: https://snyk.io/blog/a-post-mortem-of-the-malicious-event-stream-backdoor
@liran_tal
source: https://snyk.io/blog/how-much-do-we-really-know-about-how-packages-behave-on-the-npm-registry
@liran_tal
Your App
@liran_tal
Your App
Your Code
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
Jan 2015
rimrafall
Jan 2017
crossenv
May 2018
getcookies
Jul 2018
eslint-scope
Nov 2018
event-stream
@liran_tal
May 2018
getcookies
Parse HTTP headers for cookie data
@liran_tal
May 2018
getcookies
Parse HTTP headers for cookie data
or does it...?
@liran_tal
@liran_tal
@liran_tal
getcookies
express-cookies
http-fetch-cookies
@liran_tal
getcookies
express-cookies
http-fetch-cookies
mailparser 440,000 downloads/month
@liran_tal
source: https://www.npmjs.com/advisories
@liran_tal
source: https://github.com/lirantal/npq/
@liran_tal
marked
ReDoS security vulnerability
2,224,691 weekly downloads
Fixed in 0.7.0 (July 2019)
4,325 dependent packages
source: https://snyk.io/vuln/npm:marked
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
open-source maintainers
security posture
@liran_tal
GitHub most popular integration:
Security
https://github.blog/2019-07-24-lessons-from-snyk-make-smarter-decisions-about-your-applications-security
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
are open source maintainers
security conscious ?
@liran_tal
State of 2FA in the npm registry
@liran_tal
6.89%
of all maintainers
State of 2FA in the npm registry
@liran_tal
0.6%
of all packages
State of 2FA in the npm registry
@liran_tal
State of 2FA in ecosystem
@liran_tal
0%
of all maintainers
State of 2FA in ecosystem
*as to Oct 1st 2019
@liran_tal
State of 2FA in ecosystem
@liran_tal
State of 2FA in ecosystem
@liran_tal
State of 2FA in ecosystem
@liran_tal
State of 2FA in ecosystem
@liran_tal
State of 2FA in ecosystem
@liran_tal
State of 2FA in ecosystem
@liran_tal
The security blindspot of
lock鍖le attack vectors
@liran_tal
source: https://www.npmjs.com/package/lock鍖le-lint
@liran_tal
source: https://www.npmjs.com/package/lock鍖le-lint
@liran_tal
source: https://www.npmjs.com/package/lock鍖le-lint
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
Understanding the impact of
security 鍖xes
@liran_tal
@liran_tal
@liran_tal
Best Practices
for Open Source Maintainers
@liran_tal
https://snyk.io/blog/ten-npm-security-best-practices
@liran_tal
Open-source dependencies impact
container security too
@liran_tal
1 billion weekly d/l
of container images
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
44%
of docker image vulnerabilities can
be 鍖xed with newer base images
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
@liran_tal
20%
of docker image vulnerabilities can
be 鍖xed just by rebuilding them
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
source: https://snyk.io/opensourcesecurity-2019
@liran_tal
Best Practices
for Docker Image Security
@liran_tal
https://snyk.io/blog/10-docker-image-security-best-practices
@liran_tal
Attackers are targeting open source
one vulnerability = many victims
@liran_tal
What if security was developer-friendly
easier
actionable
@liran_tal
Please Enjoy Responsibly
Open Source is Awesome
@liran_tal

More Related Content

The State of Open Source Security - Liran Tal - 2019 NodeJS+Interactive Montreal