clustermax 0.3.1.dev2026112595__tar.gz → 0.3.1.dev2026112797__tar.gz

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.
Files changed (95) hide show
  1. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/PKG-INFO +42 -10
  2. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/README.md +41 -9
  3. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/clustermax.egg-info/PKG-INFO +42 -10
  4. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/clustermax.egg-info/SOURCES.txt +2 -3
  5. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/audit_cli.py +34 -18
  6. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/audit_profiles.py +2 -0
  7. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/audit_report.py +88 -4
  8. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/audit_runner.py +1 -4
  9. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/cli.py +12 -11
  10. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/criteria_links.py +5 -0
  11. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/host_role.py +12 -13
  12. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/minimum_links.py +4 -0
  13. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/minimum_refresh.py +388 -133
  14. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/minimum_sync.py +2 -2
  15. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/progress.py +1 -20
  16. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/audit-common.sh +224 -18
  17. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/audit_findings.py +321 -40
  18. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/_fanout.py +8 -20
  19. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/fabric/virtio-net-check.py +480 -38
  20. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/gpu/vboost.py +80 -16
  21. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/platform_config.py +63 -3
  22. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/system/gpu_runtime_exposure.py +41 -10
  23. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/system/hbm_memory_exposure.py +58 -30
  24. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/system/hugepages.py +16 -9
  25. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/system/k8s_scheduling.py +23 -3
  26. clustermax-0.3.1.dev2026112797/cmax/scripts/1-audit/checks/system/kubernetes_nodes_proxy.py +229 -0
  27. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/system/storage_config.py +56 -19
  28. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/cluster-audit-k8s.sh +30 -8
  29. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/cluster-audit-slurm.sh +111 -4
  30. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/cluster-audit-standalone.sh +27 -1
  31. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/container-check.sh +28 -1
  32. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/criteria-checks.json +173 -1
  33. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/host-check.sh +78 -30
  34. clustermax-0.3.1.dev2026112797/cmax/scripts/1-audit/host_fleet.py +363 -0
  35. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/kvm_svm.py +7 -3
  36. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/merge_audit.py +1 -1
  37. clustermax-0.3.1.dev2026112797/cmax/scripts/1-audit/minimum-versions.json +71649 -0
  38. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/minimum_versions.py +2 -2
  39. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/monitoring-k8s.sh +75 -4
  40. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/pwnescape-host-facts.sh +82 -51
  41. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/pwnescape.py +71 -8
  42. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/run_legacy_audit.py +13 -9
  43. clustermax-0.3.1.dev2026112797/cmax/scripts/1-audit/sctp_sendall.py +210 -0
  44. clustermax-0.3.1.dev2026112595/cmax/scripts/1-audit/cluster-audit-slurm-security.sh → clustermax-0.3.1.dev2026112797/cmax/scripts/1-audit/security-fleet.sh +153 -473
  45. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/security_fleet.py +4 -3
  46. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/security_version_audit.py +500 -108
  47. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/security.py +207 -10
  48. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/target_selection.py +14 -6
  49. clustermax-0.3.1.dev2026112595/cmax/scripts/1-audit/checks/system/kubernetes_nodes_proxy.py +0 -238
  50. clustermax-0.3.1.dev2026112595/cmax/scripts/1-audit/cluster-audit-k8s-security.sh +0 -8
  51. clustermax-0.3.1.dev2026112595/cmax/scripts/1-audit/cluster-audit-standalone-security.sh +0 -8
  52. clustermax-0.3.1.dev2026112595/cmax/scripts/1-audit/host_fleet.py +0 -281
  53. clustermax-0.3.1.dev2026112595/cmax/scripts/1-audit/minimum-versions.json +0 -24323
  54. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/LICENSE +0 -0
  55. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/clustermax.egg-info/dependency_links.txt +0 -0
  56. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/clustermax.egg-info/entry_points.txt +0 -0
  57. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/clustermax.egg-info/requires.txt +0 -0
  58. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/clustermax.egg-info/top_level.txt +0 -0
  59. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/__init__.py +0 -0
  60. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/_version.py +0 -0
  61. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/audit_review.py +0 -0
  62. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/banner.py +0 -0
  63. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/cmax.yaml +0 -0
  64. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/logo.py +0 -0
  65. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/obs_check.py +0 -0
  66. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/obs_discovery.py +0 -0
  67. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/report_style.py +0 -0
  68. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/runtime_paths.py +0 -0
  69. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/bad_epoll.py +0 -0
  70. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/fabric/nccl-ib-qps-check.py +0 -0
  71. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/fabric/nccl-topology-file-check.py +0 -0
  72. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/fabric/nic-topology-check.py +0 -0
  73. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/fabric/vf-interface-exposure.py +0 -0
  74. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/system/arm-smmu-virtualization-check.py +0 -0
  75. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/system/ingress_nginx_cve_2025_1974.py +0 -0
  76. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/system/tenant_pod_defaults.py +0 -0
  77. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/checks/system/vm-iommu-check.py +0 -0
  78. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/gpu_profiles.py +0 -0
  79. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/k8s-control.sh +0 -0
  80. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/k8s_runtime_software.py +0 -0
  81. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/kubernetes_quantities.py +0 -0
  82. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/plan_audit.py +0 -0
  83. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/run.sh +0 -0
  84. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/run_checks.py +0 -0
  85. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/ubuntu_kernel_cves.py +0 -0
  86. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/scripts/1-audit/validate_audit.py +0 -0
  87. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/cmax/yaml_support.py +0 -0
  88. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/pyproject.toml +0 -0
  89. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/setup.cfg +0 -0
  90. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/setup.py +0 -0
  91. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/tests/test_host_isolation.py +0 -0
  92. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/tests/test_minimum_pages.py +0 -0
  93. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/tests/test_nightly_version.py +0 -0
  94. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/tests/test_select_tests.py +0 -0
  95. {clustermax-0.3.1.dev2026112595 → clustermax-0.3.1.dev2026112797}/tests/test_stable_release.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clustermax
3
- Version: 0.3.1.dev2026112595
3
+ Version: 0.3.1.dev2026112797
4
4
  Summary: ClusterMAX GPU cluster audit and security CLI
5
5
  Author: SemiAnalysis
6
6
  Maintainer: SemiAnalysis
@@ -78,7 +78,7 @@ The [ClusterMAX website](https://clustermax.semianalysis.com/) explains the rati
78
78
 
79
79
  ## Run a security audit
80
80
 
81
- The current [minimum-version table](https://www.clustermax.ai/minimum-versions) lists the software and firmware versions used for grading, with vendor advisories behind each value. Its [machine-readable form](https://semianalysisai.github.io/ClusterMAX/minimum-versions.json) is the table `cmax audit security` fetches on startup (skip with `--no-fetch-minimums`). The `minimum-versions-publish` workflow deploys that one file to the GitHub Pages site of this repository. Its `refreshed` stamp moves every day after a successful refresh, and its `changed` stamp moves only when a minimum value changes. The command line keeps the last fetched table in `~/.cache/clustermax/`, so an offline run grades against that copy instead of the older table inside the package. When the fetch fails and the table in use was last refreshed more than 7 days ago, the audit gives a warning.
81
+ The current [minimum-version table](https://www.clustermax.ai/minimum-versions) lists the software and firmware versions used for grading, with vendor advisories behind each value. Its [machine-readable form](https://semianalysisai.github.io/ClusterMAX/minimum-versions.json) is the table that every `cmax audit` run fetches on startup, for the full audit and for each category (skip with `--no-fetch-minimums`). The `minimum-versions-publish` workflow deploys that one file to the GitHub Pages site of this repository. Its `refreshed` stamp moves every day after a successful refresh, and its `changed` stamp moves only when a minimum value changes. The command line keeps the last fetched table in `~/.cache/clustermax/`, so an offline run grades against that copy instead of the older table inside the package. When the fetch fails and the table in use was last refreshed more than 7 days ago, the audit gives a warning.
82
82
 
83
83
  The read-only Bad Epoll check, `security.badEpoll.status`, checks the running
84
84
  kernel against [CVE-2026-46242](https://ubuntu.com/security/CVE-2026-46242).
@@ -197,6 +197,15 @@ The following results have explicit assessment scopes:
197
197
  Later trains can pass for the mapped ConnectX-8 and BlueField-3 firmware
198
198
  families. Older LTS floors remain separate. Unknown products do not inherit
199
199
  that range merely because their version is higher.
200
+ - **containerd:** The check grades the upstream release number of containerd
201
+ on each GPU host. On Kubernetes, the kubelet report
202
+ (`containerRuntimeVersion`) is the evidence when the host has no containerd
203
+ binary in its `PATH`, as on K3s and RKE2. A release must meet the minimum of
204
+ its branch and must be outside every advisory range. Thus a branch that
205
+ receives no more fixes fails, and the finding names the nearest fixed release
206
+ on a maintained branch. A distribution package that has a backported fix
207
+ under an older release number can fail. Provider evidence is then necessary.
208
+ A host without containerd is not applicable.
200
209
  - **Virtio-Net:** Verified current NIC mode passes the current-exposure check.
201
210
  Stored firmware remains unassessed when unreadable. Recheck it before enabling
202
211
  DPU mode. A NIC-mode sample cannot clear missing or mixed fleet evidence.
@@ -252,31 +261,50 @@ audit_profile:
252
261
  - audit.out
253
262
  - audit.values.json
254
263
  checks:
264
+ - audit.out
265
+ - audit.values.json
266
+ - securityVersions.amdDriver.status
255
267
  - securityVersions.nvidiaDriver.status
256
268
  - securityVersions.nvidiaContainerToolkit.status
257
269
  - securityVersions.cudaToolkit.status
258
270
  - securityVersions.runc.status
271
+ - securityVersions.containerd.status
259
272
  - securityVersions.docker.status
260
273
  - securityVersions.connectxFirmware.status
261
274
  - securityVersions.dcgm.status
262
275
  - securityVersions.dcgmExporter.status
276
+ - securityVersions.snap4Container.status
263
277
  - securityVersions.virtioNetBluefield.status
264
278
  - securityVersions.virtioNetBluefield.exposure
265
279
  - securityVersions.dpuHostIsolation.status
266
280
  - security.januscape.status
267
281
  - security.kvmSvm.status
268
282
  - security.guestKernel.newerInstalled
283
+ - security.ubuntuNobleKernelMinimum.status
284
+ - security.guestKernel.ubuntuCveStatus
269
285
  - security.fragnesia.status
286
+ - security.badEpoll.status
287
+ - security.sctpSendall.status
288
+ - security.pwnescape.status
289
+ - qemu-virtio-serial
290
+ - vmscape
291
+ - observability-isolation
270
292
  - bmc-ipmi
293
+ - kubernetes-nodes-proxy
294
+ - ingress-nginx-cve-2025-1974
271
295
  - ufm-profile
272
296
  - pcie-passthrough
273
297
  - nvlink-boundary
298
+ - mig-side-channel
299
+ - gpu-ecc-rowhammer
300
+ - nvidia-cdi-hook-monitoring
301
+ - ray-dashboard-exposure
302
+ - aistore
274
303
  ```
275
304
 
276
305
  The resolved plan enables only `audit.audit`. It uses the standard artifact
277
- files, progress wrapper, and report formatter. On Slurm, the security profile
278
- uses a focused collector that runs the worker security inventory, container
279
- version inventory, and backend fabric checks that its report needs.
306
+ files, progress wrapper, and report formatter. It runs the same collector as
307
+ `cmax audit`. The security profile only filters the report.
280
308
 
281
309
  Every live audit reports its target before it collects data. An interactive
282
310
  run requires confirmation. The default answer cancels the audit with exit code
@@ -324,9 +352,9 @@ Run Slurm audits from a login node and Kubernetes audits from a machine with `ku
324
352
 
325
353
  The mismatch menu defaults to cancel. Select `c` and then confirm with `y` to continue on this host. Select `r` to review sanitized detection details and the [public issue form](https://github.com/SemiAnalysisAI/ClusterMAX/issues/new). The CLI does not upload anything. Review the preview before sharing it, and do not attach credentials, cluster names, hostnames, or raw logs.
326
354
 
327
- `--yes` or `--allow-cluster-node` skips the mismatch menu and runs the selected target on this host. Without a terminal, a mismatched run stops unless one of them is present.
355
+ Three options skip the mismatch menu. Each one prints the warning and runs on this host: a target flag such as `--standalone` or `--slurm`, `--run-here` (which also covers an auto-detected target), and `--yes` (which also accepts every other confirmation). Without a terminal, a mismatched run stops unless one of them is present. `--allow-cluster-node` is the old name of `--run-here` and still works.
328
356
 
329
- For Slurm on Kubernetes, including Slinky, the CLI shows the Slurm role separately from the runtime context. When auto-detection finds both interfaces reachable, it asks which interface to use. `--yes` keeps the auto-detected interface, and `--slurm` or `--k8s` selects one. Without a terminal, the run stops unless one of these is present. An explicit interface skips this choice, but a Slurm run from a compute node still requires `--yes`, `--allow-cluster-node`, or interactive confirmation.
357
+ For Slurm on Kubernetes, including Slinky, the CLI shows the Slurm role separately from the runtime context. When auto-detection finds both interfaces reachable, it asks which interface to use. `--yes` keeps the auto-detected interface, and `--slurm` or `--k8s` selects one. Without a terminal, the run stops unless one of these is present. An explicit interface skips this choice and also answers the host role check.
330
358
 
331
359
  The regression tests use synthetic signals to cover cancellation, reporting, overrides, mixed interfaces, and failed access checks. They do not establish live cluster qualification.
332
360
 
@@ -434,10 +462,14 @@ in-band BMC. Verify that tenants cannot schedule privileged pods or mount host
434
462
  IPMI devices. On Slurm and standalone hosts the probe runs as the tenant user,
435
463
  so an exposed BMC stays CRITICAL.
436
464
 
437
- The focused security audit (`cmax audit security`) grades host-level minimums
465
+ Each harness has one collector, `cmax/scripts/1-audit/cluster-audit-<harness>.sh`.
466
+ `cmax audit` and `cmax audit security` run the same collector, and the
467
+ `security` scope only filters the report, so both commands give the same
468
+ verdict for each security check. The collector sources
469
+ `cmax/scripts/1-audit/security-fleet.sh`, which grades host-level minimums
438
470
  on every GPU host, not only the sampled worker: the GPU driver, NVIDIA
439
- Container Toolkit, runc, Docker, ConnectX firmware, DCGM, and the kernel
440
- advisories. Each check reports the worst host, names it, and lists every host's
471
+ Container Toolkit, runc, containerd, Docker, ConnectX firmware, DCGM, and the
472
+ kernel advisories. Each check reports the worst host, names it, and lists every host's
441
473
  result. ConnectX devices are listed as `host/device`. A GPU host the audit
442
474
  cannot read leaves a passing check unknown. Kubernetes reuses the BMC host-root
443
475
  pod on each node; Slurm runs a short one-GPU step on each GPU node with
@@ -58,7 +58,7 @@ The [ClusterMAX website](https://clustermax.semianalysis.com/) explains the rati
58
58
 
59
59
  ## Run a security audit
60
60
 
61
- The current [minimum-version table](https://www.clustermax.ai/minimum-versions) lists the software and firmware versions used for grading, with vendor advisories behind each value. Its [machine-readable form](https://semianalysisai.github.io/ClusterMAX/minimum-versions.json) is the table `cmax audit security` fetches on startup (skip with `--no-fetch-minimums`). The `minimum-versions-publish` workflow deploys that one file to the GitHub Pages site of this repository. Its `refreshed` stamp moves every day after a successful refresh, and its `changed` stamp moves only when a minimum value changes. The command line keeps the last fetched table in `~/.cache/clustermax/`, so an offline run grades against that copy instead of the older table inside the package. When the fetch fails and the table in use was last refreshed more than 7 days ago, the audit gives a warning.
61
+ The current [minimum-version table](https://www.clustermax.ai/minimum-versions) lists the software and firmware versions used for grading, with vendor advisories behind each value. Its [machine-readable form](https://semianalysisai.github.io/ClusterMAX/minimum-versions.json) is the table that every `cmax audit` run fetches on startup, for the full audit and for each category (skip with `--no-fetch-minimums`). The `minimum-versions-publish` workflow deploys that one file to the GitHub Pages site of this repository. Its `refreshed` stamp moves every day after a successful refresh, and its `changed` stamp moves only when a minimum value changes. The command line keeps the last fetched table in `~/.cache/clustermax/`, so an offline run grades against that copy instead of the older table inside the package. When the fetch fails and the table in use was last refreshed more than 7 days ago, the audit gives a warning.
62
62
 
63
63
  The read-only Bad Epoll check, `security.badEpoll.status`, checks the running
64
64
  kernel against [CVE-2026-46242](https://ubuntu.com/security/CVE-2026-46242).
@@ -177,6 +177,15 @@ The following results have explicit assessment scopes:
177
177
  Later trains can pass for the mapped ConnectX-8 and BlueField-3 firmware
178
178
  families. Older LTS floors remain separate. Unknown products do not inherit
179
179
  that range merely because their version is higher.
180
+ - **containerd:** The check grades the upstream release number of containerd
181
+ on each GPU host. On Kubernetes, the kubelet report
182
+ (`containerRuntimeVersion`) is the evidence when the host has no containerd
183
+ binary in its `PATH`, as on K3s and RKE2. A release must meet the minimum of
184
+ its branch and must be outside every advisory range. Thus a branch that
185
+ receives no more fixes fails, and the finding names the nearest fixed release
186
+ on a maintained branch. A distribution package that has a backported fix
187
+ under an older release number can fail. Provider evidence is then necessary.
188
+ A host without containerd is not applicable.
180
189
  - **Virtio-Net:** Verified current NIC mode passes the current-exposure check.
181
190
  Stored firmware remains unassessed when unreadable. Recheck it before enabling
182
191
  DPU mode. A NIC-mode sample cannot clear missing or mixed fleet evidence.
@@ -232,31 +241,50 @@ audit_profile:
232
241
  - audit.out
233
242
  - audit.values.json
234
243
  checks:
244
+ - audit.out
245
+ - audit.values.json
246
+ - securityVersions.amdDriver.status
235
247
  - securityVersions.nvidiaDriver.status
236
248
  - securityVersions.nvidiaContainerToolkit.status
237
249
  - securityVersions.cudaToolkit.status
238
250
  - securityVersions.runc.status
251
+ - securityVersions.containerd.status
239
252
  - securityVersions.docker.status
240
253
  - securityVersions.connectxFirmware.status
241
254
  - securityVersions.dcgm.status
242
255
  - securityVersions.dcgmExporter.status
256
+ - securityVersions.snap4Container.status
243
257
  - securityVersions.virtioNetBluefield.status
244
258
  - securityVersions.virtioNetBluefield.exposure
245
259
  - securityVersions.dpuHostIsolation.status
246
260
  - security.januscape.status
247
261
  - security.kvmSvm.status
248
262
  - security.guestKernel.newerInstalled
263
+ - security.ubuntuNobleKernelMinimum.status
264
+ - security.guestKernel.ubuntuCveStatus
249
265
  - security.fragnesia.status
266
+ - security.badEpoll.status
267
+ - security.sctpSendall.status
268
+ - security.pwnescape.status
269
+ - qemu-virtio-serial
270
+ - vmscape
271
+ - observability-isolation
250
272
  - bmc-ipmi
273
+ - kubernetes-nodes-proxy
274
+ - ingress-nginx-cve-2025-1974
251
275
  - ufm-profile
252
276
  - pcie-passthrough
253
277
  - nvlink-boundary
278
+ - mig-side-channel
279
+ - gpu-ecc-rowhammer
280
+ - nvidia-cdi-hook-monitoring
281
+ - ray-dashboard-exposure
282
+ - aistore
254
283
  ```
255
284
 
256
285
  The resolved plan enables only `audit.audit`. It uses the standard artifact
257
- files, progress wrapper, and report formatter. On Slurm, the security profile
258
- uses a focused collector that runs the worker security inventory, container
259
- version inventory, and backend fabric checks that its report needs.
286
+ files, progress wrapper, and report formatter. It runs the same collector as
287
+ `cmax audit`. The security profile only filters the report.
260
288
 
261
289
  Every live audit reports its target before it collects data. An interactive
262
290
  run requires confirmation. The default answer cancels the audit with exit code
@@ -304,9 +332,9 @@ Run Slurm audits from a login node and Kubernetes audits from a machine with `ku
304
332
 
305
333
  The mismatch menu defaults to cancel. Select `c` and then confirm with `y` to continue on this host. Select `r` to review sanitized detection details and the [public issue form](https://github.com/SemiAnalysisAI/ClusterMAX/issues/new). The CLI does not upload anything. Review the preview before sharing it, and do not attach credentials, cluster names, hostnames, or raw logs.
306
334
 
307
- `--yes` or `--allow-cluster-node` skips the mismatch menu and runs the selected target on this host. Without a terminal, a mismatched run stops unless one of them is present.
335
+ Three options skip the mismatch menu. Each one prints the warning and runs on this host: a target flag such as `--standalone` or `--slurm`, `--run-here` (which also covers an auto-detected target), and `--yes` (which also accepts every other confirmation). Without a terminal, a mismatched run stops unless one of them is present. `--allow-cluster-node` is the old name of `--run-here` and still works.
308
336
 
309
- For Slurm on Kubernetes, including Slinky, the CLI shows the Slurm role separately from the runtime context. When auto-detection finds both interfaces reachable, it asks which interface to use. `--yes` keeps the auto-detected interface, and `--slurm` or `--k8s` selects one. Without a terminal, the run stops unless one of these is present. An explicit interface skips this choice, but a Slurm run from a compute node still requires `--yes`, `--allow-cluster-node`, or interactive confirmation.
337
+ For Slurm on Kubernetes, including Slinky, the CLI shows the Slurm role separately from the runtime context. When auto-detection finds both interfaces reachable, it asks which interface to use. `--yes` keeps the auto-detected interface, and `--slurm` or `--k8s` selects one. Without a terminal, the run stops unless one of these is present. An explicit interface skips this choice and also answers the host role check.
310
338
 
311
339
  The regression tests use synthetic signals to cover cancellation, reporting, overrides, mixed interfaces, and failed access checks. They do not establish live cluster qualification.
312
340
 
@@ -414,10 +442,14 @@ in-band BMC. Verify that tenants cannot schedule privileged pods or mount host
414
442
  IPMI devices. On Slurm and standalone hosts the probe runs as the tenant user,
415
443
  so an exposed BMC stays CRITICAL.
416
444
 
417
- The focused security audit (`cmax audit security`) grades host-level minimums
445
+ Each harness has one collector, `cmax/scripts/1-audit/cluster-audit-<harness>.sh`.
446
+ `cmax audit` and `cmax audit security` run the same collector, and the
447
+ `security` scope only filters the report, so both commands give the same
448
+ verdict for each security check. The collector sources
449
+ `cmax/scripts/1-audit/security-fleet.sh`, which grades host-level minimums
418
450
  on every GPU host, not only the sampled worker: the GPU driver, NVIDIA
419
- Container Toolkit, runc, Docker, ConnectX firmware, DCGM, and the kernel
420
- advisories. Each check reports the worst host, names it, and lists every host's
451
+ Container Toolkit, runc, containerd, Docker, ConnectX firmware, DCGM, and the
452
+ kernel advisories. Each check reports the worst host, names it, and lists every host's
421
453
  result. ConnectX devices are listed as `host/device`. A GPU host the audit
422
454
  cannot read leaves a passing check unknown. Kubernetes reuses the BMC host-root
423
455
  pod on each node; Slurm runs a short one-GPU step on each GPU node with
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clustermax
3
- Version: 0.3.1.dev2026112595
3
+ Version: 0.3.1.dev2026112797
4
4
  Summary: ClusterMAX GPU cluster audit and security CLI
5
5
  Author: SemiAnalysis
6
6
  Maintainer: SemiAnalysis
@@ -78,7 +78,7 @@ The [ClusterMAX website](https://clustermax.semianalysis.com/) explains the rati
78
78
 
79
79
  ## Run a security audit
80
80
 
81
- The current [minimum-version table](https://www.clustermax.ai/minimum-versions) lists the software and firmware versions used for grading, with vendor advisories behind each value. Its [machine-readable form](https://semianalysisai.github.io/ClusterMAX/minimum-versions.json) is the table `cmax audit security` fetches on startup (skip with `--no-fetch-minimums`). The `minimum-versions-publish` workflow deploys that one file to the GitHub Pages site of this repository. Its `refreshed` stamp moves every day after a successful refresh, and its `changed` stamp moves only when a minimum value changes. The command line keeps the last fetched table in `~/.cache/clustermax/`, so an offline run grades against that copy instead of the older table inside the package. When the fetch fails and the table in use was last refreshed more than 7 days ago, the audit gives a warning.
81
+ The current [minimum-version table](https://www.clustermax.ai/minimum-versions) lists the software and firmware versions used for grading, with vendor advisories behind each value. Its [machine-readable form](https://semianalysisai.github.io/ClusterMAX/minimum-versions.json) is the table that every `cmax audit` run fetches on startup, for the full audit and for each category (skip with `--no-fetch-minimums`). The `minimum-versions-publish` workflow deploys that one file to the GitHub Pages site of this repository. Its `refreshed` stamp moves every day after a successful refresh, and its `changed` stamp moves only when a minimum value changes. The command line keeps the last fetched table in `~/.cache/clustermax/`, so an offline run grades against that copy instead of the older table inside the package. When the fetch fails and the table in use was last refreshed more than 7 days ago, the audit gives a warning.
82
82
 
83
83
  The read-only Bad Epoll check, `security.badEpoll.status`, checks the running
84
84
  kernel against [CVE-2026-46242](https://ubuntu.com/security/CVE-2026-46242).
@@ -197,6 +197,15 @@ The following results have explicit assessment scopes:
197
197
  Later trains can pass for the mapped ConnectX-8 and BlueField-3 firmware
198
198
  families. Older LTS floors remain separate. Unknown products do not inherit
199
199
  that range merely because their version is higher.
200
+ - **containerd:** The check grades the upstream release number of containerd
201
+ on each GPU host. On Kubernetes, the kubelet report
202
+ (`containerRuntimeVersion`) is the evidence when the host has no containerd
203
+ binary in its `PATH`, as on K3s and RKE2. A release must meet the minimum of
204
+ its branch and must be outside every advisory range. Thus a branch that
205
+ receives no more fixes fails, and the finding names the nearest fixed release
206
+ on a maintained branch. A distribution package that has a backported fix
207
+ under an older release number can fail. Provider evidence is then necessary.
208
+ A host without containerd is not applicable.
200
209
  - **Virtio-Net:** Verified current NIC mode passes the current-exposure check.
201
210
  Stored firmware remains unassessed when unreadable. Recheck it before enabling
202
211
  DPU mode. A NIC-mode sample cannot clear missing or mixed fleet evidence.
@@ -252,31 +261,50 @@ audit_profile:
252
261
  - audit.out
253
262
  - audit.values.json
254
263
  checks:
264
+ - audit.out
265
+ - audit.values.json
266
+ - securityVersions.amdDriver.status
255
267
  - securityVersions.nvidiaDriver.status
256
268
  - securityVersions.nvidiaContainerToolkit.status
257
269
  - securityVersions.cudaToolkit.status
258
270
  - securityVersions.runc.status
271
+ - securityVersions.containerd.status
259
272
  - securityVersions.docker.status
260
273
  - securityVersions.connectxFirmware.status
261
274
  - securityVersions.dcgm.status
262
275
  - securityVersions.dcgmExporter.status
276
+ - securityVersions.snap4Container.status
263
277
  - securityVersions.virtioNetBluefield.status
264
278
  - securityVersions.virtioNetBluefield.exposure
265
279
  - securityVersions.dpuHostIsolation.status
266
280
  - security.januscape.status
267
281
  - security.kvmSvm.status
268
282
  - security.guestKernel.newerInstalled
283
+ - security.ubuntuNobleKernelMinimum.status
284
+ - security.guestKernel.ubuntuCveStatus
269
285
  - security.fragnesia.status
286
+ - security.badEpoll.status
287
+ - security.sctpSendall.status
288
+ - security.pwnescape.status
289
+ - qemu-virtio-serial
290
+ - vmscape
291
+ - observability-isolation
270
292
  - bmc-ipmi
293
+ - kubernetes-nodes-proxy
294
+ - ingress-nginx-cve-2025-1974
271
295
  - ufm-profile
272
296
  - pcie-passthrough
273
297
  - nvlink-boundary
298
+ - mig-side-channel
299
+ - gpu-ecc-rowhammer
300
+ - nvidia-cdi-hook-monitoring
301
+ - ray-dashboard-exposure
302
+ - aistore
274
303
  ```
275
304
 
276
305
  The resolved plan enables only `audit.audit`. It uses the standard artifact
277
- files, progress wrapper, and report formatter. On Slurm, the security profile
278
- uses a focused collector that runs the worker security inventory, container
279
- version inventory, and backend fabric checks that its report needs.
306
+ files, progress wrapper, and report formatter. It runs the same collector as
307
+ `cmax audit`. The security profile only filters the report.
280
308
 
281
309
  Every live audit reports its target before it collects data. An interactive
282
310
  run requires confirmation. The default answer cancels the audit with exit code
@@ -324,9 +352,9 @@ Run Slurm audits from a login node and Kubernetes audits from a machine with `ku
324
352
 
325
353
  The mismatch menu defaults to cancel. Select `c` and then confirm with `y` to continue on this host. Select `r` to review sanitized detection details and the [public issue form](https://github.com/SemiAnalysisAI/ClusterMAX/issues/new). The CLI does not upload anything. Review the preview before sharing it, and do not attach credentials, cluster names, hostnames, or raw logs.
326
354
 
327
- `--yes` or `--allow-cluster-node` skips the mismatch menu and runs the selected target on this host. Without a terminal, a mismatched run stops unless one of them is present.
355
+ Three options skip the mismatch menu. Each one prints the warning and runs on this host: a target flag such as `--standalone` or `--slurm`, `--run-here` (which also covers an auto-detected target), and `--yes` (which also accepts every other confirmation). Without a terminal, a mismatched run stops unless one of them is present. `--allow-cluster-node` is the old name of `--run-here` and still works.
328
356
 
329
- For Slurm on Kubernetes, including Slinky, the CLI shows the Slurm role separately from the runtime context. When auto-detection finds both interfaces reachable, it asks which interface to use. `--yes` keeps the auto-detected interface, and `--slurm` or `--k8s` selects one. Without a terminal, the run stops unless one of these is present. An explicit interface skips this choice, but a Slurm run from a compute node still requires `--yes`, `--allow-cluster-node`, or interactive confirmation.
357
+ For Slurm on Kubernetes, including Slinky, the CLI shows the Slurm role separately from the runtime context. When auto-detection finds both interfaces reachable, it asks which interface to use. `--yes` keeps the auto-detected interface, and `--slurm` or `--k8s` selects one. Without a terminal, the run stops unless one of these is present. An explicit interface skips this choice and also answers the host role check.
330
358
 
331
359
  The regression tests use synthetic signals to cover cancellation, reporting, overrides, mixed interfaces, and failed access checks. They do not establish live cluster qualification.
332
360
 
@@ -434,10 +462,14 @@ in-band BMC. Verify that tenants cannot schedule privileged pods or mount host
434
462
  IPMI devices. On Slurm and standalone hosts the probe runs as the tenant user,
435
463
  so an exposed BMC stays CRITICAL.
436
464
 
437
- The focused security audit (`cmax audit security`) grades host-level minimums
465
+ Each harness has one collector, `cmax/scripts/1-audit/cluster-audit-<harness>.sh`.
466
+ `cmax audit` and `cmax audit security` run the same collector, and the
467
+ `security` scope only filters the report, so both commands give the same
468
+ verdict for each security check. The collector sources
469
+ `cmax/scripts/1-audit/security-fleet.sh`, which grades host-level minimums
438
470
  on every GPU host, not only the sampled worker: the GPU driver, NVIDIA
439
- Container Toolkit, runc, Docker, ConnectX firmware, DCGM, and the kernel
440
- advisories. Each check reports the worst host, names it, and lists every host's
471
+ Container Toolkit, runc, containerd, Docker, ConnectX firmware, DCGM, and the
472
+ kernel advisories. Each check reports the worst host, names it, and lists every host's
441
473
  result. ConnectX devices are listed as `host/device`. A GPU host the audit
442
474
  cannot read leaves a passing check unknown. Kubernetes reuses the BMC host-root
443
475
  pod on each node; Slurm runs a short one-GPU step on each GPU node with
@@ -35,11 +35,8 @@ cmax/yaml_support.py
35
35
  cmax/scripts/1-audit/audit-common.sh
36
36
  cmax/scripts/1-audit/audit_findings.py
37
37
  cmax/scripts/1-audit/bad_epoll.py
38
- cmax/scripts/1-audit/cluster-audit-k8s-security.sh
39
38
  cmax/scripts/1-audit/cluster-audit-k8s.sh
40
- cmax/scripts/1-audit/cluster-audit-slurm-security.sh
41
39
  cmax/scripts/1-audit/cluster-audit-slurm.sh
42
- cmax/scripts/1-audit/cluster-audit-standalone-security.sh
43
40
  cmax/scripts/1-audit/cluster-audit-standalone.sh
44
41
  cmax/scripts/1-audit/container-check.sh
45
42
  cmax/scripts/1-audit/criteria-checks.json
@@ -60,6 +57,8 @@ cmax/scripts/1-audit/pwnescape.py
60
57
  cmax/scripts/1-audit/run.sh
61
58
  cmax/scripts/1-audit/run_checks.py
62
59
  cmax/scripts/1-audit/run_legacy_audit.py
60
+ cmax/scripts/1-audit/sctp_sendall.py
61
+ cmax/scripts/1-audit/security-fleet.sh
63
62
  cmax/scripts/1-audit/security_fleet.py
64
63
  cmax/scripts/1-audit/security_version_audit.py
65
64
  cmax/scripts/1-audit/ubuntu_kernel_cves.py
@@ -47,7 +47,7 @@ AUDIT_DEFAULTS = {
47
47
  "fetch_minimums": True,
48
48
  "verbose": 0,
49
49
  "assume_yes": False,
50
- "allow_cluster_node": False,
50
+ "run_here": False,
51
51
  "review_source": None,
52
52
  "review_commands": [],
53
53
  "review_no_interactive": False,
@@ -86,12 +86,23 @@ def add_confirmation_options(parser: argparse.ArgumentParser, *, suppress: bool
86
86
  "host role and interface checks, without a prompt."
87
87
  ),
88
88
  )
89
+ parser.add_argument(
90
+ "--run-here",
91
+ action="store_true",
92
+ dest="run_here",
93
+ default=_default(suppress, False),
94
+ help=(
95
+ "Run on this host even when it looks like a cluster node that the "
96
+ "target does not fit. The host role warning still prints."
97
+ ),
98
+ )
99
+ # The old name. Existing scripts keep working; help shows only --run-here.
89
100
  parser.add_argument(
90
101
  "--allow-cluster-node",
91
102
  action="store_true",
92
- dest="allow_cluster_node",
103
+ dest="run_here",
93
104
  default=_default(suppress, False),
94
- help="Run even when this host is a cluster node that the target does not fit.",
105
+ help=argparse.SUPPRESS,
95
106
  )
96
107
 
97
108
 
@@ -105,6 +116,24 @@ def _add_verbose(parser: argparse.ArgumentParser, *, suppress: bool) -> None:
105
116
  )
106
117
 
107
118
 
119
+ def _add_fetch_minimums(parser: argparse.ArgumentParser, *, suppress: bool) -> None:
120
+ parser.add_argument(
121
+ "--no-fetch-minimums",
122
+ action="store_false",
123
+ dest="fetch_minimums",
124
+ default=_default(suppress, True),
125
+ help=(
126
+ "Do not read the published minimum version table from "
127
+ "https://semianalysisai.github.io/ClusterMAX/minimum-versions.json "
128
+ "before the audit runs. By default every audit fetches that "
129
+ "table, stores it in a user cache directory, and grades against it. "
130
+ "A fetch failure prints a warning, and the audit continues against "
131
+ "the last fetched table or the installed table. This flag keeps a "
132
+ "saved result reproducible on a host with no outbound network access."
133
+ ),
134
+ )
135
+
136
+
108
137
  def _add_run_options(parser: argparse.ArgumentParser, *, show_help: str) -> None:
109
138
  parser.add_argument(
110
139
  "--show",
@@ -114,6 +143,7 @@ def _add_run_options(parser: argparse.ArgumentParser, *, show_help: str) -> None
114
143
  )
115
144
  add_target_options(parser, suppress=True, dest="profile_target")
116
145
  add_confirmation_options(parser, suppress=True)
146
+ _add_fetch_minimums(parser, suppress=True)
117
147
  _add_verbose(parser, suppress=True)
118
148
 
119
149
 
@@ -132,6 +162,7 @@ def add_audit_parser(
132
162
  )
133
163
  add_target_options(audit)
134
164
  add_confirmation_options(audit)
165
+ _add_fetch_minimums(audit, suppress=False)
135
166
  _add_verbose(audit, suppress=False)
136
167
 
137
168
  commands = audit.add_subparsers(dest="profile", title="commands", metavar="COMMAND")
@@ -171,21 +202,6 @@ def add_audit_parser(
171
202
  default=argparse.SUPPRESS,
172
203
  help="Return exit code 0 when the report has critical findings.",
173
204
  )
174
- security.add_argument(
175
- "--no-fetch-minimums",
176
- action="store_false",
177
- dest="fetch_minimums",
178
- default=argparse.SUPPRESS,
179
- help=(
180
- "Do not read the published minimum version table from "
181
- "https://semianalysisai.github.io/ClusterMAX/minimum-versions.json "
182
- "before the audit runs. By default the security audit fetches that "
183
- "table, stores it in a user cache directory, and grades against it. "
184
- "A fetch failure prints a warning, and the audit continues against "
185
- "the last fetched table or the installed table. This flag keeps a "
186
- "saved result reproducible on a host with no outbound network access."
187
- ),
188
- )
189
205
  if security_options is not None:
190
206
  security_options(security)
191
207
 
@@ -27,11 +27,13 @@ AUDIT_CATEGORIES = (
27
27
  "securityVersions.nvidiaContainerToolkit.status",
28
28
  "securityVersions.cudaToolkit.status",
29
29
  "securityVersions.runc.status",
30
+ "securityVersions.containerd.status",
30
31
  "securityVersions.docker.status",
31
32
  "securityVersions.connectxFirmware.status",
32
33
  "securityVersions.dcgm.status",
33
34
  "securityVersions.dcgmExporter.status",
34
35
  "securityVersions.virtioNetBluefield.status",
36
+ "securityVersions.snap4Container.status",
35
37
  "aistore",
36
38
  }
37
39
  ),