compliancekit is a security tool. Vulnerabilities in it directly weaken the posture of every organisation that runs it, so we take reports seriously and respond quickly.
| Version | Status | Security fixes |
|---|---|---|
1.0.x |
active | yes |
0.22.x |
last pre-1.0 minor | yes (until 2026-11-18) |
< 0.22 |
unsupported | no |
Once a release reaches v1.0, security patches land on the last two
minor versions for at least two years from that minor's release
date. For the v1.x line this means:
- The active minor always receives security patches.
- The previous minor receives security patches for two years after its own release.
- Behavioural changes that break the public API surface
(
pkg/compliancekit) require a major-version bump per SemVer 2.0; they cannot ship as a patch or minor.
The two-year window is a floor, not a ceiling — minors with active
embedders may be extended on request. Pre-v1.0 versions did not
carry a stability promise; the table above reflects the actual
end-of-support dates the project commits to.
pkg/compliancekit is the SemVer-stable surface. The contract is
machine-enforced by go run ./cmd/genapi -check in CI — adding,
renaming, or removing any exported identifier under that package
requires a paired diff to pkg/compliancekit/api.txt. Anything under
internal/ is explicitly NOT covered by the SemVer promise and may
change in any release; consumers who reach across that boundary do so
at their own risk. See ADR-014
for the full scope rationale.
The non-exhaustive list:
- Code execution in the compliancekit binary triggered by attacker-controlled
input (a malformed
findings.json, a maliciousinventory.yaml, a poisoned godo response). - Path traversal or directory escape from the evidence pack writer.
- Disclosure of secrets in scan output, logs, or evidence packs that the redactor should have masked.
- Bypasses of the framework / severity gating in CI -- e.g. a finding that should produce exit code 2 but does not.
- SSH transport flaws that downgrade host-key verification or accept unauthenticated connections.
- Supply-chain issues: a release with a tampered binary, a broken cosign signature, an SBOM that omits a real dependency.
Bug-bounty-style findings outside the scope above (general DoS via large
inputs, slow loris on serve mode (v1.3+), etc.) are valid bug
reports but go to the public issue tracker, not the disclosure channel
below.
Use GitHub Private Vulnerability Reporting at:
https://github.com/darpanzope/compliancekit/security/advisories/new
Or, if you cannot use GitHub: email darpanzope@gmail.com with the
subject prefix [compliancekit-security]. We do not run a separate
security mailbox at this time.
Please include:
- The compliancekit version (
compliancekit version). - A minimal reproducer -- a script, a sample input file, exact CLI flags.
- Your assessment of impact and a CVSSv3.1 score if you have one (we will compute one ourselves either way).
- Whether you intend to publish, and on what timeline.
Do not open a public issue, do not include the reproducer in a public PR, and do not post on the project's Discussions tab before coordinated disclosure.
| When | What |
|---|---|
| within 3 working days | acknowledge receipt, assign a tracking ID |
| within 7 working days | confirm or dispute the vulnerability |
| within 14 working days | propose a fix and a disclosure timeline |
| at coordinated disclosure | publish a security advisory, ship a patch release, credit reporter |
The default disclosure window is 45 days from confirmation. We will
ask for an extension on findings that need an upstream fix (a Go stdlib
issue, a godo change) and proactively cut it short when the bug is
already being exploited in the wild.
We credit every researcher who reports a confirmed vulnerability in the release notes and in the relevant security advisory. If you would prefer to remain anonymous, say so in your initial report.
- The Homebrew tap, GitHub Action, and Docker image at
ghcr.io/darpanzope/ compliancekitare first-party but are released by the same goreleaser pipeline as the binaries; report issues against them here. - Misconfigurations in your compliancekit deployment (an unprotected evidence pack served from a public S3 bucket, say) are operational issues, not vulnerabilities -- unless the misconfiguration is the documented default.
- The evidence pack redacts AWS access keys, GitHub PATs, Slack tokens,
bearer headers, and email addresses by default;
--include-rawis the documented opt-out. MANIFEST.sha256covers every file in the pack; tampering after the fact is detectable withsha256sum -c MANIFEST.sha256.- Releases are cosign-signed (keyless via GitHub OIDC) and ship with a Syft-generated SBOM.
- The binary is
CGO_ENABLED=0-built and statically linked, eliminating an entire class of dynamic-linker attacks. govulncheckruns on every CI build against the call graph; vulnerable stdlib paths block merge.
- Session cookies default to
__Host-ck_sessionwithSecure,HttpOnly,SameSite=Lax, andPath=/. The__Host-prefix is browser-enforced (noDomain, no insecure transport). Plain-HTTP dev deploys (e.g. behind a TLS-terminating proxy on a private network) can opt in to a non-__Host-cookie viacompliancekit serve --insecure-cookies— production must never set this flag (v1.5.1 F17). - CSRF: every cookie-auth POST/PUT/DELETE on the API + every
mutating UI form is gated by a double-submit-cookie check. Forms
render
<input type="hidden" name="csrf_token" value="...">; fetch-based callers mirror the readableck_csrfcookie into theX-CSRF-Tokenheader. Bearer-token callers skip CSRF since the token isn't a browser-resident credential (v1.5.1 F16). - Session-auth scope gate: non-admin local users created via
compliancekit serve users create(no--adminflag) only have read scopes against the v1 API. Write actions (POST scans, PUT providers, DELETE waivers, etc.) requireIsAdmin = true(v1.5.1 F18). - OIDC: Google / Okta / GitHub / custom upstreams are wired
via
CK_OIDC_<PROVIDER>_{CLIENT_ID,CLIENT_SECRET,REDIRECT_URL, ISSUER_URL}env vars. Partial config is logged + skipped; the daemon never refuses to boot for a malformed OIDC config (v1.5.1 F15). - Content Security Policy:
default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-ancestors 'none'; ....'unsafe-eval'is required for Alpine 3's expression evaluator (see ADR-018);'unsafe-inline'is required for Tailwind's compiled utility classes. Inline<script>blocks are forbidden — both extracted in v1.5.1. - Webhook signing secrets are stored plaintext at-rest in the
daemon's database file. Operators secure the DB at rest; the
v1.6 hardening track adds encryption-at-rest with a daemon-side
KEK. The v1.3-era
secret_hash(bcrypt) design was unusable as an HMAC key and was renamed in v1.5.1 (F19, migration 0006).