Michael Kühnel
Frontend Developer working for Micromata 👨🏼💻
$ mkdir security-demo
$ cd security-demo
$ npm init --force
Hat alte Versionen mit Vulnerabilities
Projekt initialisieren:
$ npm install --save angular@1.3.0
$ npm install --save i18next@3.0.0
$ npm install --save jquery@1.5.1
$ npm install --save pouchdb@6.0.0
Dependencies installieren:
$ npm install -g david
$ npm install -g snyk
$ npm install -g retire
$ npm install -g nsp
Hat alte Versionen mit Vulnerabilities
CLI Apps global installieren:
$ snyk test
$ retire
$ david
$ nsp check
Dependency checker ausführe:
{
"name": "security-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"angular": "^1.3.0",
"i18next": "^3.0.0",
"jquery": "^1.5.1",
"pouchdb": "^6.0.0"
}
}
Hat alte Versionen mit Vulnerabilities
By Michael Kühnel