windows-ps-security

Pass

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The reference files contain example commands with literal strings for passwords, such as "SecurePass123", "tempSetupPassword", and "P@ssw0rd". While intended as placeholders, using literal strings in documentation can lead to insecure copy-paste practices.
  • [EXTERNAL_DOWNLOADS]: The skill documentation includes commands to install several external PowerShell modules from the PowerShell Gallery, including Carbon, PSWindowsUpdate, SecurityPolicyDsc, AuditPolicyDsc, NetworkingDsc, and CredentialManager. It also references the Microsoft LGPO tool. These are well-known administrative tools and resources.
  • [COMMAND_EXECUTION]: The skill uses cmdlets like Invoke-Command and Invoke-CimMethod to perform operations on remote systems, which is expected for administrative tasks but provides a high level of system access.
  • [INDIRECT_PROMPT_INJECTION]: 1. Ingestion points: The Get-SecurityPosture function in credentials-applocker-compliance.md reads TargetUserName and SourceIP fields from Windows Security Event ID 4625 (Failed Logon). 2. Boundary markers: Absent. The data is interpolated directly into the report string. 3. Capability inventory: The skill uses Tee-Object to write the audit results to a file (credentials-applocker-compliance.md). 4. Sanitization: Absent. The skill does not sanitize or escape the event log data before including it in the report, allowing potentially malicious strings provided by an external attacker to be reflected into the generated security posture file.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 28, 2026, 12:52 PM