ori-poc 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1 @@
1
+ echo "console.log('Testing RCE in npm package');" > index.js
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "ori-poc",
3
+ "version": "1.0.2",
4
+ "description": "A package for testing POC",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "echo '=== Running preinstall script ==='; echo 'code injection possible by Ori Gabriel'; node -v",
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "Ori Gabriel",
11
+ "license": "ISC"
12
+ }