github-traffic
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill displays external data from the GitHub Traffic API which can contain user-controlled content like HTTP referrers and repository page paths. If an AI agent interprets this output, it could be exposed to indirect prompt injection.
- Ingestion points:
repos/{repo}/traffic/popular/referrersandrepos/{repo}/traffic/popular/pathsendpoints inscripts/github_traffic.py. - Boundary markers: Absent; data values are rendered directly into plain-text tables without encapsulation or specific instruction delimiters.
- Capability inventory: Structured file writing to
~/.github-traffic/and process spawning viasubprocess.run. - Sanitization: None; fields like
referrerandpathare displayed directly to standard output as strings. - [COMMAND_EXECUTION]: The script executes external commands using python's
subprocessmodule to query the GitHub CLI. - Evidence: Spawns
gh apiinside thegh_apifunction inscripts/github_traffic.py. This is handled safely via argument arrays without enabling shell execution parsing (shell=True).
Audit Metadata