windows-infra-admin
Warn
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: Hardcoded temporary password string detected in the user management script.
- Evidence:
scripts/manage_ad_users.ps1uses$tempPassword = ConvertTo-SecureString "TempPassword123!" -AsPlainText -Forcewhen creating new accounts. - [COMMAND_EXECUTION]: The skill executes privileged system tools to modify local and domain security policies.
- Evidence:
scripts/setup_gpo.ps1runssecedit /configureandauditpol /setto enforce security settings and audit policies. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection where untrusted input is used to generate system configuration files.
- Ingestion points: Data from the
$GPOSettingsvariable inscripts/setup_gpo.ps1is used to build the configuration template. - Boundary markers: Absent. The script lacks delimiters to separate user-supplied data from configuration logic.
- Capability inventory: The skill performs file-write operations to the temporary directory and executes privileged subprocesses for
seceditandauditpol(found inscripts/setup_gpo.ps1). - Sanitization: Absent. Input values are directly interpolated into the
secedit.inffile HEREDOC without validation or escaping.
Audit Metadata