ori-gabriel-test2 7.7.9
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ori-gabriel-test2 might be problematic. Click here for more details.
- package/index.js +1 -0
- 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-gabriel-test2",
|
3
|
+
"version": "7.7.9",
|
4
|
+
"description": "A package for testing RCE with whoami",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"preinstall": "node -e \"require('child_process').exec('whoami', (err, stdout, stderr) => { if (err) { console.error(err); } else { console.log(stdout); } })\"",
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
9
|
+
},
|
10
|
+
"author": "Ori Gabriel",
|
11
|
+
"license": "ISC"
|
12
|
+
}
|