Created
December 21, 2018 02:09
-
-
Save Metnew/bdd0495da2ac564cb051483359b0e805 to your computer and use it in GitHub Desktop.
Experiment with permissions when installing malicious packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "saferoot", | |
| "version": "0.0.1", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "install": "sudo id", | |
| "pre--install": "#sudo npm i --unsafe-perm" | |
| }, | |
| "author": "", | |
| "license": "MIT", | |
| "dependencies": { | |
| "react": "^16.6.1", | |
| "react-dom": "^16.6.1" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment