Metraipolis › archive › dc_a93483f45e19
Can AI Write Compliant Code, and to What Extent? Evaluating SOC 2 Compliance of Claude Fable 5, Claude Opus 4.8, and Claude Opus 5 Across Four Use Cases — arXiv:2608.07776
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.07776
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T08:58:10.626Z
- SHA-256 of the archived text
c01a69cd3a4ef903d30051a2fdd1247470e98a150583353632a5bbc5e5f70d6b- Stable URL of this page
https://metraipolis.com/documento/dc_a93483f45e19
How to cite
Can AI Write Compliant Code, and to What Extent? Evaluating SOC 2 Compliance of Claude Fable 5, Claude Opus 4.8, and Claude Opus 5 Across Four Use Cases — arXiv:2608.07776 — arXiv (en), https://arxiv.org/abs/2608.07776 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a93483f45e19 (Metraipolis archive dc_a93483f45e19, sha256 c01a69cd3a4ef903d30051a2fdd1247470e98a150583353632a5bbc5e5f70d6b)
BibTeX
@misc{dca93483f45e19,
title = {Can AI Write Compliant Code, and to What Extent? Evaluating SOC 2 Compliance of Claude Fable 5, Claude Opus 4.8, and Claude Opus 5 Across Four Use Cases — arXiv:2608.07776},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.07776},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a93483f45e19; sha256 c01a69cd3a4ef903d30051a2fdd1247470e98a150583353632a5bbc5e5f70d6b},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.07776. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Software teams now delegate production code to language models, including code that provisions storage, handles credentials, and stores regulated data, so we asked whether a model applies the controls a SOC~2 program expects (encryption, restricted access, logging, retention) when nobody mentions security, and how much one sentence naming the standard changes the answer. We tested three frontier models (Claude Fable~5, Opus~4.8, and Opus~5) across four use cases (an S3 CLI, an authentication service, an RDS Terraform module, and a file-upload handler holding personal data), each generated once from a neutral task statement and once with a single SOC~2 sentence added, scoring all 24 outputs against binary rubrics mapped to specific Trust Services Criteria and hand-verifying every failure and flagged act. Unprompted conformance ran from 47\% to 88\% and tracked whether a control is part of how the code is normally written, so password hashing and \texttt{storage\_encrypted} appear unasked while S3 hardening calls, retention, and MFA hooks do not. The neutral prompt also shipped real vulnerabilities, including a reachable Werkzeug debugger allowing remote code execution, an unauthenticated download, and an endpoint returning every stored name and email, all scored clean by our first checklist, with a fourth defect passing because its value was computed by a conditional. One SOC~2 sentence moved every case to 86--100\%, worth 23 to 50 points, and removed every insecure construction, though controls outside the model's conception of the task survived it, including MFA hooks, cookie flags, and account lifecycle. Model choice mattered least, with same-generation models within one rubric item across all eight cells, and the pattern-matching scorer proved unreliable, disagreeing with semantic grading on 27 of 216 judgments and passing a real defect, so it needs replacing with semantic checks.
Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-08-11 in cs.CR).
Categorie arXiv: Cryptography and Security (cs.CR).
Pagina del lavoro: https://arxiv.org/abs/2608.07776 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T08:54:24.921Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-08-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).