powershell-windows

Pass

Audited by Gen Agent Trust Hub on Sep 13, 2026

Risk Level: SAFEDATA_EXFILTRATIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DATA_EXPOSURE]: The skill demonstrates how to access sensitive Windows system locations.
  • Evidence includes instructions for querying the Registry Run keys (HKLM:\Software\Microsoft\Windows\CurrentVersion\Run), which are commonly used for persistence, and the Certificate store (Cert:\LocalMachine\My), which contains cryptographic identities.
  • [PRIVILEGE_ESCALATION]: The skill encourages the use of the -ExecutionPolicy Bypass flag when executing PowerShell scripts.
  • While the skill correctly warns against system-wide security downgrades (e.g., Set-ExecutionPolicy Unrestricted), the use of the bypass flag at the process level still circumvents established security controls intended to prevent unauthorized script execution.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external sources, creating a vulnerability surface where malicious instructions could be embedded in data files or API responses.
  • Ingestion points: The skill uses Import-Csv, ConvertFrom-Json, and Invoke-RestMethod to ingest data from local files and web APIs.
  • Boundary markers: No delimiters or instructions to ignore embedded commands are present in the processing examples.
  • Capability inventory: The skill has access to powerful tools including Write, Edit, and Bash (shell access), allowing it to modify the filesystem or execute commands based on processed data.
  • Sanitization: There is no evidence of data validation, escaping, or sanitization before the ingested content is used or interpolated.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 13, 2026, 03:48 PM