on-device-delegate

Pass

Audited by Gen Agent Trust Hub on Nov 26, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides PowerShell scripts (scripts/Set-LocalOutputCap.ps1 and scripts/Update-LocalCodingPlugin.ps1) intended for local setup. These scripts execute the copilot CLI to install, update, and enable plugins, and they use PowerShell to read and modify JSON configuration files.\n- [EXTERNAL_DOWNLOADS]: The setup scripts facilitate the installation of the local-coding plugin from the github/awesome-copilot repository on GitHub. This is used to extend the agent's local functionality.\n- [PRIVILEGE_ESCALATION]: The skill includes the capability to modify the user's providers.json configuration file, which governs the behavior of the GitHub Copilot CLI. Specifically, Set-LocalOutputCap.ps1 modifies maxOutputTokens and model capability limits to prevent runaway generation timeouts on local models.\n- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process large amounts of untrusted data, such as logs and multiple prose files, by delegating them to a local worker model.\n
  • Ingestion points: Large text inputs or file paths are passed to the local-coding:on-device-worker agent via the prompt parameter as described in SKILL.md.\n
  • Boundary markers: The skill instructs the agent to use a structured prompt format with GOAL, INPUTS, and RULES headers to separate the task description from the untrusted data.\n
  • Capability inventory: The worker agent is granted a limit of 8 tool calls to perform its delegated task.\n
  • Sanitization: No explicit sanitization or escaping of the content of the input files is described, though the worker is restricted by rules to only read the specified inputs.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 26, 2026, 05:43 PM