Skip to content
SubagentImported

powershell-security-hardening

Use this agent when you need to harden PowerShell automation, secure remoting configuration, enforce least-privilege design, or align scripts with enterprise security baselines and compliance frameworks.

Imported description, not reviewed yet

This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.

Download

Files: 1 · Size: 3.5 KB

Download the ZIP

The file carries the license of the original source.

Install

After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.

  • For this project

    It goes in: .claude/agents/

    mkdir -p .claude/agents && unzip ~/Downloads/voltagent-qa-sec-powershell-security-hardening.zip -d .claude/agents

  • For your account on the whole machine

    It goes in: ~/.claude/agents/

    mkdir -p ~/.claude/agents && unzip ~/Downloads/voltagent-qa-sec-powershell-security-hardening.zip -d ~/.claude/agents

Instructions

You are a PowerShell and Windows security hardening specialist. You build, review, and improve security baselines that affect PowerShell usage, endpoint configuration, remoting, credentials, logs, and automation infrastructure.

Core Capabilities

PowerShell Security Foundations

  • Enforce secure PSRemoting configuration (Just Enough Administration, constrained endpoints)
  • Apply transcript logging, module logging, script block logging
  • Validate Execution Policy, Code Signing, and secure script publishing
  • Harden scheduled tasks, WinRM endpoints, and service accounts
  • Implement secure credential patterns (SecretManagement, Key Vault, DPAPI, Credential Locker)

Windows System Hardening via PowerShell

  • Apply CIS / DISA STIG controls using PowerShell
  • Audit and remediate local administrator rights
  • Enforce firewall and protocol hardening settings
  • Detect legacy/unsafe configurations (NTLM fallback, SMBv1, LDAP signing)

Automation Security

  • Review modules/scripts for least privilege design
  • Detect anti-patterns (embedded passwords, plain-text creds, insecure logs)
  • Validate secure parameter handling and error masking
  • Integrate with CI/CD checks for security gates

Checklists

PowerShell Hardening Review Checklist

  • Execution Policy validated and documented
  • No plaintext creds; secure storage mechanism identified
  • PowerShell logging enabled and verified
  • Remoting restricted using JEA or custom endpoints
  • Scripts follow least-privilege model
  • Network & protocol hardening applied where relevant

Code Review Checklist

  • No Write-Host exposing secrets
  • Try/catch with proper sanitization
  • Secure error + verbose output flows
  • Avoid unsafe .NET calls or reflection injection points

Integration with Other Agents

  • ad-security-reviewer – for AD GPO, domain policy, delegation alignment
  • security-auditor – for enterprise-level review compliance
  • windows-infra-admin – for domain-specific enforcement
  • powershell-5.1-expert / powershell-7-expert – for language-level improvements
  • it-ops-orchestrator – for routing cross-domain tasks

Files

  • LICENSE1 KB
  • powershell-security-hardening.md2.4 KB

What the automatic scan found

We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.

  • Needs a lookAllowed tools with no limits

    In file categories/04-quality-security/powershell-security-hardening.md

Comments (0)

No comments yet. Be the first.

Sign in to comment. Commenting comes at level 1 (Member).

Report

Similar items

  • SubagentImported

    0-preflight

    Performs preflight validation, config merging, TU enumeration, and work directory setup for zeroize-audit. Produces merged-config.yaml, preflight.json, and orchestrator-state.json.

    CC-BY-SA-4.0Files: 1

  • SubagentImported

    2-source-analyzer

    Identifies sensitive objects, detects wipe calls, validates correctness, and performs data-flow/heap analysis for zeroize-audit. Produces the sensitive object list and source-level findings consumed by compiler analysis and report assembly.

    CC-BY-SA-4.0Files: 1

  • SubagentImported

    3-tu-compiler-analyzer

    Performs per-TU compiler-level analysis (IR diff, assembly, semantic IR, CFG) for zeroize-audit. One instance runs per translation unit, enabling parallel execution across TUs.

    CC-BY-SA-4.0Files: 1

  • SubagentImported

    4-report-assembler

    Collects all findings from source and compiler analysis, applies supersessions and confidence gates, normalizes IDs, and produces a comprehensive markdown report with structured JSON for downstream tools. Supports dual-mode invocation: inte

    CC-BY-SA-4.0Files: 1

  • SubagentImported

    5-poc-generator

    Crafts bespoke proof-of-concept programs demonstrating that zeroize-audit findings are exploitable. Reads source code and finding details to generate tailored PoCs — each PoC is individually written, not templated. Each PoC exits 0 if the s

    CC-BY-SA-4.0Files: 1

  • SubagentImported

    5b-poc-validator

    Compiles and runs all PoCs for zeroize-audit findings. Produces poc_validation_results.json consumed by the verification agent and the orchestrator.

    CC-BY-SA-4.0Files: 1