get-available-resources
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill invokes local system utilities such as
nvidia-smi,amd-smi, andsysctlto retrieve resource metrics. These operations utilizesubprocess.Popenwithshell=Falseand rely on hardcoded command tuples, effectively mitigating command injection risks. - [DYNAMIC_EXECUTION]: The
psutillibrary is optionally loaded viaimportlib.import_module. Since the module name is hardcoded to a known package, this does not present a dynamic loading vulnerability. - [DATA_EXFILTRATION]: While the skill reads system information and environment variables (Slurm), it incorporates a dedicated 'Safety contract' that redacts sensitive identifiers like hostnames, absolute paths, and UUIDs. Output is restricted to local files or stdout.
- [SAFE]: The implementation demonstrates high-security awareness regarding file I/O. The output logic in
scripts/_common.pyexplicitly rejects symlinks, prevents path traversal, checks for hard links at the file descriptor level, and enforces restrictive0600permissions on created files.
Audit Metadata