Skip to content

chore: harden hub dispatch (no shell=True)#32

Merged
mlik-sudo merged 2 commits into
mainfrom
chore/bootstrap-proof-pack
Dec 15, 2025
Merged

chore: harden hub dispatch (no shell=True)#32
mlik-sudo merged 2 commits into
mainfrom
chore/bootstrap-proof-pack

Conversation

@mlik-sudo

@mlik-sudo mlik-sudo commented Dec 15, 2025

Copy link
Copy Markdown
Owner

Summary

  • Hardens hub/tools/dispatch.py by removing shell=True and passing argv as a list to subprocess.run.
  • Writes outputs with explicit UTF-8 encoding and improves error handling.

Why

This reduces command-injection risk in the task dispatch runner and makes the Proof Pack / agent hub safer by default.

Note

Other Proof Pack bootstrap items (scripts + benchmark compare) are already on main via PR #33, so this PR now focuses only on the dispatch hardening.

@mlik-sudo mlik-sudo changed the title chore: bootstrap proof pack (scripts + benchmarks compare) chore: harden hub dispatch (no shell=True) Dec 15, 2025
@mlik-sudo mlik-sudo merged commit d9c0081 into main Dec 15, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant