node day - node.js security in the enterprise

34
Node.js Security in the Enterprise

Upload: evilpacket

Post on 28-Jan-2015

105 views

Category:

Technology


0 download

DESCRIPTION

Adam Baldwin talks about Node.js security in the enterprise for Node Day 2014 hosted at PayPal

TRANSCRIPT

Page 1: Node Day - Node.js Security in the Enterprise

Node.js Security in the Enterprise

Page 2: Node Day - Node.js Security in the Enterprise

Hi, I’m Adam

Page 3: Node Day - Node.js Security in the Enterprise
Page 4: Node Day - Node.js Security in the Enterprise
Page 5: Node Day - Node.js Security in the Enterprise

Node Security Project

Page 6: Node Day - Node.js Security in the Enterprise

@adam_baldwin @liftsecurity @nodesecurity

@evilpacket

Page 7: Node Day - Node.js Security in the Enterprise

Node.js Security in the Enterprise

Page 8: Node Day - Node.js Security in the Enterprise

Enterprise Security in 3 minProtect what makes you money

Availability is security

Measure & Iterate

It's not about the vulnerability

You will screw it up anyway

Page 9: Node Day - Node.js Security in the Enterprise

What this talk is aboutBeing informed & Prepared !The node security landscape !It's all node's fault

Page 10: Node Day - Node.js Security in the Enterprise

Communication

Page 11: Node Day - Node.js Security in the Enterprise

Understand what the enterprise cares about, then do better.

Page 12: Node Day - Node.js Security in the Enterprise

The enterprise should understand you and do better.

Page 13: Node Day - Node.js Security in the Enterprise

Gathering Intel

Page 14: Node Day - Node.js Security in the Enterprise

nodejs-sec announcements

https://groups.google.com/forum/#!forum/nodejs-sec

Page 15: Node Day - Node.js Security in the Enterprise

Node Security Project

Page 16: Node Day - Node.js Security in the Enterprise

Advisories

Page 17: Node Day - Node.js Security in the Enterprise

Understanding the node.js security landscape

Page 18: Node Day - Node.js Security in the Enterprise
Page 19: Node Day - Node.js Security in the Enterprise

The Enterprise is responsible for what you require()

Page 20: Node Day - Node.js Security in the Enterprise

Technical Controls

Page 21: Node Day - Node.js Security in the Enterprise

Lintingnpm install precommit-hook

Page 22: Node Day - Node.js Security in the Enterprise

Test CasesYou do this right?

Page 23: Node Day - Node.js Security in the Enterprise

npm shrinkwrap

/validate/shrinkwrap

/validate/:module_name/:version

POST

GET

Page 24: Node Day - Node.js Security in the Enterprise

npm shrinkwrap example

curl -X POST https://nodesecurity.io/validate/shrinkwrap -d @npm-shrinkwrap.json -H "content-type: application/json"

Page 25: Node Day - Node.js Security in the Enterprise

retire.js

http://bekk.github.io/retire.js/

Scan a web app or node app for use of vulnerable JavaScript libraries and/or node modules.

Page 26: Node Day - Node.js Security in the Enterprise

What is the greatest vulnerability that you have in the enterprise?

Page 27: Node Day - Node.js Security in the Enterprise

OWASP Top 10?

Is it one of the ....

Page 28: Node Day - Node.js Security in the Enterprise

Every Developer on your team.

Page 29: Node Day - Node.js Security in the Enterprise

Peer Review

Page 30: Node Day - Node.js Security in the Enterprise

Peer Review

Page 31: Node Day - Node.js Security in the Enterprise

Peer Review

Page 32: Node Day - Node.js Security in the Enterprise

Peer Review

Page 33: Node Day - Node.js Security in the Enterprise

Blame Node. It's just how we do things.™

Page 34: Node Day - Node.js Security in the Enterprise

</PRESENTATION>@adam_baldwin | @LiftSecurity