# CAIQ v4 — pre-filled answers

Scope: the Swarrm evidence plane (`swarrm` PyPI package / appliance image) at
the commit containing this file. Vendor: Swarrm AI (Capx Holding). Contact:
`proof@swarrm.ai`. **No certification of any kind is held** — see
`README.md` in this folder. CAIQ v4 answers the Cloud Security Alliance
**Cloud Controls Matrix (CCM)**; that is a questionnaire mapping, not a CCM
certification. The diagnostic pack reports visible configured or
potential egress, SBOM inputs, receipt observations, and custody paths; it does
not prove a complete live instance.

Answer key: **Yes** = mechanism present in the named source; delivery is scoped by `README.md`. **No** = not provided.
**N/A** = the control assumes a structure (datacenter, staffed teams,
end-user fleet) that does not exist in this product or company; the honest
compensating statement is given instead of a softened Yes.

## A&A — Audit & Assurance

| Q | Answer | Grounding |
|---|---|---|
| Independent audits / certifications held? | **No** | None held. The compensating design: the evidence artifact itself is externally checkable — any holder verifies a bundle offline with the Apache-2.0 verifier and an independent second engine (`verify/`, `verify-rs/`), per `docs/AUDITOR_PATH.md`. |
| Audit trail of system activity? | **Yes** | The product *is* an append-only, tamper-evident audit log: Ed25519 DSSE receipts in an RFC 6962 Merkle log with signed checkpoints (`core/receipt.py`, `core/store.py`, `SPEC/log-v1.md`). Its own key lifecycle is witnessed in the same log (`core/keylog.py`). |

## AIS — Application & Interface Security

| Q | Answer | Grounding |
|---|---|---|
| Secure SDLC / code review before release? | **Partial** | Single-maintainer company: there is no independent internal reviewer. Compensating mechanisms that do ship: CI architecture guardrails (`scripts/check_architecture.py`), differential verification against a second engine, fuzz corpus and golden fixtures (`tests/`), and the public verifier surface capped at 28 symbols (`ci/architecture_policy.json`). |
| Input validation on external interfaces? | **Yes** | Closed-profile validation at every boundary: strict JSON (`core/jsonstrict.py`), bounded reads (`core/configio.py`), closed receipt profile (`core/receipt_wire.py`), server limits (`core/server_limits.py`). |
| Penetration testing? | **No** | Not yet commissioned; it is on the roadmap as a release gate. We do not claim one. |

## BCR — Business Continuity & Operational Resilience

| Q | Answer | Grounding |
|---|---|---|
| Backup/restore capability documented and tested? | **Yes, with a dated caveat** | A documented restore procedure, and a two-store restore drill VERIFIED 2026-08-01. The drill against the current complete-root deployment is still open, and we do not present the older drill as proof of the current one. |
| Does provider unavailability block the customer's operations? | **Depends on the integration** | Evidence capture is fail-open where configured: a plane outage creates an explicit, visible evidence gap rather than blocking the customer's action (`docs/SECURITY_ONEPAGER.md`). Exception: an action routed through the Microsoft 365 action door depends on that door being up and holding a current pinned JWKS, because the door forwards the action itself; capture-only operation reports post-action capture failures as gaps. Governed count mode requires valid signed permission and retained intent/submission evidence before forwarding; unavailable admission blocks that call. Already-issued bundles can be checked offline without contacting Swarrm, using retained evidence, compatible verifier software and appropriate trust inputs. |

## CCC — Change Control & Configuration Management

| Q | Answer | Grounding |
|---|---|---|
| Changes tracked and auditable? | **Yes (source history)** | Changes are versioned in git with recorded rationale and evidence. Publication is channel-specific: a GitHub release does not establish a PyPI upload. Verify the exact distribution and its retained publication evidence; an unqualified development candidate is not a published release. |
| Segregation of duties in change management? | **No independent internal reviewer** | A single-maintainer operation has no second-reviewer control. Differential Python/Rust tests, hostile fixtures and offline artifact verification are compensating technical checks, not a substitute claim of independent review. New verifier capabilities require their own parity and delivery evidence before being represented as released. |

## CEK — Cryptography, Encryption & Key Management

| Q | Answer | Grounding |
|---|---|---|
| Encryption in transit? | **Partial** | Shipped outbound clients enforce HTTPS and exact authority/DNS controls, with narrowly named loopback development exceptions (`node/egress.py`, `proxy/transport.py`); every listener requires external TLS when exposed beyond loopback. The diagnostic does not establish complete live-process coverage or operator-added sidecars. The Microsoft 365 action door (`proxy/m365.py`) ships as an application factory with no listener of its own; TLS on the route that carries Entra bearer tokens is the hosting operator's, and this answer does not cover it. |
| Key management documented? | **Yes** | Custody modes are a private key file or KMS-sealed, with the seed only ever in process memory (`core/signer.py`). Rotation and revocation are log-witnessed receipts (`core/keylog.py`), so the verifier's key authority is the replayed log rather than a mutable JWKS — which means you can check the key history yourself from a bundle instead of taking our documentation for it. |
| Customer data encrypted at rest? | **Partial, by construction** | The log stores no payload bodies at all: payload fields are salted, domain-separated SHA-256 commitments (`core/commitment.py`), receipt bodies are capped at 8,192 canonical bytes at the producer. Commitment nonces rest in an encrypted vault (`core/vault.py`); store files themselves rely on disk/OS controls in the customer's environment (appliance) or the operator's (hosted trial). |

## DCS — Datacenter Security

| Q | Answer | Grounding |
|---|---|---|
| Physical security controls? | **N/A (appliance) / inherited (hosted trial)** | The appliance runs in the customer's own infrastructure — physical security is the customer's, by design. The hosted trial runs on operator-controlled hardware and is offered for evaluation, not for regulated production data (`DATA_RESIDENCY.md`). |

## DSP — Data Security & Privacy Lifecycle

| Q | Answer | Grounding |
|---|---|---|
| Is customer payload data stored? | **No (evidence log); Yes, encrypted, for Node source artifacts** | The managed evidence store persists commitments and bounded operational metadata, never model/business payload bodies; the hosted gateway and the Microsoft 365 action door (`proxy/m365.py`) necessarily handle payload bytes in transit (`docs/RELIANCE.md` §Data-processing posture). Where Node source corroboration is deployed, the raw source objects it reads (for example bank statements or a Microsoft Purview audit export) are retained, envelope-encrypted under customer-held key material, in the customer evidence store (`node/evidence_store.py`). Metadata can itself be sensitive, and we say so. |
| Selective disclosure supported? | **Yes** | A committed field can be opened to a named recipient and verified against the bundle (`verify/disclosure.py`, portal grants with `_grants` receipts). |
| Data deletion / retention? | **Customer-controlled, with an honest limit** | Stores rest with the deployment owner; retention is theirs. The log is append-only — see `DPIA_INPUT.md` for the erasure discussion (commitments without their nonce cannot be opened; whether that satisfies a given obligation is for counsel). |

## GRC / HRS — Governance & Human Resources

| Q | Answer | Grounding |
|---|---|---|
| Security organisation, staffed roles, background checks? | **N/A** | Swarrm AI is a one-person operation. There are no teams to segregate and no staff to screen, and we will not pretend otherwise. The product's design premise is precisely that trust must come from verifiable artifacts, not from organisational assurances a company this size cannot credibly offer. |
| Documented risk register / threat model? | **Yes** | `docs/THREAT_MODEL.md` — adversary-by-adversary, including the residual risks we cannot remove, restated in `docs/RELIANCE.md`. |

## IAM — Identity & Access Management

| Q | Answer | Grounding |
|---|---|---|
| Tenant isolation? | **Yes** | Physical file-per-tenant stores (SQLite per tenant) rather than row-level sharing; per-tenant API keys; admission control (`plane/control.py`, `core/httpauth.py`, `core/httpadmission.py`). |
| Least-privilege credentials to customer systems? | **Yes** | Node source credentials are read-only by contract, never at rest, resolved at call time from the customer's own env/command, and never logged (`node/egress.py` §6, `SPEC/node-v1.md`). |

## IPY — Interoperability & Portability

| Q | Answer | Grounding |
|---|---|---|
| Can the customer take their data and leave? | **Yes** | Bounded evidence export without an entitlement gate; bundles verify offline with an Apache-2.0 verifier the customer keeps forever; a separately implemented Rust verifier provides differential checking; neither engine requires the hosted service, and each capability still needs its applicable delivery proof (`docs/RELIANCE.md`, `verify-rs/`). |

## IVS — Infrastructure & Virtualization Security

| Q | Answer | Grounding |
|---|---|---|
| Network egress controls? | **Partial — mechanisms ship; complete posture is unproven** | The default Compose surface configures no outbound target. Shipped clients apply DNS-pinned, exact-authority URL controls (`node/egress.py`, `proxy/transport.py`), while `swarrm compliance-pack` prints only the configured or potential targets visible to its process. Zero egress and a complete allowlist remain NOT ESTABLISHED until runtime network containment and an authenticated process roster are supplied. |

## LOG — Logging & Monitoring

| Q | Answer | Grounding |
|---|---|---|
| Security-relevant event logging? | **Yes** | Receipts, findings (`evd.finding.*`), gap markers (`evd.gap.*`) and key events are first-class log entries; plane health at `/status`, detailed alerts behind `EVD_PLANE_HEALTH_TOKEN`, operator paging via `swarrm alert-watch`. NIST SP 800-53 AU, CIS Controls 8, and SP 800-92 are cited from this CAIQ LOG answer; they are not a separate pack and not a certification. |

## SEF — Security Incident Management

| Q | Answer | Grounding |
|---|---|---|
| Documented incident response? | **Yes** | An internal runbook, and — more useful to you — a product mechanism: incident evidence packets are a feature (`swarrm incident`), so the record of an incident is **produced by the system as it happens** rather than assembled by a responder afterwards. That is the part a 24×7 desk cannot substitute for. No 24×7 staffed SOC exists and none is claimed; notification timelines are contractual per engagement. Contact: `proof@swarrm.ai`. |

## STA — Supply Chain Management

| Q | Answer | Grounding |
|---|---|---|
| Dependencies pinned and scanned? | **Partial** | Package graphs are locked (`uv.lock`) and scanned in CI (`.github/workflows/security-audit.yml`); the checks are tested (`tests/test_supply_chain_workflows.py`). Security review of native libraries remains open for this development candidate. |
| SBOM available? | **Yes, for the diagnostic interpreter** | `report/compliance.py` enumerates installed distribution metadata and hashes each available RECORD; absent RECORD data is reported as null. This is not a byte-by-byte integrity check of every installed file or an inventory of every live process. |
| Release provenance / build attestations? | **Publish attestations; per-file verification required** | The sanctioned PyPI workflow uploads PEP 740 publish attestations and independently verifies downloaded files. That predicate binds publisher identity, not build provenance. Post-upload refusal cannot undo publication. See `RELEASE_PROVENANCE.md`; no publication proof is claimed for this development candidate. |
| Sub-processors disclosed? | **Yes** | `SUBPROCESSORS.md` in this folder. |

## TVM — Threat & Vulnerability Management

| Q | Answer | Grounding |
|---|---|---|
| Vulnerability scanning? | **Yes (dependency mechanisms)** | Pinned OSV and the seven-set strict Python audit run through the declared callers (`scripts/dependency_advisories.py`, `scripts/python_dependency_audit.py`). A previous clean scan is not evidence that the current advisory database is clean. Final applicable scanner results and release admission remain mandatory. |
| Independent security testing? | **No** | On the roadmap as a release gate; not yet commissioned, not claimed. |

## UEM — Universal Endpoint Management

| Q | Answer | Grounding |
|---|---|---|
| Managed endpoint fleet controls? | **N/A** | No fleet exists. The appliance runs on customer endpoints under customer management. |
