| Version | Supported |
|---|---|
latest (main) |
✅ |
| older releases | ❌ — please upgrade |
Do not open a public GitHub issue for security vulnerabilities.
Email: security@rhevin.dev (or open a GitHub private security advisory)
Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix if you have one
You will receive an acknowledgement within 48 hours and a resolution timeline within 7 days.
- Command injection via compose file values passed unsanitised to
exec.Command - Path traversal in volume mount or
cphandling - Credential leakage (registry passwords, env vars) in logs or error output
- Privilege escalation via container flags
- Vulnerabilities in Apple's container CLI itself — report those to Apple
- Vulnerabilities in
compose-go— report those to the compose-spec project - Social engineering
- Denial-of-service against the local machine
apple-compose is a local CLI tool. It:
- Shells out to
container(Apple's CLI) — it does not run as root or request elevated privileges - Reads
docker-compose.ymlfrom the current directory — treat untrusted compose files the same as untrusted shell scripts - Stores registry credentials via Apple's container CLI credential store — apple-compose itself never writes credentials to disk
- Does not open network ports or run a daemon
A docker-compose.yml can specify:
- Arbitrary
commandvalues executed inside containers - Volume mounts that expose host filesystem paths to containers
- Environment variables including secrets
Only run apple-compose up on compose files you trust, the same as you would with docker compose up.
Secrets passed via environment: in a compose file are forwarded as --env KEY=VALUE arguments to container run. They appear in the process argument list and may be visible to other processes on the same machine via ps. Use .env files with restricted permissions (chmod 600 .env) for sensitive values.
Dependencies are pinned in go.sum. To audit:
go list -m all
govulncheck ./... # requires: go install golang.org/x/vuln/cmd/govulncheck@latest