You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run vendor tools with fixed argument lists and bounded cost #35
Executing a vendor tool is the plugin's main trust boundary. Operators choose which tool and interval; they never supply a command line.
Requirements
REQ-EXEC-001 The plugin MUST execute vendor tools with a fixed argument vector and no shell, and MUST NOT interpolate operator, device, or node input into a command.
REQ-EXEC-002 Tool binaries MUST be selected from an allowlist of known names and resolved paths set by the administrator, not typed into a form as a command.
REQ-EXEC-003 The plugin MUST NOT use sudo, setuid helpers, or root, and MUST report a permission failure instead of retrying with more privilege.
REQ-EXEC-004 Every execution MUST have a wall-clock timeout, an output size cap, and a clean-environment allowlist.
REQ-EXEC-005 Only one collection per node MUST run at a time; a second MUST be skipped and counted.
REQ-EXEC-006 A nonzero exit status, timeout, or truncated output MUST produce an error state with unknown values, never zero values.
REQ-EXEC-007 Tool output MUST be treated as untrusted data: parsed by field position and validated against expected types before storage.
Acceptance criteria
Tests prove a hostile node name or GPU name containing shell metacharacters reaches no command line.
Timeout, oversize, and truncated-output fixtures produce error state with U values.
Static check: no shell_exec, backticks, or system() in plugin code.
Activity
fix: harden SNMP extend reads, passphrases, and locks (#35 #37)
fix: read the node through a Cacti SNMP session (#35)
feat: milestone 3 NVIDIA collection and Cacti objects (#73)