skills/amd/skills/apu-memory-tuner/Gen Agent Trust Hub

apu-memory-tuner

Pass

Audited by Gen Agent Trust Hub on Oct 22, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes platform-specific commands to inspect system hardware and apply memory tuning parameters.
  • scripts/detect_platform.py and scripts/show_config.py run powershell, wmic, rocminfo, and dmesg to gather hardware details.
  • scripts/apply_profile.py uses the amd-ttm utility to write memory limits to system configuration files on Linux.
  • [EXTERNAL_DOWNLOADS]: The skill identifies a dependency on the amd-debug-tools package from PyPI for Linux tuning.
  • Instructions in SKILL.md and reference.md guide the user to install this package using pipx.
  • The package and documentation sources (rocm.docs.amd.com) are official resources provided by the vendor, AMD.
  • [PERSISTENCE]: The skill implements persistent system changes by creating or modifying /etc/modprobe.d/ttm.conf on Linux through the amd-ttm tool.
  • This mechanism ensures that the memory allocation settings are applied automatically during the kernel boot process, which is the primary intended function of the tuner.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes output from system-level tools like dmesg and rocminfo to determine the current hardware state.
  • Ingestion points: Data is read via subprocess.run calls in scripts/show_config.py (e.g., dmesg, rocminfo).
  • Boundary markers: The skill uses specific regex patterns and substring matching to extract only the relevant hardware parameters, rather than passing raw output directly to the LLM context.
  • Capability inventory: The skill has the ability to write system configuration via amd-ttm and read system logs.
  • Sanitization: The scripts perform validation on the parsed values (e.g., ensuring memory sizes are within safe percentages of total RAM) before they are used in configuration commands.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 22, 2026, 12:06 PM