get-available-resources

Pass

Audited by Gen Agent Trust Hub on Oct 31, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/detect_resources.py executes system tools like nvidia-smi, amd-smi, sysctl, and system_profiler to gather resource data. All commands are executed using subprocess.Popen with shell=False and fixed argument tuples, which prevents command injection vulnerabilities.
  • [DYNAMIC_EXECUTION]: The script scripts/detect_resources.py employs importlib.import_module to lazily load the optional psutil library. This is a standard practice for handling optional dependencies and does not involve loading untrusted or remote code.
  • [DATA_EXFILTRATION]: While the skill reads system configuration files (e.g., /proc/meminfo, /proc/cpuinfo), it explicitly redacts sensitive identifiers including hostnames, absolute file paths, and environment variable values. Output is restricted to stdout or local files created with private permissions (mode 0600), and no network functionality is present.
  • [EXTERNAL_DOWNLOADS]: The documentation references the psutil package as an optional dependency. This is a well-known, legitimate library for system monitoring, and the suggestion to install it via standard package managers (pip/uv) is safe.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 31, 2026, 01:40 PM