We release patches for security vulnerabilities for the latest minor version:
| Version | Supported |
|---|---|
| 0.10.x | ✅ |
| < 0.10 | ❌ |
We take security bugs seriously. We appreciate your efforts to responsibly disclose your findings, and will make every effort to acknowledge your contributions.
Please do not report security vulnerabilities through public GitHub issues.
Instead, report them privately through GitHub: Report a vulnerability (the "Security" tab of the repository → "Report a vulnerability").
Please include the following information in your report:
- Type of issue (e.g., privilege escalation, command injection, information disclosure)
- Full paths of source file(s) related to the manifestation of the issue
- 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 the issue
- Acknowledgment: We will acknowledge receipt of your vulnerability report within 48 hours.
- Communication: We will keep you informed about our progress throughout the process.
- Resolution: We aim to resolve critical issues within 90 days of the initial report.
- Credit: If you would like, we will credit you in any public disclosure of the vulnerability.
process-wrapper serves /readiness, /liveness, /status, /pids, /pidof, /heartbeat, /prommerge and /metrics
on HEALTH_SOCKET (default :8111) without authentication. These endpoints expose process names, PIDs and metrics,
and PATCH /heartbeat changes the state of heartBeat probes.
- Don't expose the health port outside the pod; use Kubernetes network policies to restrict access.
- Bind it to localhost (
HEALTH_SOCKET=127.0.0.1:8111) when only local probes need it.
- The images run as an unprivileged user (UID/GID
1010). The slim image supports a read-only root filesystem. - Supervised commands,
postStartcommand hooks andexecprobes run with the identity, working directory and process attributes of the supervised command. sysProcAttroptions that switch credentials or usechrootneed root or the corresponding capabilities. Grant them only when you need them.- Signals are sent to the whole process group, and descendants are stopped with the command.
- Credentials in
sqlandamqpprobes, inpostStartSQL hooks and in the Pyroscope URL are taken from the configuration and environment variables. Keep them in Kubernetes Secrets and mount them as env vars orenvsFile. - The Pyroscope URL with credentials is passed to
phpscopeas a command line argument, so it is visible in the process list of the container. - process-wrapper logs the Pyroscope URL with the credentials redacted.
- Keep Updated: Regularly update to the latest version
- Network Policies: Restrict access to the health port
- Least Privilege: Run as non-root with
readOnlyRootFilesystem,allowPrivilegeEscalation: falseand dropped capabilities - Secrets: Don't put credentials into the configuration file in plain text
- Dependency Scanning: Dependabot is configured to keep dependencies up to date
- Code Review: All changes require code review before merging
- Security Testing: Include security-focused tests for new features
- Static Analysis: golangci-lint (with gosec), gosec, govulncheck and Trivy run as part of CI
Security updates will be released as patch versions and announced via:
- GitHub Security Advisories
- Release notes
We would like to thank the following individuals for responsibly disclosing security issues:
None yet - be the first!