We release patches for security vulnerabilities for the following versions:
| Version | Supported |
|---|---|
| Latest | ✅ |
| < Latest | ❌ |
We take the security of pwsh-prelude seriously. If you believe you have found a security vulnerability, please report it to us as described below.
Please do not report security vulnerabilities through public GitHub issues.
Instead, please report them via email to the repository maintainer or through GitHub's private vulnerability reporting feature.
Please include the following information in your report:
- Type of issue (e.g., buffer overflow, SQL injection, cross-site scripting, etc.)
- Full paths of source file(s) related to the manifestation of the issue
- The location of the affected source code (tag/branch/commit or direct URL)
- Any special configuration required to reproduce the issue
- Step-by-step instructions to reproduce the issue
- Proof-of-concept or exploit code (if possible)
- Impact of the issue, including how an attacker might exploit it
This information will help us triage your report more quickly.
When using pwsh-prelude, please be aware of the following security considerations:
- Functions that accept credentials or tokens (e.g.,
Invoke-WebRequestBasicAuth,New-GitlabRunner) handle sensitive data - Never hardcode credentials in scripts
- Use secure credential storage mechanisms (Windows Credential Manager, Secret Management modules, etc.)
- Be cautious when using
-Verboseor logging, as sensitive data may be exposed
- Always validate SSL/TLS certificates when making web requests
- Be cautious when using
-SkipCertificateChecksparameter - Sanitize and validate all user input before including it in web requests
- Functions that modify system files (e.g.,
Update-HostsFile) require elevated privileges - Always validate file paths to prevent path traversal attacks
- Be cautious when executing downloaded content
- Functions that use
Invoke-Expressionhave been marked with appropriate suppressions - Be extremely cautious when executing code from untrusted sources
- Always validate and sanitize input before using with
Invoke-Expression
Register-GitlabRunnercreates Docker containers with elevated permissions- Only register runners on trusted infrastructure
- Regularly rotate runner tokens
- Monitor runner activity for suspicious behavior
We prefer all communications to be in English.
This security policy may be updated from time to time. Please check back regularly for any changes.