9.8 KiB
OWASP_TRACKER (2026-10-09, updated after FG-1..14 merged)
Finding IDs and fix groups (FG-n) are defined in final-report.md (§3, §5).
Fix state as of this update: merged to main: FG-1 (ACME), FG-2 (key egress), FG-3 (RBAC
escalation, audit.read), FG-4 (SSH policy), FG-5 (token/secret hardening, D-125), FG-7
(login/session), FG-8 (egress guard), FG-9 (issuance policy), FG-10 (plugins/MCP), FG-11
(cloud KMS), FG-12 (IaC/CI), FG-13 (dependencies), FG-14 (docs), the multi-tenancy
experimental gate (D-123) and the W20-26/27 write gate. Deferred to v0.10: FG-6a/6b
(tenant isolation; multi-tenancy is EXPERIMENTAL in v0.9, see final-report.md §6).
Statuses are what the code does now, not a re-audit: no category was re-scanned after the
fixes, only each fix's regression tests ran. Confidence is the original audit's per-category score.
Status vocabulary: FIXED = every single-tenant finding in the category is closed;
RESIDUAL = listed risks remain that no fix group covered; OPEN (MT) = open only with
MULTI_TENANCY=true.
| Cat | Status | Confidence | Fixed, and what remains |
|---|---|---|---|
| A01 Broken Access Control | AUDITED, FIXED single-tenant / OPEN (MT) | 7 | Fixed: A01-004 GET /api/v1/audit and /audit/transparency/* need audit.read (handlers_audit.go, handlers_audit_trust.go, authz_grant.go requireReadPermission); TM-08 users/roles/api-keys grant only what the caller holds, and a delegate cannot change a user or role above its own grant (FG-3, authz_grant.go); A01-003 approval double execution (FG-2); A01S-4 SSH principals (FG-4). Residual: the write gate (authz_write_gate.go) still covers writes only, other reads are authenticated and checked per handler; API issuance without a template is allowed and audited as name_policy: none (handlers_certificates.go:193). Multi-tenancy only (FG-6a/6b, v0.10): A01-001, A01S-3, A01-002, A01-006w, A01S-5/6, A01-005/007; tenant admin is platform admin. |
| A02 Cryptographic Failures | AUDITED, FIXED / RESIDUAL | 7 | Fixed: A2A7-001 backup/escrow/BYOK dual control, default on (FG-2, D-122); A02-3 HS256 and login signing secrets under 32 bytes are startup errors, A02-4 OIDC issuer and audience required, nbf checked (FG-5); A2A7-002 login password is Argon2id with legacy HMAC verifiers upgraded on first login (auth_password.go); OWASP-004 cookie Secure from r.TLS or a trusted proxy only (http_security.go requestIsSecure); A02-1/A02-6 no-store on /api/ and SPIFFE responses; A04-002 RSA-1024 (FG-1); CLOUD-002/003/008 KMS tags, HSM default on GCP/Azure, key id validation (FG-11). Residual: dual control can be turned off (KRYPTKEEPER_KEY_DUAL_CONTROL=false, warned at startup); CLOUD-004 static cloud tokens in env; SPIFFE key_pem is still returned in the response (no-store, rate limited, generic error). |
| A03 Injection | AUDITED, RESIDUAL | 7 | SQL is parameterised (SEMGREP FP). A03-2 ACME name handling fixed in FG-1. Residual: OWASP-A03-001 WinRM cmdQuote misses `& |
| A04 Insecure Design | AUDITED, FIXED / RESIDUAL | 7-8 | Fixed: A04-001 ACME issues only validated DNS names (CallerNamesOnly at internal/acme/server.go:687); A04-004 nonce FIFO eviction (internal/acme/nonce.go); A04-005 discovery target cap and deny list (FG-8); SUP-A04-3 template name_policy enforced in the CA engine on API, bulk reissue and WSTEP paths (FG-9); SUP-A04-2 CMP checks senderKID, rejects reused transactionID+senderNonce, optional KRYPTKEEPER_CMP_ALLOWED_DNS_SUFFIXES (internal/cmp/server.go). Residual: renewal enforces only the predecessor template's name policy, not the full template (PQC migration waves renew onto ML-DSA); CMP has one shared secret and reference per server, and without the suffix list a secret holder can obtain any name (logged at startup); the CMP replay cache is per process and in memory; A04-003 CMP PBM iteration count still accepted up to 1,000,000 (internal/cmp/protection.go:79). |
| A05 Security Misconfiguration | AUDITED, FIXED / RESIDUAL | 7 | Fixed: OWASP-003 baseline headers (nosniff, X-Frame-Options: DENY, frame-ancestors 'none', Referrer-Policy, HSTS on TLS) from internal/bootstrap/http_security.go, dashboard headers in nginx; IAC-001..008 Terraform TLS, secrets out of state, digest-pinned image, Helm probes follow TLS, workflow input via env, permissions: set, actions SHA-pinned (FG-12); SEMGREP-003 k8s SkipVerify removed, CA file supported (FG-11). No CORS; CSRF mitigated by SameSite=Strict (docs/SECURITY_CSRF_POSTURE.md). Residual: TM-44 the app accepts sslmode=disable Postgres DSNs, no fix group. |
| A06 Vulnerable Components | AUDITED, FIXED | 7 | DEP-001/002 provider gRPC and x/net, DEP-004/005 UI dependencies, DEP-011 action pins (FG-13); the FG-13 commit reports govulncheck clean on all modules (not re-run for this docs update). No CISA KEV hits. Residual: dependency state decays; re-run govulncheck and npm audit before release. |
| A07 Auth Failures | AUDITED, FIXED / RESIDUAL | 7-8 | Fixed: A07-4 proposer != approver by human identity, API keys record created_by (FG-2); A07-6 bootstrap token constant-time, warned under 32 chars, KRYPTKEEPER_DISABLE_BOOTSTRAP_TOKEN (FG-5); jwt/oidc bearer tokens are viewer unless APP_AUTH_ROLE_CLAIM and APP_AUTH_ROLE_MAP_JSON map a role (FG-5, D-125); A2A7-003 logout revokes the login session's refresh tokens plus a body-supplied one, refresh re-reads role and status from the user store (handlers_auth.go, auth_identity.go); A2A7-004 unknown-kid JWKS refetch limited to one per 30 s (auth_oidc.go:60); A2A7-006 first-login email link requires email_verified; A2A7-007 OIDC nonce and browser-bound state cookie; A2A7-008 SAML InResponseTo binding, assertion replay cache, IdP-initiated off unless APP_SAML_ALLOW_IDP_INITIATED=true (auth_saml_guard.go); A07-5/A07-8 per-account login backoff. Residual: the access JWT stays valid until expiry after logout (default 900 s, APP_AUTH_ACCESS_TTL_SEC) and keeps its minted role until then; refresh tokens and the SAML and OIDC flow tables are in memory per process, so a restart or another replica forgets them (sticky routing needed, replay across replicas not caught); a JWKS key rotation can take up to 30 s to be picked up; per-account backoff lets someone who knows the admin email lock that account for up to 5 minutes at a time (auth_login_state.go); refresh fails open on a user-store error; the bootstrap token is permanent unless the operator disables it. |
| A08 Integrity Failures | AUDITED, FIXED / RESIDUAL | 7 | Delivery plugins: cosign ECDSA P-256 manifest check offline, unsigned plugin is community tier (delivery_plugin_signing.go), module SHA-256 checked on every load (internal/plugins/delivery/runtime.go). Fixed: A08-001 without elevated_exec the host refuses escalation tools, shells and interpreters with an inline command, and wrappers launching either (internal/plugins/delivery/escalation.go, host.go); SUP-A08-1 any network capability is High tier (sdk/delivery-go/abi/manifest.go Tier); IAC-004/008 unpinned images (FG-12). The audit log has a Merkle transparency log (internal/audittrust). Residual: the escalation check is a denylist on argv shapes, not a sandbox, so a granted remote_exec plugin can still run arbitrary non-elevated commands. |
| A09 Logging Failures | AUDITED, RESIDUAL | 7 | Auth, deny and refused-grant events are audited. Fixed: LLM-001/A01-004 audit reads need audit.read, MCP audit_query removed (FG-3, FG-10). OWASP-001 audit source IP now comes from the trusted-proxy-aware resolver internal/clientip (rightmost untrusted X-Forwarded-For; FB-10, PR #81), so a caller cannot forge it. Also fixed: FB-04 audit appends survive request cancellation and failures are counted (kryptkeeper_audit_append_failures_total), FB-06 SIEM forwarding is wired (PR #77). Residual, no fix group: OWASP-002 audit tenant comes from the raw X-Tenant header (auditRequestTenant), an MT-only issue (v0.10). |
| A10 SSRF | AUDITED, FIXED / RESIDUAL | 6-7 | Fixed: A10-001 ACME http-01 dial guard (internal/acme/http01.go, FG-1); SEMGREP-001 webhook, Slack and PagerDuty delivery, SEMGREP-002 inventory sources, A10-002 ACME connector probe (fixed health vocabulary) now use internal/egress clients: link-local/metadata, unspecified and multicast always refused, loopback refused, checked on the dialled IP and every redirect hop, cross-host redirects refused (internal/notifications/delivery/delivery.go, internal/bootstrap/egress_clients.go); SUP-A10-4 OIDC discovery, JWKS and token-exchange clients refuse redirects to non-https URLs (auth_oidc.go); A10-003 discovery scans refuse link-local targets always, plus KRYPTKEEPER_DISCOVERY_DENY_CIDRS, and cap targets per scan (KRYPTKEEPER_DISCOVERY_MAX_TARGETS, default 65536). Residual: RFC 1918, ULA and CGNAT space stays reachable unless KRYPTKEEPER_EGRESS_DENY_PRIVATE=true; SEMGREP-007 is fixed: the SIEM webhook sink uses the egress-guarded client (FB-06, PR #77). The OIDC/JWKS/SAML-metadata fetches and the evidence mailer are not behind the egress guard; not traced: commercial CA adapters, CT monitor. |
LLM Top 10 (MCP server) and cloud findings are tracked in LLM_FINDINGS_2026-10-09.md
and CLOUD_FINDINGS_2026-10-09.md; their fix groups are FG-10 and FG-11. Merged: MCP HTTP
transport requires KRYPTKEEPER_MCP_HTTP_TOKEN (32+ chars, constant-time), Host/Origin
allowlists and a 1 MiB body cap (internal/mcpserver/transport_http.go), tool output carries an
untrusted-data envelope, proposal bodies are capped at 64 KiB; cloud key inventory needs
key.manage or report.read (handlers_key_inventory.go). Residual: the FG-11 commits do not mention CLOUD-004 (static cloud tokens in env), CLOUD-006
(unbounded inventory pagination), CLOUD-007 (Azure vault host not pinned) or CLOUD-009 (PSS options
ignored); treat them as open.