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.pyexecutes system tools likenvidia-smi,amd-smi,sysctl, andsystem_profilerto gather resource data. All commands are executed usingsubprocess.Popenwithshell=Falseand fixed argument tuples, which prevents command injection vulnerabilities. - [DYNAMIC_EXECUTION]: The script
scripts/detect_resources.pyemploysimportlib.import_moduleto lazily load the optionalpsutillibrary. 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
psutilpackage 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