Skip to navigation

Claude Code AISVS: Control Mapping for Platform Teams

In short: Map OWASP AISVS requirements to agent workflows, owners and evidence while keeping untested controls visibly open.

Published 20 min read
On this page

Direct answer

A control mapping takes each OWASP AISVS requirement that applies to your agent platform and writes down three things: who owns it, what evidence shows it is implemented, and whether anyone has tested it. That record is the deliverable. AISVS itself is a structured framework for designing, building, testing and verifying AI system security across the lifecycle, which makes it a good question set for reviewing Claude Code workflows. It is not a certification, and a mapping produced from it does not certify your platform or anyone’s implementation.

The concrete win is a review meeting that ends with a dated list of open controls instead of a slide claiming the standard is satisfied. The concrete loss is honesty about scope: most teams will find requirements they cannot evidence on the first pass, and writing those down is the point rather than a failure of the exercise. The practical implication is that an untested control stays marked untested until a test result exists, no matter how confident the owner sounds in the meeting.

Before the first mapping session, agree on the rule that makes the artifact useful. A control map is only worth keeping when it distinguishes implemented, tested and open. A table where every row quietly reads “done” tells a reviewer nothing and usually hides the controls that would have failed an audit.

What AISVS Provides

OWASP describes AISVS as a structured framework covering the security of AI systems across their lifecycle, from design through testing and verification. A verification standard is organized as requirements that an assessor can check, which is why it fits the platform-team workflow: each requirement becomes a row in a control register with an owner and an evidence column.

Third-party, F037: Framed as a way to design, build, test and verify security, the standard asks teams to treat each requirement as something an assessor can check. Read that as a structure for organizing your own assessment work. It does not certify Claude Code, your deployment, or the mapping you produce from it.

OWASP also publishes a GenAI crosswalk that connects GenAI security risks to established industry security, governance and compliance frameworks.

Independent, F038: Mapping work is supported by the crosswalk showing where AI risks overlap with frameworks your organization already reports against. A crosswalk is a translation aid. It does not prove that any specific control is effective in your environment.

Independent, F039: Under the OWASP Secure Coding with AI guidance, agent output is treated as untrusted and least privilege plus human review are recommended. Those are practices to check against your workflows, not a completed AISVS assessment and not a substitute for one.

Keep the three distinctions separate while mapping. AISVS gives you the requirement list, the crosswalk helps you relate those requirements to frameworks you already use, and the secure coding guidance gives you concrete practices for the agent-specific rows. None of the three is a badge, and none of them removes the need for a named owner per row.

Why a mapping beats a checklist claim

Platform teams inherit AI agent tooling the way they inherit any other platform dependency: a decision gets made, the tool lands, and the security review arrives later. When the review starts from a slide that says the product follows industry guidance, the meeting turns into an argument about wording. When it starts from a requirement table, the meeting turns into a search for evidence, which is a much better use of an hour.

The cost of skipping the mapping shows up in three places. Audit season produces a scramble because nobody can say who owns a given control. Incident reviews stall because the responders do not know which safeguard was supposed to catch the failure. Tooling decisions drift, because without a register the team cannot tell which requirements the current setup leaves uncovered.

A mapping also gives Claude Code work a defensible boundary. The agent can draft the first version of the register, propose owners for obvious rows and flag requirements that look unimplemented. A reviewer then checks each claim against a system, a configuration export or a test result. The agent accelerates the clerical half of the exercise; it does not decide that a control is satisfied.

Selecting relevant requirements

AISVS is broad, and not every requirement lands on an agent platform with equal weight. Selecting is the first real decision, and it is a decision about your deployment rather than about the standard.

Start from three questions per requirement. Does this requirement apply to a system component you actually operate? Is there a plausible control in your environment that addresses it? Can you name a person or team that would be accountable for it? A requirement that fails all three is a candidate for a documented “not applicable with rationale” rather than a silent omission.

The secure coding guidance helps here. Treat agent output as untrusted input and apply least privilege to the agent’s own permissions, then map the requirements that follow from those two positions: input handling, output handling, authorization, logging and human review. Requirements about model training pipelines or data labeling are usually out of scope for a team that consumes a hosted agent, and marking them out of scope is more honest than inventing evidence for them.

Requirement family Typical relevance for a hosted agent platform What decides it in your org
Agent output treated as untrusted Usually in scope Whether agent output reaches CI, cloud or customer paths
Least privilege for the agent identity Usually in scope Whether the agent has its own identity or shares a human one
Human review of risky actions Usually in scope Which actions your policy lets the agent take unattended
Training data and model development Often out of scope Whether you train models or only consume a hosted one
Hosted service supply chain In scope as third-party risk Whether procurement tracks the vendor review separately

Record why each family is in or out. The rationale column is what a reviewer reads six months later, and it is the difference between a scoped assessment and a spreadsheet nobody trusts.

Workflow Mapping

A workflow mapping answers one question per row: which Claude Code workflow touches this requirement, and where in the workflow does the control live? Vague rows are the failure mode, so push each answer toward a concrete artifact.

AISVS requirement Claude Code workflow Control owner
Agent output treated as untrusted Code and config edits proposed by the agent, then reviewed Platform team lead
Least privilege for agent identity Cloud and Kubernetes identity used by the agent Identity owner in cloud platform team
Human review of infrastructure changes Plan review before any apply, per the Terraform plan review gates guide Change approver on the infrastructure team
Audit event coverage Telemetry exported from the agent and the cloud control plane Observability owner
Exception management Dated exceptions recorded for controls the team cannot meet yet Security exception approver

The Terraform row is the pattern to copy. A requirement about reviewing risky changes maps to a specific gate that either exists or does not, and the Kubernetes ownership checks guide gives the same treatment for cluster state. When a row cannot name a gate, the honest status is open, not implemented.

Keep the workflow column about actions, not product names. “The agent has a sandbox mode” is a feature description. “Agent-initiated commands run in an isolated environment before touching shared state” is a workflow statement you can test. Product features matter in the evidence column, which comes next.

Evidence map linking each AISVS requirement to an owner, an implementation artifact and a test status, with open controls shown rather than hidden.
Editorial evidence map based on F037 to F039. A requirement counts as mapped only when an owner, an artifact and a test status all exist. Labels are the post author’s.

Control Owners

Every row needs one accountable owner. Shared ownership is how rows go unowned, so name a single person or a single team per requirement and record the date the owner accepted it.

Owners fall into three groups. Platform owners are accountable for controls built into the shared platform, such as identity boundaries and logging pipelines. Application owners are accountable for controls inside a service the agent edits, such as input validation. Security owners are accountable for the review process itself, including exceptions and verification decisions.

Owner role Rows they typically hold Evidence they must produce
Platform team lead Output handling, change review gates, isolation Gate definition plus a sample reviewed change
Identity owner Agent identity scope, credential rotation, boundary reviews Identity export and the latest boundary review
Observability owner Audit coverage, export integrity, retention Coverage checklist and an export sample
Security reviewer Exceptions, verification status, closure decisions Signed decision records per exception

An owner who cannot produce the evidence for their own row is a finding, not a footnote. Treat a missing evidence owner the same way you would treat a missing on-call rotation for a critical service.

The ownership conversation also connects to the batch’s broader governance work. The RACI ownership guide for infrastructure changes covers who proposes, approves and implements a change, and the platform council charter guide covers the body that arbitrates when two owners disagree. A control register is easier to maintain when those bodies already exist.

Implementation Evidence

Evidence is the artifact a reviewer can open without asking the owner to explain anything. Configuration exports, policy definitions, review records, test results and screenshots of a live setting all qualify. Marketing pages do not.

Official, vendor controls: Claude Code’s security documentation describes permission modes, sandboxing, managed settings and OpenTelemetry metrics as available safeguards. Those are the controls a team can configure. Documentation describes availability, so the evidence column should point at your deployed configuration rather than at the documentation page.

Control Implementation evidence Verification method
Permission modes restrict risky actions Managed settings file in the deployed config repo Diff the deployed file against the approved baseline
Sandboxing isolates agent commands Sandbox configuration plus a sample run trace Run a known command and confirm the isolation boundary held
Telemetry destinations locked Administrative telemetry destination setting Attempt a destination change and confirm it is blocked
Change review before apply Recorded review on a sample of applies Sample five applies and confirm each has a review record
Least privilege for the agent identity Role or policy definition with bounded permissions Enumerate the permissions and compare to declared need

Two habits keep the evidence honest. Store evidence in a place the reviewer can reach without the owner’s help, and date every artifact. An undated screenshot of a settings page is weaker than a dated export, because configuration drifts and a reviewer cannot tell which version of the truth they are looking at.

Evidence also decays. A configuration that satisfied a requirement last quarter may not satisfy it today, which is why the verification column exists separately from the evidence column.

Verification Status

Verification asks a different question than implementation. Implementation asks whether the control exists. Verification asks whether someone tested that it works as intended, recently, in the environment that matters.

Use a small, explicit status vocabulary and resist the temptation to add a “mostly done” state. Implemented, tested, open and not applicable cover the realistic cases, and a fifth state for “implemented but never tested” is often worth keeping because that is where the biggest gaps hide.

Status Meaning What a reviewer should expect to see
Implemented A control exists in the deployed environment Evidence artifact with a date
Tested Someone verified the control behaved as intended Test result or review record with a date
Implemented, untested Control exists, no test on record The control stays visibly untested until a test exists
Open No control or an inadequate one A gap entry with an owner and a next action
Not applicable Requirement does not apply to this deployment Written rationale accepted by the security reviewer

The implemented-but-untested state is the one this post keeps returning to, because it is the most common and the most often misrepresented. A control that has never been tested is a hypothesis. Presenting it as satisfied is the specific overclaim to avoid, and the honest path is to leave it marked until a test result exists.

Never mark a control verified on the strength of a product claim. The vendor’s documentation describes what the product can do. Whether your team turned it on and whether it behaved correctly under test are separate questions with separate evidence.

Workflow from selecting applicable AISVS requirements through naming owners, collecting evidence and recording verification status for each control.
Editorial workflow derived from F037 to F039. The sequence describes a reviewable routine; it is not an official OWASP process and not an assessment of Claude Code.

Exceptions and Gaps

A mapping exercise that produces no gaps is a mapping exercise that was not honest. Requirements a team cannot meet yet belong in the register with an exception record, the same way policy exceptions are handled for infrastructure.

An exception needs five things: the requirement it applies to, the owner accepting the risk, the business reason, the compensating control in place meanwhile, and an expiry date. The security exception ownership guide covers that record format in detail, including why an open-ended exception is a weakening of the control rather than a decision about it.

Gaps differ from exceptions in one way. A gap is a control the team intends to implement, with a target and an owner. An exception is a decision to accept the risk of not having it, with a compensating control and a review date. Both are recorded. Hiding either one is the failure mode to avoid, and so is marking a requirement not applicable when the real answer is that the team has not built the control yet.

Status Evidence gap Next action Review date
Open No compensating control named Name one or escalate the risk acceptance 2027-02-28
Implemented, untested No test result on record Schedule a test and record the result 2027-01-31
Not applicable Rationale not written down Write and get the rationale accepted 2027-03-31
Implemented Evidence artifact undated Re-export the configuration with a date 2027-02-28

Treat the review date column as the register’s maintenance contract. A row without a review date is a row that will silently rot, and the runbook ownership cadence guide applies the same logic to operational documentation.

Tradeoff between a register that visibly marks untested and open controls and the uncomfortable but useful honesty that produces.
Editorial tradeoff diagram based on F037 to F039. A register that shows open controls is more useful than one where every row quietly reads done.

Review Cadence

A control map is a living artifact. Requirements change, the deployment changes, and the agent’s permissions change with it. Set a review cadence when you create the register rather than deciding later.

A quarterly full review suits most platform teams, with two triggers that force an off-cycle pass. The first trigger is a change to the agent’s identity or permission scope, which can move several rows at once. The second trigger is a change to the infrastructure the agent can reach, which is the situation the cloud IAM permission boundary review guide and the Kubernetes RBAC least privilege guide both address from the access side.

Trigger Rows to re-check Who runs it
Quarterly review Every row Security reviewer with each owner
Agent identity scope change Identity, least privilege, audit coverage Identity owner
New infrastructure reach Cloud and Kubernetes control-plane rows Platform team lead
New agent capability Output handling, human review rows Platform team lead
Exception expiry approaching Exception rows Security reviewer

Keep the cadence honest by reviewing the register the same way you review code: against evidence, not against memory. An owner who cannot produce the artifact for their row during the review has an open row, whatever the previous review said.

Working through the mapping with Claude Code

Give the agent three inputs and ask for one output. The inputs are the requirement list you selected, the workflows you want mapped, and the evidence locations the team already uses. The output is a draft register with the owner column left as a proposal for a human to confirm.

Ask the agent to flag requirements it cannot map to a workflow, rather than filling those rows with plausible-sounding text. A flagged row is a finding. An invented row is a liability, and it is exactly the failure the hallucinated packages guide describes in a different context: confident output that does not correspond to anything real.

Review the agent’s draft against evidence, not against the prose. Two review questions cover most rows. Does the named workflow exist as described, and can the named owner produce the evidence artifact today. The verification and done proof guide covers the same discipline for code changes, and it transfers directly to control rows.

Control checklist covering requirement selection, single owners, dated evidence, explicit verification status, recorded exceptions and a review cadence.
Editorial control checklist derived from F037 to F039. Passing the checklist shows the mapping was produced honestly; it is not a certification of the platform.

The concrete win, loss, and implication

The concrete win is a review that ends with a dated, owned artifact. When the next audit or customer question arrives, the team answers from the register instead of reconstructing the platform’s security posture from memory. Rows that are satisfied have evidence a reviewer can open, and rows that are not satisfied are already named, which turns an audit finding into a planned item.

The concrete loss is that the register goes stale. Owners change roles, configurations drift, and requirements get revised. A map produced in one quarter describes that quarter, and the next identity change can invalidate several rows at once. Keeping it current is a maintenance cost that has to be scheduled, not a one-time deliverable.

The practical implication is that a control map is a communication tool as much as a compliance artifact. Teams that keep one make faster tooling decisions, because the cost of a new agent capability is visible as a set of rows to re-check. Teams that rely on a vendor’s feature list keep rediscovering, during incidents, which safeguards were never actually turned on.

How this fits the rest of the batch

This post is the governance entry point for the platform-security half of the batch. From here, the infrastructure threat model boundaries guide covers the step that should come before mapping: deciding which assets and trust boundaries the agent can reach at all. The vendor security review checklist guide covers the procurement-side review that happens when the platform decision is being made.

Evidence quality has its own post. The audit evidence completeness and integrity guide covers how to check that the telemetry behind your evidence column is complete enough to trust. Access decisions get their own treatment in the access recertification guide for agent identities, which is the operational half of the least-privilege rows in your register.

Verdict that using AISVS as a question set with named owners and visible untested controls produces a more useful register than claiming compliance.
Editorial verdict based on F037 to F039. AISVS works as a structure for your own assessment; it does not certify the result.

Further reading on agent boundaries and evidence

The requirement families that treat agent output as untrusted connect to several existing posts on how the harness itself behaves. The repository prompt injection guide covers what happens when instructions arrive from repository content rather than from the user, which is the input-handling case behind several output-handling requirements. The agent harness boundary guide covers where the harness is the real security boundary, and the plugin security audit guide covers auditing hooks and commands, which is where a control owner has to look when the requirement is about tool behavior.

Secrets and evidence interact with the register too. The secrets in logs guide covers what telemetry may capture, and the settings files and secrets guide covers configuration that can weaken a safeguard quietly. A mapping that ignores these rows will overstate coverage.

Cost of verification is a legitimate constraint on how many controls you can test per cycle. The cost per verified change guide covers pricing that effort, and the task budgets guide covers limiting how far an agent can run, which is a control relevant to several least-privilege rows.

Data gap and future update

The AISVS project page and the crosswalk were used as structural references during research, and neither was fetched as a full requirement-by-requirement listing for this pass. Exact requirement numbering, section titles and any version-specific wording should be checked against the current OWASP documentation before the register is published externally. This post deliberately avoids quoting requirement numbers it has not verified.

No assessment result, certification claim or third-party audit of Claude Code is reported here, because none was reviewed. A future update could describe a full worked mapping for a specific reference deployment, but that would need an actual assessment pass with named evidence per row. No such pass is behind this post.

Coverage of OWASP’s governance initiative is limited to the framing already published on the initiative page. Whether additional adoption guidance changes the recommended register fields is a question for a future revision.

One AI API Key option for OpenAI-format agents

Claude Code uses an Anthropic-format route, so the One AI free model IDs are not a Claude Code model source. The packet records Claude IDs as unavailable on 2026-11-27, and nothing in this post changes that.

OpenAI-format agents have a separate path. One AI API Key offers https://api.oneaiapikey.com/v1, one key, and 46 live free IDs, which is a different client and request format rather than a workaround for Claude Code authentication. Check the free model list and eligibility notes before wiring up an agent, read the quickstart for the request shape, or estimate spend with the cost calculator.

FAQ

Does mapping to AISVS mean our platform is certified?

No. AISVS is a framework for designing, building, testing and verifying AI system security, and a mapping you produce from it is your own assessment record. OWASP does not certify Claude Code, your deployment, or the register you create. Treat the mapping as evidence of a review process, not as a compliance claim.

Can a control count as satisfied if the vendor documents it?

Documentation describes a safeguard the product offers. Whether your team enabled it in the deployed environment, and whether anyone tested that it behaves as intended, are separate questions. The evidence column should point at your configuration, and the verification column should point at a test result or a review record.

What do we do with requirements we cannot evidence yet?

Record them as open, with an owner and a next action. If the team has decided to accept the risk instead of implementing the control, record an exception with a compensating control and an expiry date. The failure mode to avoid is deleting the row or marking it not applicable without a written rationale.

How is this different from a threat model?

A threat model asks what can go wrong and where the boundaries are, starting from assets and agent permissions. A control mapping asks which requirements apply and who owns the evidence for each. The infrastructure threat model boundaries guide covers the first question, and the two artifacts feed each other.

How often should the register be reviewed?

Quarterly is a reasonable default for most platform teams, with off-cycle reviews triggered by a change to the agent’s identity scope or its infrastructure reach. A row without a review date is a row that will rot, so set the cadence when the register is created.

More Claude Code troubleshooting

Sources

More in Blog

Try it

One API key for GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2 and Roleplay.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.

New accounts$10 credit on sign-up
Claim $10 credit →