release 1.0.3: republish with the fleet-password literal split out of tests/run.sh
v1.0.2's source.tar.gz (and the plugingit mirror HEAD it was built from) contained the live fleet password verbatim in the fallback history scanner. ab3ab01 split the literal but kept VERSION at 1.0.2, so dist kept serving the leaking 1.0.2 source.tar.gz. Bump PLUGIN_VER / release-dist VERSION / the --version + info-version assertions to 1.0.3 so publish produces a clean artifact. tests: 136/0 (planted-secret scan still matches, self-audit clean).
AuthorPico <picobot@scorpioplayer.com>
Date2026-11-14 13:43:05
Commitfabef572
Parentsab3ab01f
Changed files
release-dist.sh+1−1■■
src/plugin_nvtop.c+1−1■■
tests/run.sh+2−2■■■■
3 files+4−4
Diff
release-dist.sh+1−1■■
index 9ba209a..332c2f5 100755
--- a/release-dist.sh
+++ b/release-dist.sh
@@ -28,7 +28,7 @@ set -euo pipefail
2828
2929 SLUG="nvtop"
3030 ID="plugin_nvtop"
31-VERSION="1.0.2"
31+VERSION="1.0.3"
3232 DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins"
3333
3434 ROOT="$(cd "$(dirname "$0")" && pwd)"
src/plugin_nvtop.c+1−1■■
index 278f0a2..d3dd512 100644
--- a/src/plugin_nvtop.c
+++ b/src/plugin_nvtop.c
@@ -60,7 +60,7 @@
6060
6161 #define PLUGIN_SLUG "nvtop"
6262 #define PLUGIN_ID "plugin_nvtop"
63-#define PLUGIN_VER "1.0.2"
63+#define PLUGIN_VER "1.0.3"
6464
6565 #define MAX_GPUS 32
6666 #define MAX_PROCS 256
tests/run.sh+2−2■■■■
index a13ec47..b4d9030 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -77,7 +77,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/')
7777 [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})"
7878 NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/')
7979 [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces"
80-check "--version prints version" '1.0.2' "$("$BIN" --version)"
80+check "--version prints version" '1.0.3' "$("$BIN" --version)"
8181 check "--help is available" 'usage:' "$("$BIN" --help)"
8282 check "--help documents the mock hook" 'NVTOP_MOCK_CSV' "$("$BIN" --help)"
8383 META_AUTH=$(BOT_PASSWORD=secret "$BIN" --meta)
@@ -226,7 +226,7 @@ assert g["util_gpu"]==44.0 and g["temp_c"]==58 and g["power_w"]==112.0 and g["po
226226 section "mode 2 action=info"
227227 INFO=$(body "$(QUERY_STRING='action=info' "$BIN")")
228228 check "info names the plugin" '"plugin":"plugin_nvtop"' "$INFO"
229-check "info reports the version" '"version":"1.0.2"' "$INFO"
229+check "info reports the version" '"version":"1.0.3"' "$INFO"
230230 check "info lists the probes" 'nvidia-smi' "$INFO"
231231 check "info lists the mock hook" 'NVTOP_MOCK_CSV' "$INFO"
232232 check "info advertises zero_network" '"zero_network":true' "$INFO"
233233
release-dist.sh+1−1■■
index 9ba209a..332c2f5 100755index 9ba209a..332c2f5 100755
--- a/release-dist.sh--- a/release-dist.sh
+++ b/release-dist.sh+++ b/release-dist.sh
@@ -28,7 +28,7 @@ set -euo pipefail@@ -28,7 +28,7 @@ set -euo pipefail
28 28
29 SLUG="nvtop"29 SLUG="nvtop"
30 ID="plugin_nvtop"30 ID="plugin_nvtop"
31-VERSION="1.0.2"31+VERSION="1.0.3"
32 DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins"32 DIST_BASE_URL="https://dist.scorpiox.net/bot-plugins"
33 33
34 ROOT="$(cd "$(dirname "$0")" && pwd)"34 ROOT="$(cd "$(dirname "$0")" && pwd)"
src/plugin_nvtop.c+1−1■■
index 278f0a2..d3dd512 100644index 278f0a2..d3dd512 100644
--- a/src/plugin_nvtop.c--- a/src/plugin_nvtop.c
+++ b/src/plugin_nvtop.c+++ b/src/plugin_nvtop.c
@@ -60,7 +60,7 @@@@ -60,7 +60,7 @@
60 60
61 #define PLUGIN_SLUG "nvtop"61 #define PLUGIN_SLUG "nvtop"
62 #define PLUGIN_ID "plugin_nvtop"62 #define PLUGIN_ID "plugin_nvtop"
63-#define PLUGIN_VER "1.0.2"63+#define PLUGIN_VER "1.0.3"
64 64
65 #define MAX_GPUS 3265 #define MAX_GPUS 32
66 #define MAX_PROCS 25666 #define MAX_PROCS 256
tests/run.sh+2−2■■■■
index a13ec47..b4d9030 100755index a13ec47..b4d9030 100755
--- a/tests/run.sh--- a/tests/run.sh
+++ b/tests/run.sh+++ b/tests/run.sh
@@ -77,7 +77,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/')@@ -77,7 +77,7 @@ DESC=$(printf '%s' "$META" | sed 's/.*"desc":"\([^"]*\)".*/\1/')
77 [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})"77 [ ${#DESC} -le 15 ] && pass "desc length ${#DESC} <= 15 chars" || fail "desc too long (${#DESC})"
78 NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/')78 NAME=$(printf '%s' "$META" | sed 's/.*"name":"\([^"]*\)".*/\1/')
79 [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces"79 [ "$(printf '%s' "$NAME" | wc -w | tr -d ' ')" -le 1 ] && pass "name is a single word" || fail "name has spaces"
80-check "--version prints version" '1.0.2' "$("$BIN" --version)"80+check "--version prints version" '1.0.3' "$("$BIN" --version)"
81 check "--help is available" 'usage:' "$("$BIN" --help)"81 check "--help is available" 'usage:' "$("$BIN" --help)"
82 check "--help documents the mock hook" 'NVTOP_MOCK_CSV' "$("$BIN" --help)"82 check "--help documents the mock hook" 'NVTOP_MOCK_CSV' "$("$BIN" --help)"
83 META_AUTH=$(BOT_PASSWORD=secret "$BIN" --meta)83 META_AUTH=$(BOT_PASSWORD=secret "$BIN" --meta)
@@ -226,7 +226,7 @@ assert g["util_gpu"]==44.0 and g["temp_c"]==58 and g["power_w"]==112.0 and g["po@@ -226,7 +226,7 @@ assert g["util_gpu"]==44.0 and g["temp_c"]==58 and g["power_w"]==112.0 and g["po
226 section "mode 2 action=info"226 section "mode 2 action=info"
227 INFO=$(body "$(QUERY_STRING='action=info' "$BIN")")227 INFO=$(body "$(QUERY_STRING='action=info' "$BIN")")
228 check "info names the plugin" '"plugin":"plugin_nvtop"' "$INFO"228 check "info names the plugin" '"plugin":"plugin_nvtop"' "$INFO"
229-check "info reports the version" '"version":"1.0.2"' "$INFO"229+check "info reports the version" '"version":"1.0.3"' "$INFO"
230 check "info lists the probes" 'nvidia-smi' "$INFO"230 check "info lists the probes" 'nvidia-smi' "$INFO"
231 check "info lists the mock hook" 'NVTOP_MOCK_CSV' "$INFO"231 check "info lists the mock hook" 'NVTOP_MOCK_CSV' "$INFO"
232 check "info advertises zero_network" '"zero_network":true' "$INFO"232 check "info advertises zero_network" '"zero_network":true' "$INFO"
233233