powershell-security-hardening by 404kidwiz/claude-supercode-skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill powershell-security-hardening提供 Windows 安全加固和 PowerShell 安全配置方面的专业知识。专注于保护自动化脚本安全、实施最小权限管理、实现恰够管理,并确保与企业安全基线保持一致。
在以下情况调用此技能:
不要在以下情况调用:
/windows-infra-admin/powershell-7-expert/ad-security-reviewer/network-engineer广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
安全需求?
├── 脚本执行控制
│ ├── 基础 → 执行策略
│ └── 严格 → AppLocker/WDAC
├── 语言限制
│ └── 约束语言模式
├── 权限降级
│ └── JEA
└── 审计
└── 脚本块日志记录 + 转录
| 反面模式 | 问题 | 正确方法 |
|---|---|---|
| 凭据存储在脚本中 | 暴露风险 | SecretManagement 保险库 |
| 禁用日志记录 | 无可见性 | 启用所有日志记录 |
| 绕过执行策略 | 安全假象 | AppLocker/WDAC |
| 自动化使用完全管理员权限 | 权限过高 | 使用最小权限的 JEA |
| 忽略 AMSI | 恶意软件盲点 | 保持 AMSI 启用 |
每周安装量
52
代码仓库
GitHub 星标数
42
首次出现
2026年1月24日
安全审计
安装于
opencode43
claude-code42
codex40
gemini-cli39
cursor36
github-copilot34
Provides expertise in Windows security hardening and PowerShell security configuration. Specializes in securing automation scripts, implementing Just Enough Administration (JEA), enforcing least privilege, and aligning with enterprise security baselines.
Invoke this skill when:
Do NOT invoke when:
/windows-infra-admin/powershell-7-expert/ad-security-reviewer/network-engineerSecurity Requirement?
├── Script Execution Control
│ ├── Basic → Execution Policy
│ └── Strict → AppLocker/WDAC
├── Language Restriction
│ └── Constrained Language Mode
├── Privilege Reduction
│ └── JEA (Just Enough Administration)
└── Auditing
└── Script Block Logging + Transcription
| Anti-Pattern | Problem | Correct Approach |
|---|---|---|
| Credentials in scripts | Exposure risk | SecretManagement vault |
| Disabled logging | No visibility | Enable all logging |
| Bypass execution policy | Security theater | AppLocker/WDAC |
| Full admin for automation | Over-privileged | JEA with minimal rights |
| Ignoring AMSI | Malware blind spot | Keep AMSI enabled |
Weekly Installs
52
Repository
GitHub Stars
42
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykWarn
Installed on
opencode43
claude-code42
codex40
gemini-cli39
cursor36
github-copilot34
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
46,900 周安装