Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

heat-governor

Latest version: v0.20.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: nachos
2 Stars
0 Forks
14 Versions
1.4K Downloads
Python Repo language

Scan summary

heat-governor was last scanned on 24 Nov 2026 at version 0.20.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 14 versions; the latest 2 were published on 24 Nov 2026.
  • Findings: No rules fired in version 0.20.0.
  • Downloads: 1,365 downloads.

Versions

14 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.20.0 LATEST 24 Nov 2026 No rules fired
0.19.1 24 Nov 2026 No rules fired
0.19.0 16 Nov 2026 No rules fired
0.17.1 15 Nov 2026 Not shown
0.17.0 15 Nov 2026 Not shown

No rules fired in 0.20.0

Findings

Findings for v0.20.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.20.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

heat-governor

Keeps machines running heavy AI work without thermal resets, while losing as little throughput as possible. One daemon per host senses the thermal zones about once a second, tells clients when to hold new work, duty-cycles and CPU-caps the containers that opt in, and records each run so the next one is tuned better.

It was built after a DGX Spark hard-reset twice in one day under long-context LLM decode: the hottest ACPI zone reached ~95 C while the GPU sat at ~80 C, and the zone moved up to 5 C in two seconds. See docs/HANDOFF-2026-10-23.md.

heat-governor is also an AgentCulture mesh agent with an agent-first CLI. The runtime package has no third-party dependencies.

Quickstart

uv tool install heat-governor     # or, from a checkout: uv sync && uv run heat-governor ...
heat-governor capabilities        # what this host lets us read and change
heat-governor sense               # one reading of every zone
heat-governor run --once          # one dry-run tick: what it would do right now
heat-governor run                 # the daemon, signalling and recording only
heat-governor run --apply         # ...and governing the containers that opted in

Install it as a user service:

heat-governor unit -- --apply > $XDG_CONFIG_HOME/systemd/user/heat-governor.service
systemctl --user daemon-reload && systemctl --user enable --now heat-governor
loginctl enable-linger "$USER"

How it governs

flowchart LR
  S["sense, about 1 s<br/>board zones + GPU temp"] --> C["controller<br/>effective temp, level"]
  C --> A["admit / hold<br/>new work"]
  C --> D["duty-cycle<br/>batch containers"]
  C --> K["CPU cap<br/>opted-in containers"]
  C --> U["CPU quota<br/>user units: levels or adaptive"]
  C --> G["GPU ceiling<br/>min(operator, band)"]
  A & D & K & U & G --> R["ledger first, then act<br/>records per tick"]
Level When (effective temperature) New work Batch containers CPU caps / unit quota / GPU step
cool below warm admitted, full running none (operator ceiling only)
warm warm to hot admitted, half paused part of each 2 s first step
hot hot to critical held paused most of each period lower step
critical at or above critical held paused lowest step
Rule Value
Inputs hottest board zone; GPU temp on its own bands (Spark 82 / 87 / 91 C); the one closer to its limit governs
Rising lookahead on the rate; levels rise at once
Falling below the threshold minus hysteresis, for the dwell time
Sensors lost treated as hot
Container opt-in label heat-governor.role=batch or serving (+ heat-governor.cpu-cap=true)
Never undoes a pause it did not make; touches power modes or fans
Platform warm / hot / critical GPU steps Source
DGX Spark (GB10) 88 / 91.5 / 93 C (ACPI zones) operator ceiling 2200 MHz (law); 1800 / 1400 above warm measured (resets at about 94.5-95 C; clock sweep 2026-10-24)
Jetson AGX Thor 95 / 100 / 104 C 1300 / 1000 MHz limits declared; clock sweep 2026-10-24: no default ceiling
Jetson AGX Orin 85 / 90 / 94 C 1122 MHz at 85 C, 918 MHz at 88 C limits declared; GPU steps measured 2026-10-24
VENTUNO Q (Qualcomm QCS8300) 94 / 98 / 102 C (30 zones: cpu, cpuss, gpuss, nsp, ddrss) none (Adreno clock is read, not written) declared from trip points, unmeasured
anything else (incl. UNO Q) lowest critical trip minus 15 C none derived
The operator's ceiling is law
flowchart LR
  B["policy band<br/>for the level"] --> M{"min"}
  O["operator ceiling<br/>config gpu_ceiling_mhz /<br/>gpu-clock hold or lock --apply /<br/>observed on a Jetson"] --> M
  M --> W["written ceiling"]
  B -.->|band above operator| L["log: gpu: would raise the ceiling to X<br/>-- operator ceiling Y MHz holds"]
Case What the daemon does
heat wants a lower ceiling goes below the operator's
heat wants a higher one, or none keeps the operator's and logs "would raise" (state: gpu_held_by_operator)
exit, gpu_clock off, crash recovery restores the operator's, never a reset
hand lock on a Jetson read back, held as observed
hand lock on a DGX Spark invisible to the hardware: declare it, or use gpu-clock lock --apply (records a hold)
a container's own CPU limit is tighter than the band never raised; logged

Contract: docs/contracts/gpu-clock.md.

Adaptive user-unit quota

Opt-in ([[units]], e.g. app.slice, where interactive sessions and their test runs live). Every change is systemctl --user set-property --runtime, so a reboot drops it.

flowchart LR
  T["interval trend<br/>least-squares slope<br/>+ its standard error"] --> E{"error vs<br/>noise band"}
  E -->|above, unit busy| TI["tighten:<br/>error / learned gain"]
  E -->|inside| LW{"long window<br/>4 intervals"}
  LW -->|creep beyond its noise| TI
  LW -->|no| H["hold"]
  E -->|below, or unit idle, or cap not binding| RE["release one step"]
  TI --> LE["next interval:<br/>learn gain if the fall beats the noise"]
  LE --> S[("adaptive.json<br/>per platform + unit")]
Box (live test, 2026-10-24) Learned gain (C/s per CPU) Noise band (C/s)
DGX Spark about 0.21 0.03-0.24
Thor about 0.14 0.02-0.14
spark2 0.07 about 0.07
Orin 0.02-0.04 0.01-0.02

Contract: docs/contracts/user-units.md. Evidence: docs/evidence/2026-10-24-adaptive-units-live.md.

Measured: GPU clock ceilings (2026-10-24)

Box Workload Decision
DGX Spark, spark2 decode, prefill up to 128k, LoRA fine-tune operator ceiling 2200 MHz
Jetson AGX Thor worker decode (Qwen3.6-35B-A3B, DFlash) no ceiling; heat steps only
Jetson AGX Orin decider (Clef 27B W4A16), mostly prefill no ceiling; measured steps 1122 / 918 MHz
DGX Spark
xychart-beta
  title "Long-prompt read speed at 128k context (tok/s)"
  x-axis "GPU ceiling (MHz)" [1800, 2100, 2200, 2300, "2436 default"]
  y-axis "tok/s" 900 --> 1250
  bar [970, 1081, 1122, 1152, 1188]
xychart-beta
  title "GPU power while reading long prompts (W)"
  x-axis "GPU ceiling (MHz)" [1800, 2100, 2200, 2300, "2436 default"]
  y-axis "W" 0 --> 90
  bar [37.2, 50.0, 57.2, 63.0, 82.8]
xychart-beta
  title "Board zone peak while reading long prompts (C); line = reset level"
  x-axis "GPU ceiling (MHz)" [1800, 2100, 2200, 2300, "2436 default"]
  y-axis "C" 60 --> 100
  bar [73.4, 80.7, 86.3, 89.9, 95.0]
  line [94.5, 94.5, 94.5, 94.5, 94.5]
xychart-beta
  title "Decode, LiveCodeBench, 2 streams (tok/s)"
  x-axis "GPU ceiling (MHz)" [1400, 1800, 2200, "2436 default"]
  y-axis "tok/s" 0 --> 45
  bar [34.9, 36.5, 38.1, 38.2]
Workload (Spark / spark2) 1800 2100 2200 2300 default
decode tok/s (Spark) 36.5 38.1 38.2
decode GPU W (Spark) 17.0 24.2 37.5
decode tok/s (spark2) 39.0 39.1 39.2
decode GPU W (spark2) 20.4 22.4 24.6
prefill tok/s, 32k 1749 1902 1946 1982 2005
prefill tok/s, 128k 970 1081 1122 1152 1188
prefill GPU W 37.2 50.0 57.2 63.0 82.8
board z0 peak, prefill (C) 73.4 80.7 86.3 89.9 95.0
LoRA 300 steps, s 63.9 57.8 60.1 / 54.8
LoRA GPU W 30.8 47.3 63.5 / 67.4
Jetson AGX Orin (decider)
xychart-beta
  title "Decider requests/s vs GPU ceiling"
  x-axis "GPU ceiling (MHz)" [714, 918, 1122, "1300 full"]
  y-axis "req/s" 0 --> 1
  bar [0.511, 0.647, 0.780, 0.886]
xychart-beta
  title "Orin board peak (C); line = critical"
  x-axis "GPU ceiling (MHz)" [714, 918, 1122, "1300 full"]
  y-axis "C" 60 --> 100
  bar [75.3, 80.2, 83.6, 94.1]
  line [94, 94, 94, 94]
Jetson AGX Thor (worker)
xychart-beta
  title "Worker decode tok/s (bar) and GPU rail W (line)"
  x-axis "GPU ceiling (MHz)" [900, 1100, 1300, "1575 full"]
  y-axis "tok/s or W" 0 --> 110
  bar [83.2, 93.6, 95.0, 98.4]
  line [24.3, 26.9, 28.1, 29.0]

Evidence: docs/evidence/2026-10-24-gpu-clock-ceiling-spark.md, docs/evidence/2026-10-24-gpu-clock-ceiling-jetsons.md.

Fleet view

One page for every machine. A reader polls each daemon (they still bind 127.0.0.1:9476 and are unchanged; remote ones are reached over SSH), marks each machine ok, stale or unreachable on the reader's own clock, and never admits work unless the machine is ok. Machines are listed in fleet.toml, a separate file beside config.toml (config.toml is unchanged):

poll_s = 10
timeout_s = 5

[[machines]]
name = "this-box"
transport = "local"

[[machines]]
name = "box-a"
host = "box-a.example.ts.net"
transport = "ssh"
heat-governor mesh status             # asks a running mesh serve, else reads every machine once
heat-governor mesh serve              # reader + dashboard + JSON API on 127.0.0.1:9480
heat-governor mesh serve --listen 127.0.0.1:9481

The dashboard (fleet map, filters, per-machine trends and compare, Polar night light and dark) is served from vendored assets and works offline. From another device, open it through a tunnel: ssh -L 9480:127.0.0.1:9480 user@host, then http://127.0.0.1:9480/. Trends come from each machine's own record files (<data_dir>/records/YYYYMMDD.jsonl, the ones the daemon already writes; days older than yesterday are .jsonl.gz under record retention and read transparently): the reader runs one fixed, read-only, niced downsampling script over its existing ssh connection (numbers are its only arguments) and reads this machine's files locally, caching each answer for a minute (five for ranges over 26 h). The panel offers 15 min to 7 days; a 7-day bucket is a sampled maximum, not an exact one, to keep the load on busy boxes low. When a machine's records cannot be read, the panel falls back to the reader's own compact 24 h in-memory history (temperatures, level, concurrency factor and memory use %, lost on restart) and says so under the chart.

Each machine also carries a memory object taken from the daemon's published sensors: used_pct, avail_mib, total_mib (derived from the two, since the document has none), swap_used_mib, pressure_some_avg10 (null on daemons older than 0.14) and temp_c. temp_c is the hottest DDR/DRAM/EMC thermal zone and appears only where the board exposes one (the VENTUNO Q does; Jetson and DGX Spark boards do not, and report null). The page, mesh status (mem 91% of 122G, plus ddr 46C where present) and the trend tooltip and table show it.

The dashboard's Boundaries tab (#boundaries) lists each machine's memory guard (action, limits, kills) and every [[memory.allow]] rule with its matchers, anonymous-memory usage and state; mesh status shows the same guard in one column (guard kill armed 2k 3b).

Since 0.19.0 boundaries can be created, changed and deleted without editing config.toml:

heat-governor boundaries list                       # this box: rules of both files, file version
heat-governor boundaries add --name vllm --cmdline '*vllm*serve*' --max-mib 102400
heat-governor boundaries set --name vllm --max-mib 110000 --machine spark   # over the reader's SSH
heat-governor boundaries rm --name vllm

Managed rules live in boundaries.toml beside config.toml; rules written by hand in config.toml stay read-only. A save that would put a running process of the daemon's user far over its boundary is refused unless --allow-kill is given. To edit from the page, start mesh serve --token-file FILE (lines of label = token, mode 600) and enter a token in the Boundaries tab; without a token file the server stays read-only. See docs/contracts/boundaries.md.

For agents, heat-governor mcp is a read-only MCP server over stdio. Add it to a client as a stdio command, for example:

claude mcp add heat-governor -- heat-governor mcp

Planned, not built: a bearer-token-protected tailnet listener on each daemon and a read-only GET /history route on daemons (upgrade release) (planned). VENTUNO Q limits are declared from trip points and wait for a measured load run (planned).

Configure and tune

Everything above is a setting in one TOML file that a running daemon re-reads within about 2 s. A bad edit is rejected and the last good settings stay.

heat-governor config init --write     # $XDG_CONFIG_HOME/heat-governor/config.toml from the built-in profile
$EDITOR $XDG_CONFIG_HOME/heat-governor/config.toml
heat-governor config check            # every problem at once; unknown keys are errors
heat-governor config show             # what is in force
heat-governor gpu-clock helper        # the root helper + sudoers line for GPU clocks

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases heat-governor

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229