get-available-resources
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The script scripts/detect_resources.py executes hardcoded system commands like nvidia-smi and sysctl. These are invoked using subprocess.Popen with shell=False and fixed argument tuples, which prevents command injection.\n- [DYNAMIC_EXECUTION]: The skill uses importlib.import_module to optionally load the psutil library. The import is restricted to a fixed, hardcoded string, preventing arbitrary code loading.\n- [EXTERNAL_DOWNLOADS]: The documentation suggests the optional installation of psutil==7.2.2. This is a trusted, well-known package for system resource monitoring.\n- [DATA_EXFILTRATION]: While the tool reads system files, it implements rigorous privacy controls. It redacts hostnames, absolute paths, and unique device IDs before outputting a snapshot, and restricts output to local JSON files.
Audit Metadata