Skip to main content

powershell-shell-detection

Provides guidance for detecting and handling PowerShell and Git Bash environments on Windows, ensuring compatibility across shells.

Install this skill

or
81/100

Security score

The powershell-shell-detection skill was audited on May 13, 2026 and we found 7 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 16

Access to .env file

SourceSKILL.md
161. **process.env.PSModulePath** (PowerShell specific)
medium line 17

Access to .env file

SourceSKILL.md
172. **process.env.MSYSTEM** (Git Bash/MinGW specific)
medium line 18

Access to .env file

SourceSKILL.md
183. **process.env.WSL_DISTRO_NAME** (WSL specific)
low line 463

External URL reference

SourceSKILL.md
463- [PowerShell Documentation](https://learn.microsoft.com/powershell)
low line 464

External URL reference

SourceSKILL.md
464- [Git for Windows Documentation](https://git-scm.com/doc)
low line 465

External URL reference

SourceSKILL.md
465- [MSYS2 Documentation](https://www.msys2.org/docs/what-is-msys2/)
low line 466

External URL reference

SourceSKILL.md
466- [Cygpath Documentation](https://www.cygwin.com/cygwin-ug-net/cygpath.html)
Scanned on May 13, 2026
View Security Dashboard
Installation guide →