get-available-resources

Pass

Audited by Gen Agent Trust Hub on Sep 24, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses subprocess.Popen to execute system monitoring tools such as nvidia-smi, sysctl, and system_profiler. These calls are restricted to fixed, allowlisted argument lists with shell=False and utilize timeouts to ensure controlled execution.
  • [DATA_EXFILTRATION]: To prevent unauthorized data exposure, the skill implements an intentional redaction policy. It filters out sensitive identifiers like hostnames, absolute paths, job IDs, and device UUIDs from its output, ensuring that only anonymized resource metrics are collected.
  • [DYNAMIC_EXECUTION]: The script performs a lazy import of the psutil library using importlib.import_module. This is used exclusively for a well-known, optional dependency to enhance resource detection capabilities.
  • [PRIVILEGE_ESCALATION]: The skill follows security best practices for file management. It uses restricted file permissions (0o600) for all generated output and includes defensive checks to prevent path traversal and symbolic link attacks during file operations.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 24, 2026, 02:33 PM