Files
bpmforge e0d82a4ed0 Kryptkeeper 1.0.0
First stable release. Notes: docs/release/RELEASE_NOTES_v1.0.0.md
Lab record: docs/release/LIVE_RESULTS_v1.0.0.md
2026-10-19 14:43:23 -04:00

27 KiB

Independent penetration test: scope and rules of engagement (W33-29)

Status: DRAFT scope, prepared by the agent. Nothing in this document records a test that has happened. Every field that is not yet real is TBD or [HUMAN]. Owner of all [HUMAN] items: the owner.

Tracking: findings go in docs/security/PENTEST_REMEDIATION_v0.21.md. The public summary docs/release/proof-pack/PENTEST_SUMMARY.md is created only after a signed retest letter exists.

1. Purpose, window, contacts

Field Value
Purpose Independent grey-box test of the v0.21 release candidate; goal is a retest letter with 0 open critical or high findings
Vendor [HUMAN] TBD (request quotes from 2 CREST-accredited firms; choose on fixed-price grey-box scope)
Budget / SoW signed [HUMAN] TBD (owner the owner, date blank)
Test window <start> to <end> TBD [HUMAN]
Kryptkeeper engagement contact [HUMAN] TBD
Vendor lead tester [HUMAN] TBD
Emergency stop [HUMAN] TBD contact and channel; either side may halt testing immediately; the vendor stops on any sign of impact on a shared system
Vulnerability reporting channel SECURITY.md and security@kryptkeeper.io

2. RC identity (frozen build under test)

All values are filled at freeze time. No code changes to the RC during testing except agreed hotfix drops, each logged in section 11.

Item Value
Release tag v0.21.0-rc.N TBD [HUMAN]
Commit SHA TBD
Binary SHA-256 (hub, agent, mcp, audit-verify, certmanager) TBD
Image digests (hub, dashboard, agent, mcp), as recorded by .github/workflows/promote-by-digest.yml TBD
cosign signatures verified (identity and issuer) TBD
SBOM TBD (link once generated; prior reference: docs/security/sbom_2026-10-09.cdx.json)
Frozen false (set true with date, by [HUMAN])
Freeze date TBD

3. In scope: attack surface derived from this repository

Derived from internal/bootstrap/server.go, internal/*/server.go, cmd/, docs/openapi.yaml, charts/ and docker-compose.yml at base commit 09d34bdc, with section 3.6 re-verified against the W33 integration branch (57b76a39). Unless a path is given, bare *.go file names in sections 3.2, 3.4 and 3.5 are in internal/bootstrap/. The vendor receives source access (grey-box), so the list is a map, not a limit; anything reachable on the deployed RC is testable unless section 4 excludes it.

3.1 Listeners (externally reachable)

Listener Where defined Notes
Hub main listener, default :8080, TLS internal/bootstrap/server.go (RunWithProtocols, runServer); TLS selection in cmd/kryptkeeper/tls.go Serves REST API, UI-facing routes, all CA protocols and /metrics on one mux. Handler chain: withAuditTenant, withSecurityHeaders, withRequestID, withAPIRateLimiting, withWriteAuthorization. TLS 1.2 floor; client certificates requested (not verified in handshake) only when KRYPTKEEPER_TLS_REQUEST_CLIENT_CERT=true (WSTEP path)
Optional plain-HTTP revocation listener (KRYPTKEEPER_REVOCATION_HTTP_ADDR) cmd/kryptkeeper/revocation_http.go Only /crl/, /ocsp, /ocsp/; must expose nothing else
Dashboard (nginx), host :3000 in compose Dockerfile.dashboard, nginx.conf, charts/kryptkeeper/templates/dashboard-*.yaml Serves ui/ and proxies /api/ to the hub
MCP server, /mcp and /healthz cmd/kryptkeeper-mcp, internal/mcpserver/transport_http.go Bearer token, allowed Host and Origin checks, 1 MiB body cap; role from internal/bootstrap/mcp_role.go
ACME HTTP-01 solver (hub as ACME client toward upstream CAs) internal/bootstrap/connector_acme.go Outbound-initiated listener, opens a port during validation
SPIFFE Workload API (unix socket, peer credentials) internal/bootstrap/spiffe_workload_grpc.go, peercred_*.go Local only; in scope when the vendor has host access
Agent renewal helpers cmd/kryptkeeper-agent/renewguard.go, internal/agentclient/acme_renewer.go Agent-side listeners; in scope for the agent boundary (3.5)

3.2 Route groups on the hub

Base /api/v1 is documented in docs/openapi.yaml (validate with scripts/validate-openapi.sh). Mutating routes pass the write gate in internal/bootstrap/authz_write_gate.go and are expected to audit every outcome (internal/bootstrap/audit_route_matrix_test.go enumerates them from the spec). Groups by prefix:

Group Representative paths Code
Certificates and issuance /certificates, /certificate-requests, /templates, /bulk*, /renewal/* handlers_certificates.go, handlers_certificates_obo.go, handlers_templates.go, handlers_bulk.go, handlers_renewal_execute.go
CAs and keys /cas, /cas/{id}/{revoke,rotate-key,csr,chain,suspend,activate}, /keys, /keys/{id}/export, /keys/escrow*, /keys/leaf-escrow*, /keys/byok/export, /admin/backup, /admin/restore, /ssh/ca, /ssh/certificates handlers_cas.go, handlers_keys*.go, handlers_key_escrow.go, handlers_byok.go, handlers_backup.go, handlers_ssh_certs.go
Approvals /approvals, /approvals/{id}/{approve,reject}, /approvals/delegation, /approvals/inbox* handlers_approvals.go, handlers_approval_inbox.go, approval_*.go, separation_of_duties.go
Identity and sessions /auth/login, /auth/refresh, /auth/oidc/{login,callback}, /auth/saml/{login,acs}, /auth/breakglass/*, /auth/methods, /auth/role-map/preview, /users*, /roles* handlers_auth*.go, auth_oidc*.go, auth_saml*.go, breakglass*.go, handlers_users.go, authz_custom_roles*.go
SCIM 2.0 /scim/v2/Users, /scim/v2/Groups internal/bootstrap/scim.go
Tenancy and policy /tenants*, /team-policies*, /target-policy, /policies* handlers_tenants.go, handlers_team_policies.go, team_policy_enforce.go, handlers_policies.go
Config /config, /config/{key} handlers_config.go, config_store.go
Agents /agent/register, /agent/heartbeat, /agent/inventory, /agent/renewal-result, /agent/tasks, /agents* handlers_agents.go, agent_attestation.go, agent_store_db.go
Protocol credential admin /acme/eab-keys*, /acme/provisioners*, /est/users*, /est/labels*, /scep/challenges*, /cmp/credentials* handlers_acme_eab.go, handlers_acme_provisioners.go, handlers_est_*.go, handlers_scep_challenges.go, handlers_cmp_credentials.go
Targets, discovery, delivery /targets*, /target-groups*, /discovery*, /estate/*, /rollout*, delivery plugins handlers_targets*.go, handlers_discovery*.go, handlers_estate.go, handlers_rollout.go, handlers_delivery_plugins.go
Audit, reports, ops /audit*, /audit/transparency/*, /reports/*, /search, /events (SSE), /healthz, /readyz, /metrics handlers_audit*.go, handlers_reports.go, handlers_sse.go, handlers_meta.go
SPIFFE, codesign, SSH, CT /spiffe/*, /codesign/*, /ssh/*, /ct/* handlers_spiffe.go, handlers_codesign.go, handlers_ssh_certs.go, handlers_ct_findings.go

3.3 Certificate protocol endpoints (mounted by mountProtocolHandlers in internal/bootstrap/server.go)

Protocol Paths Package
ACME (RFC 8555 plus ARI, EAB, named provisioners) /acme/directory, new-nonce, new-account, new-order, order/, authz/, challenge/, finalize/, cert/, renewalInfo/, revoke-cert, key-change, /acme/<provisioner>/... internal/acme/server.go
EST (RFC 7030) /.well-known/est/{cacerts,simpleenroll,simplereenroll,csrattrs} and label paths internal/est/server.go; auth modes in docs/ops/EST_AUTH.md
SCEP /scep, /scep/ internal/scep
CMP /cmp internal/cmp
WSTEP (MS-WSTEP) and XCEP /wstep, /xcep internal/wstep, internal/xcep
OCSP /ocsp, /ocsp/<base64> internal/ocsp
CRL /crl/ internal/crl
Prometheus /metrics internal/metrics

3.4 Authentication modes and authorization

Defined in internal/bootstrap/auth.go, auth_config.go, auth_bootstrap.go. Test each mode that the RC environment enables:

  • AUTH_MODE=bootstrap (raw bootstrap token, AuthTypeBootstrap; super-admin only for this kind), jwt (HS256 bearer, auth_hs256.go), oidc (RS256 bearer with JWKS, auth_oidc.go, auth_jwks.go).
  • Login sessions (AuthTypeLocal): local Argon2id password login, OIDC authorization-code callback, SAML ACS (auth_saml.go, auth_saml_guard.go), refresh tokens, login rate limiting (auth_rate_limit.go).
  • API keys (api_key_store.go), break-glass activation and login (breakglass*.go), SCIM provisioning, role mapping from IdP claims (auth_role_map.go).
  • Roles and permissions: built-in roles, custom roles (authz_custom_roles.go), permission map in authz_write_gate.go. The environment must NOT run AUTH_MODE=bootstrap alone.

3.5 Boundaries the vendor should attack explicitly

  • Multi-tenancy boundary (MULTI_TENANCY=on): keyVisibleToTenant (handlers_keys.go), caVisibleToTenant (handlers_tenants.go), AuthenticatePrincipalDetails, X-Tenant view-as for super-admins, report_tenant_scope.go, discovery_tenant.go. Prior art: docs/release/MULTI_TENANCY_GATE_DECISION.md, docs/release/TENANT_ISOLATION_VALIDATION_v0.9.3.md, docs/design/TENANCY_POSTURE.md.
  • Two-person controls: approval engine and quorum (approval_quorum.go, APPROVAL_QUORUM_POLICY), delegation (approval_delegation.go), separation of duties (separation_of_duties.go), key dual control (key_dual_control.go), pending-action executors (pending_action_*.go), approval-gated policy and team-policy loosening (policy_versions.go, team_policy_store.go).
  • Agent boundary: agents authenticate with per-agent tokens (SHA-256 hashed, agent_store_db.go); enrollment gate in agent_attestation.go; agent code in cmd/kryptkeeper-agent, internal/agentclient, internal/agentinstall. The write gate classes /api/v1/agent/** as self-service (permSelf).
  • Plugin (WASM) boundary: delivery plugins run under wazero with a capability grant (network allow-list, https only, path prefixes, remote_exec) in internal/plugins/delivery/host.go and internal/plugins/delivery/runtime.go; signing in internal/bootstrap/delivery_plugin_signing.go and internal/bootstrap/plugin_signing_keys.txt; plugin sources in plugins/.
  • Key custody: keystore backends and passphrase handling (internal/keystore), BYOK, escrow, leaf escrow, backup and restore.
  • Outbound egress / SSRF: internal/egress, egress_clients.go, connectors, discovery scanners, webhook and SIEM delivery, OIDC discovery probes.

3.6 New surfaces in the v0.21 (Wave 33) RC

Re-verified against the W33 integration branch (kk/w33-a at 57b76a39, all lanes merged); confirm again at freeze. Every surface below is present in code. Paths are relative to the repository root. Specs are in docs/board/specs/ (W33-02, -03, -04, -06, -20 to -24).

Surface Where Behaviour in code Attack goals
User preferences: GET/PUT /api/v1/users/me/prefs (W33-03) internal/bootstrap/handlers_user_prefs.go Store key is the authenticated principal id (pd.ID), never client-supplied; one field (onboarding_dismissed); body cap userPrefsMaxBody (4096); PUT audited as user.prefs.set; 503 when the store is nil Read or write another principal's row (IDOR via path, query, body or header); unknown-field and oversize-body handling; behaviour for bootstrap-token, API-key and break-glass principals (shared or empty id collides rows); mass assignment of future fields
Config overrides: GET /api/v1/config, PUT/DELETE /api/v1/config/{key} (W33-04, W33-06) internal/bootstrap/handlers_config.go, config_store.go, auth_config.go Registry of known keys only (lookupConfigKey, unknown is 404); PUT and DELETE need admin role plus denyNonSuperAdminGlobal; secret values (scim.token, sso.oidc_jwks_json, SMTP password, webhook URLs) are encrypted at rest and never echoed; every outcome audited (config.set, config.reset, config.list) Set a non-registry or secret key; tenant admin writing instance-wide keys; read secrets back through list, audit detail or error text; override SCIM token or SAML certificate to take over provisioning or login; value length limit (configValueMaxLen)
SSO lock-out guard and OIDC discovery probe internal/bootstrap/auth_config.go (ssoOverrideGuard, hasEnabledLocalAdmin, probeOIDCDiscovery, oidcProbeClient), config_store.go (ssoLockoutGuardedKeys) A set of sso.oidc_issuer, sso.oidc_audience, sso.oidc_discovery_url or sso.oidc_jwks_json is refused with 409 unless an enabled local admin with a password exists; issuer and discovery URL changes are probed first (https only, 3 s timeout, 200 JSON whose issuer matches and which names jwks_uri, 1 MiB cap, coarse error text, no body reflection) through egress.NewClient (oidcProbeClient), so the egress policy applies. DELETE (reset) is never guarded. jwks_json and audience are guarded by the local-admin check only (no probe) Save an SSO override that disables all logins; make the guard pass with a stale or disabled local admin; SSRF through the probe to loopback, link-local, metadata or internal hosts, via DNS rebinding, redirects or an https-to-internal hop (compare the internal/egress policy, loaded by egress.PolicyFromEnv); probe as a blind oracle (timing, status text) for internal services; swap the audience or JWKS so tokens validate for an attacker issuer; recover via break-glass and DELETE
Break-glass local session in oidc mode internal/bootstrap/auth.go (localSessionPrincipal, called from the bearer path), auth_bootstrap.go, breakglass*.go In AUTH_MODE=oidc, a bearer that is not a valid IdP token is tried as a local-login HS256 session JWT (cfg.loginSigning, issuer and audience checked); role comes from the token's role claim, admin roles get scope *; principal AuthType is AuthTypeLocal Forge or replay a local session JWT (weak or default signing secret, alg confusion, missing expiry); role claim escalation; local session accepted when local login is disabled; session survives a password change or user disable; token minted in jwt mode accepted in oidc mode
Team policies: /api/v1/team-policies, /api/v1/team-policies/{team} (W33-20) internal/bootstrap/handlers_team_policies.go, team_policy_store.go Reads: admin and auditor see all teams in the tenant, anyone else only their own team (team equals principal id), never the list; writes need pki-admin; another tenant's team answers 404; ?tenant= honoured only for tenant-bypass principals; loosening (delete, empty a list, widen a list, raise or zero a cap or quota) is parked as pending action team_policy.loosen for a second approver (newTeamPolicyLoosenExecutor); creating a policy applies at once Cross-team policy read (list, GET with guessed team, %2541 style double decoding, case or whitespace variants); cross-tenant read or write (must be 404); loosening applied without a second approver (PATCH sequences that net-widen, delete then recreate, approver equals proposer); ?tenant= abuse by a tenant admin; team-name collisions across tenants
Team policy and monthly quota enforcement at issuance (W33-21) internal/bootstrap/team_policy_enforce.go; call sites handlers_certificates.go (POST /api/v1/certificates), handlers_certificates_obo.go, handlers_approvals.go (reevaluateTeamPolicyAtApproval) Checks CA, template, names (from the CSR) and validity, then atomically reserves one monthly slot (teamCounterStore.reserve, released on failure); refusals are 403 with error_code (team_policy_*, team_quota_exceeded); lookup or counter errors fail closed with 503; re-evaluated when an approval is granted; GET /api/v1/certificates/quota. Semantics are not deny-all: a team with no policy row is unrestricted, and an empty list or zero cap places no restriction (D-195, back-compat). Enforcement is skipped when the request carries no team (req.TeamID == ""), which authorizeCertificateMutationRequest only fills for non-admin principals; the enforcer is wired only at the three call sites above Policy bypass via omitted or empty team (admin-role or service principals issuing with team_id empty); bypass by issuing through paths with no call site (ACME, EST, SCEP, CMP, WSTEP, bulk, renewal execute, import, SSH and code-sign issuance, agent-driven renewal); mismatched team in body versus principal; SAN or CN smuggling past name checks (case, trailing dot, IDN, wildcard, SAN-only versus CN, unparseable CSR); validity bypass through template defaults; race on the quota counter (parallel requests at the limit, release on failure then retry, period rollover at month boundary UTC); quota exhaustion by a hostile team denying a victim (counter keyed by tenant and team); approval re-evaluation gap (policy tightened or loosened between request and approval)
On-behalf-of requests: POST /api/v1/certificate-requests (W33-23) internal/bootstrap/handlers_certificates_obo.go Needs an active, tenant-scoped delegation (existing approval_delegations, W22-11) from on_behalf_of to the caller, else 403 obo_no_delegation; CA and template tenant visibility checked; always creates a pending approval (never issues directly); team policy and quota are the delegator's; audit rows record requester, delegate, on_behalf_of and approval id; duplicate pending requests are reused (findPendingOBO); body cap 256 KiB Requester, delegate or approver spoofing in audit detail (JSON injection through on_behalf_of); file for a delegator without delegation (case, whitespace, cross-tenant, expired or revoked delegation, delegation in the wrong direction); self-approval or approval by the delegate; consume another team's quota; exceed the delegator's policy; request for a CA or template in another tenant; dedupe confusion returning another principal's approval id
Requester role (W33-22) internal/bootstrap/auth_role_map.go (RoleRequester, fixed permissions certificate.read and certificate.issue), authz_write_gate.go (requesterWritePath, writeDecision) The write gate confines a principal with role requester to POST /api/v1/certificates plus self-service and query classes; every other mutating route is refused; no action.approve or action.propose Reach any other write (import, SSH, SPIFFE, code-signing, bulk, agent, OBO endpoint) with a requester token; path normalisation tricks on the exact-match check (//, trailing slash, encoded segments, method override); IdP claim mapping to requester through APP_AUTH_ROLE_MAP_JSON precedence; custom role named requester; approve or propose actions
Single-use agent enrollment tokens: POST/GET /api/v1/agents/enrollment-tokens, DELETE .../{id}; redeem at POST /api/v1/agent/register (W33-24) internal/bootstrap/agent_enrollment.go, handlers_agents.go (registerAgentHandlers), agent_store_db.go (redeemEnrollmentToken) Admin mints kke_ tokens (256-bit random, TTL 1 to 24 h, shown once, Cache-Control: no-store); only the SHA-256 hash is stored; redeem is one conditional UPDATE ... WHERE used_at IS NULL AND revoked_at IS NULL AND expires_at > now and requires exactly one affected row; unknown, expired, used and revoked tokens all return the same 403; /agent/register is rate limited per client IP (30 per minute) and audits agent.register with the token id only (secret and token never stored, logged or audited); a token burned by a failed registration stays burned. The legacy gate (NewAgentEnrollmentGateFromEnv: KRYPTKEEPER_AGENT_ENROLLMENT_SECRETS, KRYPTKEEPER_AGENT_OPEN_REGISTRATION) is still consulted when no token is presented Token replay and concurrent redemption (many parallel /agent/register calls with one token, on SQLite and Postgres); use after expiry or after revoke; enumeration or timing oracle (response differences between unknown and used); rate-limit bypass via X-Forwarded-For (clientIP); token disclosure in logs, audit rows, list output or error bodies; legacy open registration or shared secret accepted where a token should be required; registering an agent in another tenant (token tenant is recorded at mint, check it is honoured); name collisions or agent type escalation at registration
Zero-CA first-run mode cmd/kryptkeeper/startup_ca.go (resolveDefaultCA), internal/ca/default_ca.go (ResolveCAID, ErrNoCAConfigured), ui/src/pages/Onboarding.tsx, ui/src/lib/firstrun.ts With no CA and KRYPTKEEPER_BOOTSTRAP_CREATE_ROOT unset, the hub starts with an empty default CA id; protocol servers resolve the default per request and answer a conflict until a root exists; a ListCAs error is never read as "no CAs" (no second root minted on a transient failure); the bootstrap-create flag is ignored once any CA exists Unauthenticated actions available while no CA exists; first-caller-wins creation of the first root (who may create it, race between two callers, bootstrap token exposure in the wizard); minting a second root through a forced ListCAs error or concurrent startup; protocol endpoints (ACME, EST, SCEP, CMP) behaving unexpectedly with no default CA; transition to normal mode (leftover privileges of the first-run caller)
Ephemeral self-signed listener certificate in first-run mode (W33-02, W33-32) cmd/kryptkeeper/tls.go (resolveTLSMode default branch, ephemeralSelfSignedTLSCertificate, writeTrustBundle) With a CA engine but no CA, and no KRYPTKEEPER_TLS_* choice, the hub serves an in-memory P-256 self-signed cert (30 days, SANs from tlsSANs) instead of plain HTTP and returns a loud warning; the key is never written; the public certificate is written as <data dir>/tls/ca.pem (mode 0644, plus the export dir if configured) so the compose dashboard nginx and the hub healthcheck verify it; the CA-issued certificate replaces it on the first restart after a root exists First-run TLS downgrade (force the plain-HTTP branch, or a client that accepts the ephemeral cert for a later real host); trust-on-first-use of ca.pem (can an attacker replace or pre-seed tls/ca.pem in a shared volume); ephemeral key persistence or reuse across restarts; stale ca.pem trusting a retired ephemeral cert after the real chain is published; SAN list too broad (KRYPTKEEPER_TLS_SANS) or missing the dialed host; bootstrap token or first login captured by an active attacker before the CA exists

3.7 Other in scope items

  • UI (ui/): XSS, CSRF posture (docs/SECURITY_CSRF_POSTURE.md), token storage, role-gated navigation versus server enforcement.
  • Supply chain: release artifacts, cosign signatures, SBOM, package repo (.github/workflows/release.yml, .github/workflows/release-candidate.yml, .github/workflows/promote-by-digest.yml, packaging/).
  • Deployment artifacts: docker-compose.yml (hub 8080:8080, dashboard 3000:8080, read-only root, dropped capabilities), Dockerfile*, Helm chart charts/kryptkeeper (securityContext, NetworkPolicy, ingress, secrets, ExternalSecret), charts/kryptkeeper-certmanager-issuer, deploy/terraform, terraform-provider-kryptkeeper.
  • Database layer and migrations (internal/db), audit log integrity (internal/audittrust, cmd/kryptkeeper-audit-verify).

4. Out of scope

Third-party SaaS (identity providers, cloud KMS, upstream CAs), social engineering and phishing, denial of service beyond the agreed rate caps, physical attacks, other tenants' infrastructure, and anything outside the provisioned test environment.

5. Prior internal work (do not re-report; do try to defeat the fixes)

Document Content
docs/security/final-report.md Deep audit of 2026-10-09, verdict, finding IDs
docs/security/ATTACK_CHAINS_2026-10-09.md Multi-step chains
docs/security/THREAT_MODEL_FINDINGS_2026-10-09.md, docs/sdlc/phase-3-design/THREAT_MODEL.md Threat modelling
docs/security/OWASP_TRACKER.md and OWASP_*_FINDINGS_2026-10-09.md OWASP category findings
docs/security/SECURITY_CLAIMS.md Claims the product makes about itself
docs/security/rc1/README.md (v0.9.0-rc.1, FAIL on one HIGH), docs/security/rc2/README.md (v0.9.0-rc.2, PASS) RC re-scans
docs/release/TENANT_ISOLATION_VALIDATION_v0.9.3.md, docs/release/MULTI_TENANCY_GATE_DECISION.md Tenant isolation evidence

Specific attempts requested of the vendor:

  1. Cross-tenant access (the A01-001 class: tenant admin minting keys or exporting CA keys in another tenant).
  2. Anonymous issuance through ACME defaults (OWASP-A04-001 class).
  3. Single-admin exfiltration of CA private keys or the SSH CA key.
  4. Agent enrollment bypass after W33-24.
  5. Quota or team-policy bypass after W33-21.
  6. Approval self-approval via delegation (W22-11 class).

6. Test method and deliverables

Grey-box with source access offered. Methodology: OWASP ASVS Level 2 and OWASP WSTG. Each finding needs a CVSS v3.1 or v4.0 score, reproduction steps, affected component and a fix recommendation. Deliverables: draft report, final report, and a retest/attestation letter (PDF) with the wording "0 open critical or high findings as of <date> against <tag>".

7. Test environment (provisioned by [HUMAN], not by this document)

Stand up from docker-compose.yml or charts/kryptkeeper with production-like auth (not AUTH_MODE=bootstrap alone), TLS on, multi-tenancy on, at least two tenants. Time-boxed accounts: pki-admin, pki-operator, requester, viewer, a user in each tenant, one unused agent enrollment token. Credentials are delivered out of band and never committed. No real customer data. Use host ports that do not collide with other environments.

8. Rules of engagement

  • Rate limits: [HUMAN] TBD requests per second ceiling agreed with the vendor; the hub's own limiter is withAPIRateLimiting.
  • Data handling: test data only; vendor deletes artifacts at engagement end per SoW.
  • Logging: vendor traffic tagged by source IP and a request header [HUMAN] TBD, so audit entries can be separated.
  • Disclosure: 90-day coordinated, private until fixed (SECURITY.md); no public disclosure by either side before the fix ships.
  • Findings that reveal unpatched vulnerabilities stay private; the repository tracker stays generic until the fix ships.

9. Success criteria

The retest letter shows 0 open critical or high findings against the frozen tag (board acceptance 2). Accepted risk cannot be used to close a critical or high finding.

10. Roles

Step Owner
Vendor selection, SoW, budget [HUMAN] the owner
RC freeze and artifact digests [HUMAN]
Environment and credentials [HUMAN]
Triage, S-tickets, remediation Engineering, tracked in PENTEST_REMEDIATION_v0.21.md
Retest request and letter [HUMAN]

11. Hotfix drops during the window

Date Reason Commit New digest Agreed with vendor
(none recorded)