get-available-resources

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: The skill invokes local system utilities such as nvidia-smi, amd-smi, and sysctl to retrieve resource metrics. These operations utilize subprocess.Popen with shell=False and rely on hardcoded command tuples, effectively mitigating command injection risks.
  • [DYNAMIC_EXECUTION]: The psutil library is optionally loaded via importlib.import_module. Since the module name is hardcoded to a known package, this does not present a dynamic loading vulnerability.
  • [DATA_EXFILTRATION]: While the skill reads system information and environment variables (Slurm), it incorporates a dedicated 'Safety contract' that redacts sensitive identifiers like hostnames, absolute paths, and UUIDs. Output is restricted to local files or stdout.
  • [SAFE]: The implementation demonstrates high-security awareness regarding file I/O. The output logic in scripts/_common.py explicitly rejects symlinks, prevents path traversal, checks for hard links at the file descriptor level, and enforces restrictive 0600 permissions on created files.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 01:31 PM