copilot-usage-metrics
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local shell scripts (
get-org-metrics.sh,get-enterprise-metrics.sh,get-org-user-metrics.sh, andget-enterprise-user-metrics.sh) that utilize thegh apicommand to interact with GitHub's backend. - [DATA_EXPOSURE]: The skill retrieves usage metrics, including active user counts, acceptance rates, and per-user breakdowns. This data is sensitive but its retrieval is the explicitly stated purpose of the skill and relies on the user's existing GitHub permissions.
- [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection via external API data ingestion.
- Ingestion points: User-provided organization names and enterprise slugs; JSON response bodies from the GitHub API (retrieved in all
.shscripts). - Boundary markers: Absent; the skill does not use specific delimiters when processing the API results.
- Capability inventory: Subprocess execution of the
ghCLI for network API calls (found in all.shscripts). - Sanitization: Absent; inputs are interpolated into shell strings, and API outputs are formatted for display without specific sanitization beyond the agent's default handling.
Audit Metadata