Please report security vulnerabilities through GitHub Security Advisories.
Do not open a public issue for security vulnerabilities.
You should receive a response within 48 hours. If the vulnerability is confirmed, a fix will be released as soon as possible.
| Version | Supported |
|---|---|
| latest main | Yes |
This provider follows these security principles:
- Minimal privilege: The provider only requires a Coolify API token. It does not need SSH access, database credentials, or host-level permissions.
- No credential storage: API tokens are passed via environment variables or
provider configuration, never stored in state beyond what Terraform requires.
Sensitive fields (private keys, passwords, tokens) are marked
Sensitive: truein the schema, which tells Terraform to redact them from plan output. - Input validation at plan time: UUID format, FQDN, and cron syntax validators catch malformed input before any API call is made.
- TLS by default: All API communication uses HTTPS. The HTTP client enforces TLS certificate verification.
- No shell execution: The provider never executes shell commands or spawns subprocesses. All operations are HTTP API calls.
- FIPS 140-3 compliance: Release builds use
GOFIPS140=latestfor FIPS-compliant cryptographic primitives.
- Dependencies are scanned weekly by Govulncheck, Trivy, and Gitleaks
- Dependabot monitors Go modules and GitHub Actions for updates
- GitHub Dependency Review checks every PR for known vulnerabilities in new dependencies
- FOSSA monitors license compliance
- CodeQL runs on every push and PR for static application security testing (SAST)
- OpenSSF Scorecard runs weekly and reports supply chain security posture
- Test credentials use placeholder values (
"test-token") - No real API tokens or secrets are committed to the repository
.gitleaks.tomlallowlists suppress false positives in test fixtures and examplestools/osv-scanner.tomlignores GO-2026-5932 (unfixedx/crypto/openpgpadvisory; not imported;govulncheckclean)
The following measures provide confidence that this provider handles credentials and infrastructure state correctly:
| Threat | Mitigation | Verification |
|---|---|---|
| Credential leakage in logs | All sensitive fields marked Sensitive: true |
Unit tests verify plan output redaction |
| Credential leakage in state | Terraform encrypts state at rest (user responsibility) | Provider does not control state backend |
| Malicious dependency | Dependabot, Govulncheck, Trivy, Dependency Review | Automated weekly scans + PR-level checks |
| Supply chain attack on CI | Pinned action SHAs, Scorecard monitoring | scorecard.yml workflow, no mutable tags |
| API token exposure in examples | Placeholder values enforced by Gitleaks | .gitleaks.toml rules + CI enforcement |
| Injection via user input | No shell execution; all input is HTTP API parameters | Static analysis via CodeQL |