mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-31 03:03:24 +01:00
Sourcery read 'no privileged code on an LB' as 'no code that ever runs as root' and flagged the helper's certbot verb. The verify-lb-archive rule is narrower — it bars MAIN-only admin/reseller/install/cluster-API code, not the constrained edge operations an LB legitimately performs (certbot, cache/cleanup crons). Document, at the SENSITIVE allowlist, why bin/install/xcvm-noderoot is intentionally NOT listed: it is the serve-only root trust-boundary helper, its archive copy (under xc_vm-writable /home/xc_vm) is never run as root, and the copy root runs is installed to /usr/local/sbin only on a serve-only node, over SSH from MAIN's trusted copy (provisionNodeRootHelper, gated on $rServeOnly). No behaviour change; the gate already passes.