copilot-sdk
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the creation of agents that ingest untrusted user input while maintaining access to sensitive capabilities like file modification and command execution.
- Ingestion points: Untrusted data enters the agent context via user-provided prompts in
SKILL.mdandreferences/working-examples.md, as well as data retrieved from external sources through tools or MCP servers. - Boundary markers: There are no specific instructions or boundary markers provided to delimit untrusted content or instruct the agent to ignore embedded commands.
- Capability inventory: The skill enables significant capabilities across multiple files, including shell command execution (
bash,execute), file editing (edit_file), and broad filesystem access via MCP servers as detailed inreferences/cli-agents-mcp.md. - Sanitization: No sanitization, escaping, or validation protocols for external content are documented in the instruction set or provided examples.
- [EXTERNAL_DOWNLOADS]: The skill facilitates the installation of official SDK packages and tools from established services.
- Downloads the official SDK packages including
@github/copilot-sdk(NPM) andgithub-copilot-sdk(PyPI). - Provides examples for running local MCP servers using
npx -y @modelcontextprotocol/server-filesystem. - [COMMAND_EXECUTION]: The documentation describes functionality for executing shell commands and managing local processes.
- Documents the use of the
bashandexecutetool aliases for custom agents. - Provides instructions for running the Copilot CLI in headless mode via
copilot --headless.
Audit Metadata