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.Popento execute system monitoring tools such asnvidia-smi,sysctl, andsystem_profiler. These calls are restricted to fixed, allowlisted argument lists withshell=Falseand 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
psutillibrary usingimportlib.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