skills/microsoft/apm/apm-usage/Gen Agent Trust Hub

apm-usage

Pass

Audited by Gen Agent Trust Hub on Nov 9, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [Remote Installation Pattern]: The documentation includes instructions to download and execute installation scripts via shell command-lines (curl | sh). While piping remote content to a shell is a pattern to review, these specific resources originate from Microsoft’s official redirection infrastructure (https://aka.ms/apm-unix and https://aka.ms/apm-windows), which is a standard and expected distribution method for this vendor's CLI tools.
  • [Third-party Content Management]: The primary purpose of the skill is to teach an agent how to install external packages which may contain instructions or scripts. To mitigate the risk of indirect prompt injection or malicious content, the skill provides extensive documentation on the apm audit command and the policy engine (apm-policy.yml). These features are designed to verify content integrity, detect drift, and enforce organizational security constraints on downloaded packages.
  • [Shell Environment Authentication]: The skill describes using eval "$(apm auth ...)" to export authentication tokens directly into the current shell session. This is a common pattern for CLI tools to manage credentials without persisting secrets to long-term configuration files on disk, thereby reducing the surface area for credential exposure.
  • [Security Governance and Policy]: The skill highlights experimental governance features that allow teams to restrict package sources to trusted registries and enforce constraints on executable primitives (such as MCP servers and LSP providers). This provides a layer of defense-in-depth, ensuring that the package manager operates under a defined security ceiling.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 9, 2026, 06:43 PM