Advertisement

JSConfBR - Securing Node.js App, by the community and for the community

Research Engineer at Protocol Labs
Jul. 20, 2014
Advertisement

More Related Content

Advertisement
Advertisement

JSConfBR - Securing Node.js App, by the community and for the community

  1. Securing Node.js apps, by the community and for the community
  2. Hi, I’m David
  3. Hi, I’m David @ diasdavid
  4. Hi, I’m David @diasdavid
  5. Direct Flight Image
  6. Node Security Project
  7. Security before node
  8. Input Validation Output Validation Error Handling Authentication and Authorization Session Management Secure Communications Secure Resource Access Segregation of privileges Secure Storage
  9. You are responsible for what you require()
  10. What has changed?
  11. What has changed? you
  12. http://nodeschool.io
  13. Node Security Project
  14. npm install all the things
  15. npm install fs
  16. npm install socketio
  17. ~/analyzer$ node print.js ./output/output.json buffer: 604 child_process: 2867 dgram: 836 dns: 674 fs: 15036 http: 12084 https: 2819 os: 1311 readline: 909 string_decoder: 65 timers: 230 tty: 335 vm: 354
  18. 404
  19. New Process
  20. Resources that you can use today
  21. https://nodesecurity.io/resources
  22. Advisories
  23. npm shrinkwrap /validate/shrinkwrap /validate/:module_name/:version POST GET
  24. npm shrinkwrap example curl -X POST https://nodesecurity.io/ validate/shrinkwrap -d @npm- shrinkwrap.json -H "content-type: application/json"
  25. nsp cli $ npm i nsp -g $ npm shrinkwrap $ nsp shrinkwrap
  26. node goat https://github.com/owasp/nodegoat
  27. Thank you! @daviddias | @LiftSecurity | @nodeSecurity
Advertisement