windows-printer-duplicates
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes a bundled PowerShell script
scripts/Test-PrinterQueues.ps1using the-ExecutionPolicy Bypassflag to gather printer configuration data. It also includes instructions for using cmdlets likeSet-Printer,Remove-Printer, andSet-ItemPropertyto modify printer port mappings and registry settings for default printer management. - [INDIRECT_PROMPT_INJECTION]: The diagnostic script's output presents a vulnerability surface where the agent might interpret data as instructions.
- Ingestion points: Diagnostic output from
scripts/Test-PrinterQueues.ps1is processed by the agent to determine the next administrative steps. - Boundary markers: The script output does not use specific delimiters to separate data from instructions for the agent.
- Capability inventory: The skill context allows for modifying system registry keys under the current user hive (
HKCU), changing printer port assignments, and removing printer queues. - Sanitization: The script generates command strings as output which are then processed by the agent without explicit validation or escaping of the suggested actions.
Audit Metadata