ISO/IEC 27001 mapped to the C=US architecture
ISO/IEC 27001:2022 sets the requirements for an information security management system (ISMS): a risk-based way to choose, run and improve security controls. This page goes through its management clauses (4 to 10) and the four themes of its Annex A controls, and for each one names what C=US has in the repository or on the pilot directory on cequs.com, and what is missing. ISO/IEC 27000:2026, the family’s overview, supplies the concepts used to read it.
C=US is strongest where ISO 27001 is most technical: identity, access control, authentication, cryptography and secure development (Annex A themes 5.15–5.18 and 8). It is weakest where the standard is a management system: there is no defined ISMS scope, no information security policy, no Statement of Applicability, no internal audit and no management review.
Those are paperwork and process for one operator, not architecture. The architecture already does what the risk clauses ask of controls: an agent acts only under a dated grant checked on every request, and anything missing fails closed.
How the ISO concepts read onto C=US
ISO/IEC 27000:2026 (clause 4.1.5) sorts controls as preventive, detective or corrective, and says a mix of the three keeps a risk treatment plan working when one control fails. C=US has all three for agent misuse:
cequsAuthorizedScope, cequsGrantStart/cequsGrantEnd) checked by the gateway on every request.The same overview (clause 4.1.4) says risks are not static and controls must be re-checked. On 22 November 2026 a seven-day gateway certificate expired and every agent was refused until it was renewed. The system failed closed as designed; the corrective action added that certificate to renew-all-agents.sh --gateway and published its expiry on the gateway’s status page (PRs #270, #272).
Clauses 4 to 10: the management system
| Clause | What it asks, in short | C=US evidence | Status |
|---|---|---|---|
| 4.1–4.2 | Understand the context and the interested parties and their security requirements | Mission and goals in PROJECT_GOALS.md. Interested parties are named on the home page (regulators, CISOs, developers, media) and in the interviews with producers and officials (interviews/). | Partial |
| 4.3–4.4 | Define the ISMS scope and establish the ISMS | The TEVV inventory lists components C1–C7 and trust boundaries TB1–TB7 (docs/tevv/00-inventory.md). No ISMS scope statement. | Not addressed |
| 5.1–5.2 | Leadership commitment and an information security policy | SECURITY.md is a vulnerability-reporting policy only. No overall information security policy. | Not addressed |
| 5.3 | Roles, responsibilities and authorities | Each agent names an accountable person (cequsAccountableSponsor) who can stop it. Server, directory and CA changes are run by hand by the project lead. | Partial |
| 6.1.2 | A repeatable risk assessment | Risk register R01–R24 scored likelihood × impact (docs/tevv/02-risk-register.md); STRIDE threat model per trust boundary (06-threat-model.md). | Demonstrated |
| 6.1.3 | Risk treatment, compared with Annex A; a Statement of Applicability | Residual risk with recommended mitigations (05-residual-risk.md); acceptance needs the owner’s sign-off, none is assumed. This page is a first Annex A comparison; no Statement of Applicability. | Partial |
| 6.2 | Security objectives and plans to meet them | Goals in PROJECT_GOALS.md; acceptance criteria for each defect in SOFTWARE_DEFECTS.md. Objectives are not measured. | Partial |
| 6.3 | Planned changes | Governance process for recursive-learning changes: feedback record, sign-off, linked commit with a passing acceptance test, journal entry, outcome check (governance/README.md). | Demonstrated |
| 7.1–7.3 | Resources, competence, awareness | A one-person pilot; competence is coursework. No training records. | Not addressed |
| 7.4 | Communication | security@cequs.com, first response within 5 business days (SECURITY.md); the vulnerability response playbook (docs/security/vulnerability-response.md). | Demonstrated |
| 7.5 | Documented information, controlled | Everything is in git with pull requests and CI; AI authorship recorded on each output (AGENTS.md). | Demonstrated |
| 8.1 | Operational planning and control | LDAP and gateway changes are rehearsed in WSL before they go live; deploy and LDAP scripts are run by hand, never as a side effect of a code change. | Demonstrated |
| 8.2–8.3 | Risk assessment and treatment carried out at intervals | Register updated 2026-10-04 and 2026-10-20 (SSDF gap review); deep scan 2026-11-10 produced SEC-2026-11-10-01 to -12, all resolved. Not on a fixed schedule. | Partial |
| 9.1 | Monitoring, measurement, analysis | Live mTLS probe every 15 minutes, five cases (deploy/mtls-probe/); signed gateway decision log; measured stop drills (≤ 316 ms, 2026-10-13); TEVV results (04-results.md). No alerting channel yet. | Partial |
| 9.2 | Internal audit | Read-only server audit script (deploy/audit/server-audit.sh); an outside critique (control-plane critique); fuzzing and model-assisted scans. No audit programme. | Partial |
| 9.3 | Management review | No recorded review. | Not addressed |
| 10.1–10.2 | Continual improvement; nonconformity and corrective action | Validated defects in SOFTWARE_DEFECTS.md, each with an ID, evidence and acceptance criteria; the 22 November certificate lapse fixed in PRs #270 and #272. | Demonstrated |
Annex A: the four control themes
Annex A lists 93 reference controls in four themes. The rows below cover the controls C=US touches; numbers are ISO/IEC 27001:2022 Annex A.
Organizational (A.5)
| Control | Topic | C=US evidence | Status |
|---|---|---|---|
| 5.1 | Security policies | Vulnerability-reporting policy only. | Not addressed |
| 5.2–5.3 | Roles; segregation of duties | Registration grants nothing; a separate dated grant does. LDIF from the registration page is reviewed and applied by an administrator. A two-person rule for fleet-wide stops is designed, not built (KILL-SWITCH.md, step 3). | Partial |
| 5.7 | Threat intelligence | Real incidents studied as cases (agent swarms, Amazon v. Perplexity). No feed. | Partial |
| 5.9 | Inventory of assets | Component inventory (docs/tevv/00-inventory.md); key inventory (security/private-key-storage.md); the registered agents from signed records. | Demonstrated |
| 5.12–5.13 | Classification and labelling | No classification scheme. | Not addressed |
| 5.15 | Access control | The gateway maps the verified certificate to a directory entry and checks status, scope and grant window, failing closed; browser-supplied names never establish identity. | Demonstrated |
| 5.16 | Identity management | Agent, person and organization entries in their state or organization’s part of the DIT under c=US (schema/cus-registry.schema). | Demonstrated |
| 5.17 | Authentication information | Agent keys made and kept in a TPM or YubiKey; directory administration by certificate only, no password login. | Demonstrated |
| 5.18 | Access rights | Time-bounded grants in cequsAuthorizationGrant entries, renewed on purpose (the farmer re-grant of 2026-11-23); removed by a stop or by status. | Demonstrated |
| 5.19–5.23 | Suppliers and cloud services | Dependencies on Cloudflare, DigitalOcean, Google Cloud and the model providers are drawn in the systemic dependency graph. No supplier security agreements. | Partial |
| 5.24–5.28 | Incident management and evidence | Vulnerability response playbook with containment by stopping the agent; SEC- references; signed, timestamped decision records as evidence. | Partial |
| 5.29–5.30 | Continuity and ICT readiness | Encrypted peer backups between cequs.com and the c=CA server are built and rehearsed, not installed; no restore drill yet (risk R24). | Not addressed |
| 5.31–5.34 | Legal requirements and privacy | Utah AI Policy Act mapping; FAR 52.204-21 safeguarding requirements (governance/); minimal-disclosure answers and the duty of loyalty scenarios. | Partial |
| 5.35 | Independent review | Outside critique, fuzzing (tools/sherpa/) and external scans. Not by an independent auditor. | Partial |
| 5.37 | Documented operating procedures | Runbooks beside each deploy script (deploy/*/README.md). | Demonstrated |
People (A.6)
| Control | Topic | C=US evidence | Status |
|---|---|---|---|
| 6.1–6.6 | Screening, terms, training, confidentiality | One operator. Identity proofing for people, which the design needs for accountable persons, is simulated. | Not addressed |
| 6.8 | Event reporting | security@cequs.com; the accountable person can stop their own agent with a passkey. | Partial |
Physical (A.7)
| Control | Topic | C=US evidence | Status |
|---|---|---|---|
| 7.1–7.8 | Secure areas and equipment siting | Servers are hosted; physical controls are the provider’s. | Partial |
| 7.10, 7.14 | Storage media; disposal | Private keys stay in hardware (TPM, YubiKey); the CA signer is in a YubiKey. Shredding of directory exports is an open item. | Partial |
Technological (A.8)
| Control | Topic | C=US evidence | Status |
|---|---|---|---|
| 8.1 | User endpoint devices | The laptop that runs AI coding tools also holds root SSH to cequs.com (risk R23); each connection needs a YubiKey touch. | Partial |
| 8.2 | Privileged access | YubiKey-backed SSH; directory administration by a certificate on a separate YubiKey. | Demonstrated |
| 8.3 | Information access restriction | A read rule naming only root, the gateway and n8n is written and rehearsed (TEVV V5-05); the live directory still lets every bound user read the tree. | Partial |
| 8.4 | Access to source code | Private repository; changes by pull request with CI. | Demonstrated |
| 8.5 | Secure authentication | mTLS with hardware attestation chained to pinned roots and the FIDO Metadata Service; WebAuthn with user verification required. | Demonstrated |
| 8.8 | Technical vulnerabilities | Dependabot; fuzzing; deep scans with every finding tracked to a fix. Deployed third-party servers are not scanned (risk R18). | Partial |
| 8.9 | Configuration management | Hardening script with an automatic undo; read-only server audit. No proof of which code is deployed (risk R16). | Partial |
| 8.12 | Data leakage prevention | CI safety lint blocks private keys and secrets in tracked files; minimal-disclosure answers. | Partial |
| 8.13 | Information backup | Peer backups built, not installed (see 5.29). | Not addressed |
| 8.15 | Logging | Signed gateway decision log and attestation log. The directory server logs no binds or searches (risk R17). | Partial |
| 8.16 | Monitoring activities | The 15-minute mTLS probe and the live dashboard; no alerting. | Partial |
| 8.20–8.22 | Network security and segregation | n8n and the evaluator in an isolated container network, published on loopback only; the public grading webhook refused (403). | Demonstrated |
| 8.24 | Use of cryptography | TLS 1.3 minimum; short-lived certificates; signed decisions; post-quantum mTLS tested. | Demonstrated |
| 8.25–8.29 | Secure development and testing | CI on every pull request; TEVV test plan and results; NIST SSDF gap review; CI actions pinned to commit SHAs. | Demonstrated |
| 8.31 | Separation of environments | A WSL directory and gateway test environment before live changes; development and administration share a laptop (R23). | Partial |
| 8.32 | Change management | Pull requests, governance sign-off, WSL rehearsal. No automated rollback for gateway, n8n or directory changes (risk R15). | Partial |
| 8.33–8.34 | Test information; audit testing | Synthetic test data; the server audit changes nothing. | Demonstrated |
What closing the gaps would take
- Write the ISMS frame: a scope statement built from the TEVV inventory, a one-page information security policy, and a Statement of Applicability that starts from the tables above.
- Install the peer backups and run a restore drill (A.5.29, A.8.13; risk R24).
- Turn on directory access logging for binds and searches (A.8.15; risk R17).
- Pick an alerting channel for the probe and for certificate expiry (A.8.16).
- Hold a dated management review of the risk register and residual risks, recording the owner’s acceptances (clauses 6.1.3, 9.3).
Sources
- ISO/IEC 27000:2026, Information security, cybersecurity and privacy protection — Information security management systems — Overview, sixth edition, clauses 4.1.4, 4.1.5 and 5.2. Read from a licensed copy; paraphrased, not quoted.
- ISO/IEC 27001:2022, Information security management systems — Requirements, clauses 4 to 10 and Annex A. Clause and control numbers are cited; the descriptions here are summaries, not the standard’s text.
- This project’s
docs/tevv/(inventory, risk register, residual risk, threat model),SOFTWARE_DEFECTS.md,SECURITY.md,governance/,deploy/agent-gateway/KILL-SWITCH.md,deploy/backup/README.mdanddeploy/mtls-probe/README.md.
Drafted by Claude (Claude Code, Opus 5.5) on 2026-11-24 at the student’s request. The mapping and status ratings are AI-generated analysis, awaiting the student’s review; they are not a conformity assessment.