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.ps1 using the -ExecutionPolicy Bypass flag to gather printer configuration data. It also includes instructions for using cmdlets like Set-Printer, Remove-Printer, and Set-ItemProperty to 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.ps1 is 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
Risk Level
SAFE
Analyzed
Sep 14, 2026, 12:09 PM
Security Audit — agent-trust-hub — windows-printer-duplicates