Artificial Intelligence Security Verification Standard 1.0, with its Appendix C on AI-assisted secure coding. Apps that use AI, and code an AI tool helped write. AISVS uses the same three levels as ASVS, for an app's AI features. Its Appendix C is about code an AI tool helps write; StackVet hands your AI tool its coding rules while it builds.
C1 Training Data Integrity & Traceability
C1.1 Training Data Origin & Data Security
Training data includes only the features, attributes, and fields the model needs for its stated purpose.
Verify that training data includes only features, attributes, and fields required for the model's stated purpose.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
An up-to-date inventory lists every training-data source with its origin, responsible party, license, collection method, intended use constraints, and processing history.
Verify that an up-to-date inventory is kept of every training-data source, including its origin, responsible party, license, collection method, intended use constraints, and processing history.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
The integrity of training data (that it has not been changed) is protected while it is stored and while it is transferred.
Verify that data integrity is provided when training data is stored and transferred.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
Training data is monitored for integrity, to guard against unauthorized modifications or corruption.
Verify that integrity monitoring is applied to guard against unauthorized modifications or corruption of training data.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
Datasets are watermarked (marked in a hidden, traceable way) so their use can be attributed and any unauthorized use detected.
Verify that datasets are watermarked so their use can be attributed and any unauthorized use detected.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
C1.2 Data Labeling and Annotation Security
Labeling platforms (where people tag training data) enforce access controls on who can create, modify, or approve annotations.
Verify that labeling platforms enforce access controls that restrict who can create, modify, or approve annotations.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
Labeling artifacts (the files of labels and annotations) carry cryptographic integrity protection, so any change to them can be detected.
Verify that cryptographic integrity is applied to labeling artifacts.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
Sensitive information in labels is redacted, anonymized, or encrypted before it is used in any labeling artifact.
Verify that sensitive information in labels is redacted, anonymized, or encrypted before being used in any labeling artifact.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
C1.3 Training Data Quality and Security Assurance
Training and fine-tuning pipelines use poisoning detection to find data poisoning (deliberately planted bad data) or unintentional corruption in training data.
Verify that training and fine-tuning pipelines implement poisoning detection techniques to identify potential data poisoning or unintentional corruption in training data.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
Automatically generated labels pass confidence thresholds and consistency checks, to detect misleading or low-confidence labels.
Verify that automatically generated labels are subject to confidence thresholds and consistency checks to detect misleading or low-confidence labels.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
Models used in security-relevant decisions are evaluated for bias patterns.
Verify that models used in security-relevant decisions are evaluated for bias patterns.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
Disallowed content is detected and removed from the data before training.
Verify that disallowed content is detected and removed before training.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
Defenses are in place against clean-label poisoning attacks (bad training examples that look correctly labeled but teach the model a hidden behavior).
Verify that defenses against clean-label poisoning attacks are implemented.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train or fine-tune any AI model, so training-data requirements do not apply.”
C2 Input Validation
C2.1 Prompt Injection Defenses
C2.1.1Level 1The owner answersInput is normalized (put into one standard form) before tokenization or embedding, the steps that turn text into what the model reads.
Verify that input normalization is applied before tokenization or embedding.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.Text is put into one standard form before the model reads it. Ask your AI coding tool to show you what the app does to a person's text before it is sent to the model or turned into an embedding. Look for a step that puts the text into one standard form (Unicode normalization, such as NFKC) so that look-alike characters and invisible ones become plain text. If the text goes straight to the model as typed, that is the wrong answer.
- When it applies
- When the app has AI features.
C2.1.2Level 1StackVet can confirm or fail itEncoding and representation smuggling in inputs (hiding instructions in unusual encodings or characters) is detected and mitigated by canonicalization, strict schema validation, policy-based rejection, or explicit marking.
Verify that encoding and representation smuggling in inputs is detected and mitigated. Approved mitigations include canonicalization, strict schema validation, policy-based rejection, or explicit marking.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-hidden-input. If it fails: A message can carry an instruction written in characters no screen shows, and the model reads it: whoever wrote the text (a pasted document, a web page, another user) can steer the model past what the person sees and past a screen that reads only the visible words. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- A person
- Checked by hand, and recorded with
sv review.Hidden or disguised instructions in input are caught. Try sending the AI feature an instruction disguised so a simple filter would miss it: written in Base64, split by invisible characters, in letters from another alphabet that look like English, or inside an HTML comment. Check what the app does. It should refuse, mark the text as untrusted, or strip the disguise before the model sees it, and never follow the hidden instruction.
- When it applies
- When the app has AI features.
C2.1.3Level 1StackVet can confirm or fail itAll inputs that could steer model behavior are treated as untrusted and screened by a prompt injection (text written to make the AI ignore its instructions) ruleset or classifier, and flagged inputs are blocked.
Verify that all inputs that could steer model behavior are treated as untrusted and screened by a prompt injection detection ruleset or classifier, with flagged inputs blocked.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
2 checks speak to it
- The running app: probe.ai-injection-unscreened. If it fails: A message written to take over the model reaches it untouched, so the model is the only thing between what a person types and whatever the feature can do. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too - The running app: probe.ai-stored-injection-unscreened. If it fails: Text somebody saved earlier reaches the model with the instructions written into it, so whoever can save a note, a review, or a message can steer the model whenever the app looks that text up, without typing anything into the chat. (only shows it missing)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
C2.1.4Level 1StackVet can only show it missingInput length controls keep content from exceeding the model's context window (how much text it can read at once), and inputs over the token limits are rejected, not truncated.
Verify that input length controls prevent content from exceeding the context window. The controls must reject inputs that exceed token limits rather than truncating them.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- The running app: probe.ai-input-truncated. If it fails: A message cut short without saying so loses whatever was at its end, and the model answers something the person did not ask. Instructions or evidence placed at the end are exactly what is dropped. (only shows it missing)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- A person
- Checked by hand, and recorded with
sv review.Input that is too long is refused, not cut short. Try pasting a very long text into the AI feature, longer than the model can take (several hundred pages of text). The app should refuse it with a message saying it is too long. Cutting it short quietly and carrying on is the wrong answer, because the part cut off can be the part that mattered, such as the instructions at the end.
- When it applies
- When the app has AI features.
C2.1.5Level 1StackVet can only show it missingThe system restricts the character set of all inputs with an allow-list that permits only the characters that are explicitly required.
Verify that the system implements a character set restriction for all inputs. The restriction must use an allow-list approach that permits only characters that are explicitly required.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- The running app: probe.ai-input-charset-unrestricted. If it fails: Characters no language needs (control characters, private-use characters) are passed to the model as they came, so nothing limits what a message may hold to what the feature needs. (only shows it missing)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- A person
- Checked by hand, and recorded with
sv review.Input to the AI feature is held to the characters it needs. Ask your AI coding tool to show you the list of characters the AI feature accepts. It should be a list of what is allowed (letters, numbers, ordinary punctuation, the languages your users write in), not a list of what is blocked. Then try sending control characters, emoji sequences, or invisible characters, and check they are refused or removed.
- When it applies
- When the app has AI features.
C2.1.6Level 2StackVet can only show it missingThe system enforces an instruction hierarchy: system and developer messages override user instructions and other untrusted inputs, even after user instructions have been processed.
Verify that the system enforces an instruction hierarchy in which system and developer messages override user instructions and other untrusted inputs, even after user instructions have been processed.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- Outside tools you turn on: codeql-javascript, 1 rule. Its rules look for: user input placed into the system instructions, where it can override system and developer messages (only shows it missing)
Needs: the tool installed and turned on in stackvet.toml ([tools] codeql = true), for a use its license allows: an open-source app, academic research, or a paid GitHub Advanced Security license
- When it applies
- When the app has AI features.
Reserved special tokens (control markers the model treats specially) are encoded as literal characters, so they cannot be injected into the model context.
Verify that reserved special tokens are encoded as literal characters and cannot be injected into the model context.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI features.
The system can detect many-shot jailbreaking patterns (long runs of example dialogue meant to wear down the AI's rules).
Verify that the system can detect many-shot jailbreaking patterns.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
C2.2 Content & Policy Screening
C2.2.1Level 1StackVet can only show it missingEvery prompt is scored by a content classifier for violence, self-harm, hate, and sexual content against configurable thresholds, and prompts over a threshold are rejected or sanitized before reaching the model context.
Verify that every prompt is scored by a content classifier for violence, self-harm, hate, and sexual content against configurable thresholds. Prompts that exceed those thresholds are rejected or sanitized before reaching the model context.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- Outside tools: semgrep, 3 rules. Its rules look for: prompts sent to the model without a content classifier scoring them, or its verdict not checked (only shows it missing)
Needs: the tool installed; runs with sv report unless --no-tools
- A person
- Checked by hand, and recorded with
sv review.Prompts are screened for harmful content before the model. Ask your AI coding tool to show you where each prompt is checked for violence, self-harm, hate, and sexual content before it reaches the model, and where the limits for each are set. Then try a prompt that clearly crosses one of them (a request for instructions to hurt someone, for example). It should be refused or cleaned, and the limits should be settings you can change, not words written into the code.
- When it applies
- When the app has AI moderation. Otherwise the report says: “A separate content-moderation check (for violence, self-harm, hate and sexual content) is not turned on for this app's AI.”
C2.2.2Level 1StackVet can only show it missingPrompt content classification is evaluated for how it handles unsupported languages.
Verify that prompt content classification is evaluated for unsupported languages.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- The running app: probe.ai-injection-other-languages. If it fails: The screen stops the attack in English and lets the same attack through in another language or encoded, so anyone who knows to translate it gets past. (only shows it missing)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- A person
- Checked by hand, and recorded with
sv review.Content screening works in other languages too. Take the harmful prompt you tried for the content screening and translate it into a language your app does not expect, such as one written in a different alphabet. Send it. The app should refuse it or mark it as not screened, rather than let it through because the screening only understood English.
- When it applies
- When the app has AI moderation. Otherwise the report says: “A separate content-moderation check is not turned on for this app's AI, so there is no classifier to test with other languages.”
Non-text inputs (image, video, and audio) are checked for adversarial perturbations, steganographic payloads (hidden messages), hidden or embedded content, or known attack patterns.
Verify that non-text inputs (image/video/audio) are checked for adversarial perturbations, steganographic payloads, hidden or embedded content, or known attack patterns.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that reads images or audio. Otherwise the report says: “The assistant accepts typed text only; it does not take images, video or audio.”
Coordinated attacks spanning multiple input types, such as a hidden payload in an image combined with prompt injection in text, are detected and blocked.
Verify that coordinated attacks spanning multiple input types (e.g., steganographic payloads in images combined with prompt injection in text) are detected and blocked.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
C3 Model Lifecycle Management & Change Control
C3.1 Model Authorization & Integrity
A model registry keeps an inventory of all deployed model artifacts and their origin.
Verify that a model registry maintains an inventory of all deployed model artifacts and their origin.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI features.
All model artifacts (weights, configurations, tokenizers, base models, fine-tunes, adapters, and safety or policy models) are cryptographically signed by authorized entities.
Verify that all model artifacts (weights, configurations, tokenizers, base models, fine-tunes, adapters, and safety/policy models) are cryptographically signed by authorized entities.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
Model cryptographic signatures are verified when a model is admitted for deployment and again when it is loaded.
Verify that model cryptographic signatures are verified at deployment admission and on load.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
C3.2 Model Validation & Testing
Before deployment, models undergo automated input validation testing, safety evaluation testing, and output sanitization testing.
Verify that models undergo automated input validation testing, safety evaluation testing, and output sanitization testing before deployment.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI features.
A model shrunk by post-training quantization is re-evaluated on the compressed artifact, against the same safety and alignment test suite, before deployment.
Verify that models subjected to post-training quantization are re-evaluated against the same safety and alignment test suite on the compressed artifact before deployment.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
C3.2.3Level 3StackVet can only show it missingA change to the provider's model, version, or routing triggers a security re-evaluation before the model's continued use.
Verify that provider model, version, or routing changes trigger security re-evaluation before continued use.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
2 checks speak to it
- Reads the code: ast.floating-model-name. Looks for: A hosted model is asked for by a name that moves (only shows it missing)
Needs: nothing: plain sv check - The running app: probe.ai-floating-model-sent. If it fails: The provider points a name like this at a new model whenever it releases one, so the model behind the app changes on the provider's schedule with no change to your code, and nothing prompts anyone to test the new one before users meet it. (only shows it missing)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
C3.3 Controlled Deployment & Rollback
Production deployments use rollout mechanisms with automated rollback triggers, which return to the previous version when something goes wrong.
Verify that production deployments implement rollout mechanisms with automated rollback triggers.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
Rollback capabilities restore the complete model state.
Verify that rollback capabilities restore the complete model state.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
Model versions running in parallel use isolated runtime state, so AI-specific shared resources are not shared across deployments.
Verify that model versions running in parallel use isolated runtime state so that AI-specific shared resources are not shared across deployments.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
C3.4 Secure Development Practices
AI-specific runtime components are not shared across environment boundaries, such as development, staging, and production.
Verify that AI-specific runtime components are not shared across environment boundaries (e.g., development, staging, production).
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
Model training and fine-tuning environments are isolated from production environments.
Verify that model training and fine-tuning environments are isolated from production environments.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
C3.5 Pipeline Fine-Tuning
Models used in RLHF fine-tuning (training from human feedback) are versioned and integrity-verified before use in a training run.
Verify that models used in RLHF fine-tuning are versioned and integrity-verified before use in a training run.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
RLHF training stages include automated detection of reward hacking or reward model over-optimization, where the model games its scoring instead of improving.
Verify that RLHF training stages include automated detection of reward hacking or reward model over-optimization.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
In multi-stage fine-tuning pipelines, each stage's output is integrity-verified before the next stage consumes it.
Verify that in multi-stage fine-tuning pipelines, each stage's output is integrity-verified before it is consumed by the next stage.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
Fine-tuning checkpoints (saved snapshots of a model during training) are registered as distinct artifacts.
Verify that fine-tuning checkpoints are registered as distinct artifacts.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not build, deploy or roll back AI models of its own; it calls a model that its vendor hosts.”
C4 Infrastructure, Configuration & Deployment Security
C4.1 AI Workload Sandboxing & Validation
AI models execute in isolated sandboxes.
Verify that AI models execute in isolated sandboxes.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
C4.1.2Level 1StackVet can only show it missingModel artifact loading accepts only an explicit allow-list of serialization (file storage) formats that cannot run arbitrary code during deserialization (loading).
Verify that model artifact loading enforces an explicit allow-list of serialization formats that do not permit arbitrary code execution during deserialization.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
3 checks speak to it
- Reads the code: ast.model-loaded-with-pickle. Looks for: A model file is loaded in a way that can run code (only shows it missing)
Needs: nothing: plain sv check - Reads the code: config.model-file-can-run-code. Looks for: A model file in the app is stored in a format that can run code when loaded (only shows it missing)
Needs: nothing: plain sv check - Outside tools: bandit, 1 rule. Its rules look for: a model file loaded with torch.load, which can run code stored in the file (only shows it missing)
Needs: the tool installed; runs with sv report unless --no-tools
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
Workload attestation is performed before model loading, to prove the execution environment has not been tampered with.
Verify that workload attestation is performed before model loading to provide proof that the execution environment has not been tampered with.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
Confidential inference services protect model weights while running, through isolated execution environments.
Verify that confidential inference services protect model weights during runtime through isolated execution environments.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
C4.2 AI Hardware Security
AI accelerator (GPU) firmware is version-pinned, signed, and attested (proven genuine) at boot.
Verify that AI accelerator (GPU) firmware is version-pinned, signed, and attested at boot.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
Execution within a trusted execution environment (TEE, a sealed-off area of the processor) provides hardware-enforced isolation, memory encryption, and integrity protection.
Verify that execution within a trusted execution environment (TEE) provides hardware-enforced isolation, memory encryption, and integrity protection.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
AI accelerator (GPU) integrity is validated using hardware-based attestation mechanisms before each workload executes.
Verify that AI accelerator (GPU) integrity is validated using hardware-based attestation mechanisms before each workload executes.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
Accelerator (GPU) memory is isolated between workloads through partitioning, and memory is sanitized (wiped) between jobs.
Verify that accelerator (GPU) memory is isolated between workloads through partitioning mechanisms with memory sanitization between jobs.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
Accelerator interconnects (the links between GPUs) are restricted to approved topologies and authenticated endpoints.
Verify that accelerator interconnects are restricted to approved topologies and authenticated endpoints.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
C4.3 Edge & Distributed AI Security
Edge AI devices authenticate to central infrastructure using strong authentication mechanisms.
Verify that edge AI devices authenticate to central infrastructure using strong authentication mechanisms.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
Models deployed to edge or mobile devices are cryptographically signed during packaging, and the on-device runtime validates these signatures or checksums before loading or inference.
Verify that models deployed to edge or mobile devices are cryptographically signed during packaging, and that the on-device runtime validates these signatures or checksums before loading or inference.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
Inference runtimes (the software that runs the model) enforce process, memory, and file access isolation.
Verify that inference runtimes enforce process, memory, and file access isolation.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
Model weights and sensitive parameters stored locally are encrypted using hardware-backed key stores or secure enclaves.
Verify that model weights and sensitive parameters stored locally are encrypted using hardware-backed key stores or secure enclaves.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
Models packaged within mobile, IoT, or embedded applications are encrypted at rest and decrypted only inside a trusted runtime or secure enclave, preventing direct extraction from the app package or filesystem.
Verify that models packaged within mobile, IoT, or embedded applications are encrypted at rest, and decrypted only inside a trusted runtime or secure enclave, preventing direct extraction from the app package or filesystem.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The AI model runs on its vendor's infrastructure, not on hardware this app controls.”
C5 Access Control & Identity for AI Components & Users
C5.1 Authentication
High-risk AI operations (model deployment, weight export, training data access, and production configuration changes) require step-up authentication, an extra proof of identity at that moment.
Verify that high-risk AI operations (model deployment, weight export, training data access, production configuration changes) require step-up authentication.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app neither hosts nor trains an AI model of its own, so there is no model deployment, weight export, or training data whose use needs a second proof of who someone is.” When the app has model training. Otherwise the report says: “This app neither hosts nor trains an AI model of its own, so there is no model deployment, weight export, or training data whose use needs a second proof of who someone is.”
AI agents in federated or multi-system deployments authenticate using short-lived, minimal-scoped, cryptographically signed tokens.
Verify that AI agents in federated or multi-system deployments authenticate using short-lived, minimal-scoped, cryptographically signed tokens.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has several AI agents. Otherwise the report says: “There is a single assistant, not several AI agents across systems that must authenticate to each other.”
C5.2 AI Resource Authorization & Classification
Every AI resource (datasets, endpoints, vector collections, embedding indices, and compute instances) enforces access controls with explicit allow-lists and default-deny policies.
Verify that every AI resource (datasets, endpoints, vector collections, embedding indices, compute instances) enforces access controls with explicit allow-lists and default-deny policies.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI features.
C5.2.2Level 2StackVet can only show it missingRetrieval pipelines (such as RAG queries and embedding lookups) enforce the end-user's own authorization at each retrieval and assembly stage, rather than relying solely on the service account's permissions.
Verify that retrieval pipelines (e.g., RAG queries, embedding lookups) enforce the end-user's authorization context at each retrieval and assembly stage, rather than relying solely on the service account's permissions.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- Signed in: probe.ai-retrieval-ignores-user. If it fails: The AI feature searches everybody's notes, not just the asker's, so anyone who can chat with it can have it read them another person's private writing, by asking about what it says. (only shows it missing)
Needs: the above, and a users section with test accounts, or an oidc section for a sign-in through another service
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The AI does not search a document store or vector database.”
Sensitive data is retrieved through retrieval pipelines (such as RAG queries and embedding lookups), so it is not permanently stored in models.
Verify that sensitive data is retrieved via retrieval pipelines (e.g., RAG queries, embedding lookups) to prevent permanent storage in models.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The AI does not use a retrieval pipeline or vector database.”
C5.2.4Level 2StackVet can only show it missingPost-inference filtering keeps responses from including data that the requester is not authorized to receive.
Verify that post-inference filtering mechanisms prevent responses from including data that the requester is not authorized to receive.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- Signed in: probe.ai-reply-carries-others-data. If it fails: Another person's private text went into the model's answer and on to the person who asked: nothing between the model and the screen holds back what this person may not see. (only shows it missing)
Needs: the above, and a users section with test accounts, or an oidc section for a sign-in through another service
- When it applies
- When the app has AI features.
The policy decision point that decides what an agent is authorized to do is isolated from the agent's execution environment.
Verify that the policy decision point for agent authorization is isolated from the agent's execution environment.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant cannot take actions, so there is no action-authorization component to isolate.”
Privileged access to model weights, training pipelines, and production AI configuration is granted just in time, with a defined maximum session duration and automatic expiry; Zero Standing Privilege (no permanent access) is encouraged.
Verify that privileged access to model weights, training pipelines, and production AI configuration is granted just in time, with a defined maximum session duration and automatic expiry. Zero Standing Privilege (ZSP) to these resources is encouraged.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
Data classification labels propagate to downstream resources, such as embeddings, prompt caches, and model outputs.
Verify that data classification labels propagate to downstream resources (embeddings, prompt caches, model outputs).
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
C5.3 Multi-Tenant Isolation
Shared model serving infrastructure prevents one tenant's fine-tuning, inference, or embedding operations from influencing or observing another tenant's operations.
Verify that shared model serving infrastructure prevents one tenant's fine-tuning, inference, or embedding operations from influencing or observing another tenant's operations.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has several customers' data side by side. Otherwise the report says: “This app serves one organization; it does not host several separate customer organizations sharing the same assistant.”
One tenant (a separate customer sharing the same system) cannot influence or observe another tenant's operations through shared compute resources; this typically needs hardware partitioning, confidential computing, or dedicated compute per tenant.
Verify that one tenant cannot influence or observe another tenant's operations through shared compute resources. Satisfying this requirement typically requires hardware partitioning, confidential computing, or dedicated per-tenant compute allocation.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has several customers' data side by side. Otherwise the report says: “This app serves one organization; it does not host several separate customer organizations sharing the same assistant.”
C7 Model Behavior, Output Control & Safety Assurance
C7.1 Output Format Enforcement
C7.1.1Level 1StackVet can confirm or fail itThe application checks all model outputs against a defined schema (a description of the expected format) and rejects any output that does not match.
Verify that the application validates all model outputs against a defined schema and rejects any output that does not match.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-output-shape-unchecked. If it fails: The app uses what the model answers even when it is not in the shape the app asked for. A model that goes wrong, or is talked into answering differently, then hands the app's code values it was never written for: text where a number goes, a list where text goes, fields nobody expected, shown to people or acted on. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
C7.1.2Level 1StackVet can confirm or fail itOutput generated by the model is bounded by length limits and controls that make it stop.
Verify that model-generated output is bounded by length limits and termination controls.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-output-unbounded. If it fails: Without a limit the model may write for as long as it likes: slow answers, a large bill, and a reply nothing downstream was built to hold. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
C7.2 Hallucination Detection & Mitigation
C7.2.1Level 2The owner answersThe system assesses how reliable generated answers are using a confidence estimation method.
Verify that the system assesses the reliability of generated answers using a confidence estimation method.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.The app judges how reliable each AI answer is. Ask your AI coding tool to show you where the app decides how confident it is in an answer the model generated, before showing it. Look for a score or a check, not just the model's text passed straight through. If the answer is shown whatever the model said, the reliability of generated answers is not being assessed.
- When it applies
- To every app held to its level.
C7.2.2Level 2The owner answersThe application automatically blocks an answer, or switches to a fallback message, when its confidence score drops below a defined threshold.
Verify that the application automatically blocks answers or switches to a fallback message if the confidence score drops below a defined threshold.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.A doubtful AI answer is blocked or replaced. With the confidence check from the item above, find the threshold below which an answer is not shown, and what the app shows instead: a fallback message such as "I'm not sure, please contact us". Try asking the AI something it cannot know about your business. It should fall back rather than invent an answer.
- When it applies
- To every app held to its level.
For responses that the policy classifies as high-risk, the system performs an additional verification step.
Verify that for responses classified as high-risk by policy, the system performs an additional verification step.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
C7.3 Output Safety
C7.3.1Level 1StackVet can confirm or fail itAutomated classifiers scan every response and block content that matches the defined categories of harmful content.
Verify that automated classifiers scan every response and block content that matches defined harmful content categories.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-flagged-reply-shown. If it fails: The app asks a moderation service whether a reply is harmful, is told it is, and shows it anyway, so the screen it pays for protects nobody. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI moderation. Otherwise the report says: “A separate content-moderation check on the AI's answers is not turned on.”
C7.3.2Level 2StackVet can confirm or fail itOutput filters detect and block responses that disclose the content of the system prompt (the AI's hidden instructions) or backend data.
Verify that output filters detect and block responses that disclose system prompt content or backend data.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-instructions-leaked. If it fails: Whatever the app tells its model before the conversation — its rules, the data it looked up, sometimes a key — reaches anybody who asks the model to repeat it, and models can always be talked into repeating it. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
C7.3.3Level 2StackVet can only show it missingOutput generated by the model is prevented from triggering outbound requests to other systems.
Verify that model-generated output is prevented from triggering outbound requests.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- The running app: probe.ai-output-fetched. If it fails: An address a model writes into its reply is an address anybody who can steer the model chooses. Fetching it, or letting the page load it as an image, sends a request — and whatever is written into the address — wherever they point it. (only shows it missing)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
C7.3.4Level 3StackVet can confirm or fail itModel outputs are checked for hidden, encoded, or misleading content created through homoglyphs (look-alike characters), formatting, metadata, or structured fields.
Verify that model outputs are checked for hidden, encoded, or misleading content created through homoglyphs, formatting, metadata, or structured fields.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-hidden-content-passed. If it fails: Characters a person cannot see, or a link whose text says one address and goes to another, reach the page as the model wrote them. They can carry instructions to the next system that reads the reply, or send a person somewhere they did not choose. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- To every app held to its level.
C7.4 Source Attribution & Citation Integrity
C7.4.1Level 1The owner answersResponses generated using retrieval-augmented generation (RAG, where the AI answers from documents it looks up) include attribution to the source documents.
Verify that responses generated using retrieval-augmented generation (RAG) include attribution to the source documents.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.Answers built from documents say which documents. If the AI feature answers from your own documents or records (retrieval, often called RAG), ask it a question whose answer is in one of them. The answer should name or link the documents it came from. An answer with no sources, or with sources you cannot open, is the wrong answer.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The assistant does not quote or cite retrieved content: it has no document store and does not search the web.” When the app has web search by its AI. Otherwise the report says: “The assistant does not quote or cite retrieved content: it has no document store and does not search the web.”
C7.4.2Level 1The owner answersIn RAG answers, the source attributions come from the retrieval records and are not generated by the model, so the AI cannot make up where information came from.
Verify that RAG attributions are derived from retrieval metadata and are not generated by the model, so provenance cannot be fabricated.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.The listed sources come from the search, not from the model. Ask your AI coding tool to show you where the source list under each answer is made. It should come from the records the search actually returned (their titles, ids, or addresses), added by the app. If the model is asked to write its own sources, try asking it to cite a document that does not exist: a made-up source appearing in the list is the wrong answer.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The assistant does not cite retrieved content, so there are no attributions to derive.” When the app has web search by its AI. Otherwise the report says: “The assistant does not cite retrieved content, so there are no attributions to derive.”
Each claim in a RAG response (an answer built from looked-up documents) can be traced back to the retrieved chunk of text it came from.
Verify that claims in a RAG response can be traced to the retrieved chunk.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The assistant does not retrieve content, so there is nothing to trace its claims to.” When the app has web search by its AI. Otherwise the report says: “The assistant does not retrieve content, so there is nothing to trace its claims to.”
Generated media is watermarked to prove it was AI-generated.
Verify that generated media is watermarked to prove it was AI-generated.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI-made images or audio. Otherwise the report says: “The assistant makes text only, so there are no generated images, audio, or video to watermark.”
C8 Memory, Embeddings & Vector Database Security
C8.1 Access Controls on Memory & RAG Indices
Vector identifiers and namespaces (the labels for stored AI memory entries) are unique per tenant, so one customer's entries cannot collide with another's.
Verify that vector identifiers and namespaces enforce uniqueness per tenant and prevent cross-tenant collisions.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The AI does not search a document store or vector database, so there is none to keep apart for each user.”
Document metadata tags cannot be changed after they are first written.
Verify that document metadata tags are immutable after the initial write.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The AI does not search a document store, so there are no metadata tags to check.”
C8.1.3Level 2StackVet can only show it missingRetrieval operations (looking up stored documents for the AI) enforce scope constraints, returning only what is within the allowed scope.
Verify that retrieval operations enforce scope constraints.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- Signed in: probe.ai-retrieval-ignores-user. If it fails: The AI feature searches everybody's notes, not just the asker's, so anyone who can chat with it can have it read them another person's private writing, by asking about what it says. (only shows it missing)
Needs: the above, and a users section with test accounts, or an oidc section for a sign-in through another service
- When it applies
- When the app has stored AI conversations. Otherwise the report says: “The assistant does not keep conversation history between visits, so there is nothing to retrieve.”
C8.2 Embedding Sanitization & Validation
Sensitive fields are detected before data is embedded (turned into vectors for AI search) and are masked, tokenized, or dropped.
Verify that sensitive fields are detected before embedding and are masked, tokenized, or dropped.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The assistant does not create embeddings or use a vector database.”
Vectors that fall outside normal clustering patterns (stored entries that look unusual) are flagged and quarantined before they enter production indices.
Verify that vectors that fall outside normal clustering patterns are flagged and quarantined before entering production indices.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The assistant does not create embeddings or use a vector database.”
Outputs from agents and tools are not automatically written to trusted agent memory without explicit validation of their source.
Verify that agent outputs and tool outputs are not automatically written to trusted agent memory without explicit source validation.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The assistant does not create embeddings or use a vector database.”
Content crafted to manipulate retrieval results is detected and rejected or quarantined before vectorization (before it is stored for AI search).
Verify that content crafted to manipulate retrieval results is detected and rejected or quarantined before vectorization.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The assistant does not create embeddings or use a vector database.”
New content written to memory is checked for contradictions with what is already stored, and conflicts trigger alerts.
Verify that new content written to memory is checked for contradictions with what is already stored and that conflicts trigger alerts.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The assistant does not create embeddings or use a vector database.”
C8.3 Memory Expiry & Revocation
Expired vectors (stored AI memory entries past their expiry) are excluded from retrieval results.
Verify that expired vectors are excluded from retrieval results.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has stored AI conversations. Otherwise the report says: “The AI does not keep conversation history between visits, so there is no stored memory to protect.”
The AI's memory can be reset.
Verify that memory can be reset.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has stored AI conversations. Otherwise the report says: “The assistant does not keep conversation history between visits, so there is no memory to reset.”
Quarantined content is retained but excluded from all retrieval results.
Verify that quarantined content is retained but excluded from all retrieval results.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has stored AI conversations. Otherwise the report says: “The AI does not keep conversation history between visits, so there is no stored memory to protect.”
C9 Orchestration & Agentic Security
C9.1 Execution Budgets, Loop Control, and Circuit Breakers
C9.1.1Level 1StackVet can confirm or fail itQuotas and timeouts are enforced for each tool, covering things such as CPU, memory, disk, outgoing network traffic, and execution time.
Verify that per-tool quotas and timeouts (e.g., CPU, memory, disk, egress, and execution time) are enforced.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-tool-timeout. If it fails: A tool that stops answering holds the message that called it for as long as the tool does, so one stuck tool leaves the person waiting and ties up what is serving them. (only credits it, only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- A person
- Checked by hand, and recorded with
sv review.Each tool the AI uses has limits on time and resources. List the tools the AI feature can use (running code, fetching pages, reading files, querying the database). For each, ask your AI coding tool to show you its limits: how long it may run, how much memory and disk it may use, and where it may connect. Then ask the AI to do something that never ends, such as fetching a page that never answers or running an endless loop. It should be stopped after the limit, not left running.
- When it applies
- When the app has AI features.
C9.1.2Level 1StackVet can confirm or fail itBudgets for each execution, such as maximum recursion depth, token use, and money spent, are configured and enforced by the runtime.
Verify that per-execution budgets (e.g., max recursion depth, token use, and monetary spend) are configured and enforced by the runtime.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
2 checks speak to it
- The running app: probe.ai-agent-unbounded. If it fails: A model that keeps asking for tools is run for as long as it asks, so one message can cost as much as the model cares to spend, and a model talked into a loop runs the app's tools without end. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too - Outside tools: semgrep, 1 rule. Its rules look for: a model called in a loop with no limit on iterations, token use, or spend (only shows it missing)
Needs: the tool installed; runs with sv report unless --no-tools
- When it applies
- When the app has AI features.
A swarm-level kill-switch exists that can halt all active agent instances (running AI agents) at once.
Verify that a swarm-level kill-switch exists that can halt all active agent instances.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI features.
C9.2 High-Impact Action Approval and Irreversibility Controls
C9.2.1Level 1The owner answersThe agent runtime blocks privileged, high-impact, or irreversible actions until explicit human approval is received and verified.
Verify that the agent runtime blocks execution of privileged, high-impact, or irreversible actions until explicit human approval is received and verified.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.High-impact actions wait for a person to approve them. List what the AI feature can do that is hard to undo: sending money, deleting records, emailing customers, changing permissions. Ask it to do each one. The app should stop and ask a person to approve first, and the approval should be checked by the app itself, not just written in the chat. The action going ahead without a click from a person is the wrong answer.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant can only answer questions; it cannot create, change or delete anything, so there are no actions that need approval.”
Approval requests show the action's full parameters in a standard form, such as diffs, commands, recipients, amounts, resources, and scopes, without cutting them short or changing them unsafely.
Verify that approval requests display canonicalized and complete action parameters, such as diffs, commands, recipients, amounts, resources, and scopes, without truncation or unsafe transformation.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant can only answer questions; it cannot create, change or delete anything, so there are no actions that need approval.”
Each high-impact action has a trusted reversibility classification, such as read-only, reversible, externally reversible, or irreversible.
Verify that each high-impact action has a trusted reversibility classification, such as read-only, reversible, externally reversible, or irreversible.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant can only answer questions; it cannot create, change or delete anything, so there are no actions that need approval.”
The agent runtime enforces reversibility classifications by blocking actions, requiring approval, or restricting them, based on their impact and whether they can be reversed.
Verify that the agent runtime enforces reversibility classifications by blocking, requiring approval, or restricting actions based on their impact and ability to be reversed.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant can only answer questions; it cannot create, change or delete anything, so there are no actions that need approval.”
Any ability of the AI to modify itself, such as rewriting its prompt, changing its tool list, or updating parameters, is restricted by enforceable boundaries.
Verify that any self-modification capability (e.g., prompt rewriting, tool-list changes, parameter updates) is restricted by enforceable boundaries.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant can only answer questions; it cannot create, change or delete anything, so there are no actions that need approval.”
Agentic systems include an AI-augmented review of planned high-risk actions before execution, which adds to, and does not replace, the fixed rule-based policy gate.
Verify that agentic systems include an AI-augmented review of planned high-risk actions before execution that adds to, and does not replace, the deterministic policy gate.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant can only answer questions; it cannot create, change or delete anything, so there are no actions that need approval.”
The AI-augmented review is protected against manipulation by hostile inputs and cannot be overridden or bypassed through prompt injection (text written to make the AI ignore its instructions).
Verify that the AI-augmented review mechanism is protected against manipulation by adversarial inputs, and cannot be overridden or bypassed through prompt injection.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant can only answer questions; it cannot create, change or delete anything, so there are no actions that need approval.”
Approvals are cryptographically bound to the action parameters, the requester's identity, the execution context, and a unique single-use nonce (a one-time code).
Verify that approvals are cryptographically bound to action parameters, requester identity, execution context, and a unique single-use nonce.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant can only answer questions; it cannot create, change or delete anything, so there are no actions that need approval.”
Cryptographic keys or credentials used to issue approvals are kept isolated from the agent runtime.
Verify that cryptographic key material or credentials used to issue approvals are isolated from the agent runtime.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant can only answer questions; it cannot create, change or delete anything, so there are no actions that need approval.”
For chains of actions with several steps or several agents, approval gates enforce the highest-impact reversibility classification found anywhere in the chain.
Verify that approval gates for multi-step or multi-agent action chains enforce the highest-impact reversibility classification present anywhere in the chain.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant can only answer questions; it cannot create, change or delete anything, so there are no actions that need approval.”
C9.3 Component Isolation and Tool Authorization
C9.3.1Level 1StackVet can only show it missingEach tool or plugin executes in a least-privilege sandbox (an enclosed space with only the access it needs) or is otherwise isolated from model operations.
Verify that each tool/plugin executes in a least-privilege sandbox or is otherwise isolated from model operations.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- Outside tools: semgrep, 1 rule. Its rules look for: an agent tool that runs arbitrary code, not isolated in a least-privilege sandbox; dynamic code execution, such as eval, on data that may be untrusted (only shows it missing)
Needs: the tool installed; runs with sv report unless --no-tools
- A person
- Checked by hand, and recorded with
sv review.The AI's tools run with the least access they need. Ask your AI coding tool where each tool the AI can use runs, and what it can reach: which files, which database tables, which network addresses, which keys. Each should run in its own sandbox or container with only what it needs (privilege kept to the least). A tool that runs inside the app itself with all its keys and its whole database is the wrong answer.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant has no tools it can call, so there are no tools to isolate or authorize.”
C9.3.2Level 1StackVet can confirm or fail itTool outputs are validated against schemas (descriptions of the expected format).
Verify that tool outputs are validated against schemas.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-mcp-output-unvalidated. If it fails: A tool's result that does not match the shape the tool promised is passed to the model as if it did, so a broken or hostile MCP server decides what the model is told. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant has no tools it can call, so there are no tool outputs to validate.”
Tool manifests (each tool's description file) declare the privileges it requires, its resource limits, and its output validation requirements.
Verify that tool manifests declare required privileges, resource limits, and output validation requirements.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant has no tools it can call, so there are no tools to isolate or authorize.”
The runtime enforces the privileges, resource limits, and output validation requirements declared in tool manifests.
Verify that the runtime enforces the privileges, resource limits, and output-validation requirements declared in tool manifests.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant has no tools it can call, so there are no tools to isolate or authorize.”
Components that process untrusted data are isolated from tool-calling capabilities, so compromised data processing cannot trigger unauthorized tool calls.
Verify that components processing untrusted data are isolated from tool-calling capabilities, ensuring that compromised data processing cannot trigger unauthorized tool invocations.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant has no tools it can call, so there are no tools to isolate or authorize.”
There is architectural separation between processing untrusted tool outputs and the agent's operations.
Verify that there is architectural separation between processing of untrusted tool outputs and agent operations.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant has no tools it can call, so there are no tools to isolate or authorize.”
C9.3.7Level 2StackVet can only show it missingExternal resources named in model output are checked against an approved allow-list or registry before the agent installs or invokes them.
Verify that external resources named in model output are verified against an approved allow-list or registry before the agent installs or invokes them.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- The running app: probe.ai-output-fetched. If it fails: An address a model writes into its reply is an address anybody who can steer the model chooses. Fetching it, or letting the page load it as an image, sends a request — and whatever is written into the address — wherever they point it. (only shows it missing)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant cannot install or invoke anything, so there are no external resources named by the model to check.”
Policy violations trigger automated containment of the tool involved.
Verify that policy violations trigger automated tool containment.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant has no tools it can call, so there are no tools to isolate or authorize.”
C9.4 Agent and Orchestrator Identity
Each agent instance has a unique cryptographic identity and authenticates as a principal in its own right (an identity of its own) to downstream systems.
Verify that each agent instance has a unique cryptographic identity and authenticates as a first-class principal to downstream systems.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has several AI agents. Otherwise the report says: “There is a single assistant, not several AI agents that must identify each other.”
Actions started by an agent are cryptographically bound to each step of the execution chain, so it cannot later be denied who did what (non-repudiation).
Verify that agent-initiated actions are cryptographically bound to each step of the execution chain for non-repudiation.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has several AI agents. Otherwise the report says: “There is a single assistant, not several AI agents that must identify each other.”
Agent identity credentials are rotated (replaced with new ones) on a defined schedule.
Verify that agent identity credentials rotate on a defined schedule.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has several AI agents. Otherwise the report says: “There is a single assistant, not several AI agents that must identify each other.”
Agent state saved between invocations is integrity-protected, so tampering with it would be detected.
Verify that agent state persisted between invocations is integrity-protected.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has several AI agents. Otherwise the report says: “There is a single assistant, not several AI agents that must identify each other.”
C9.5 Agent Authorization, Delegation, and Continuous Enforcement
Agent actions are authorized against fine-grained policies, enforced by the runtime, that restrict which tools an agent may invoke and which parameter values it may supply.
Verify that agent actions are authorized against fine-grained policies enforced by the runtime that restrict which tools an agent may invoke, and which parameter values it may supply.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant cannot take actions on anyone's behalf, so there are no agent actions to authorize.”
When an agent acts on a user's behalf, the runtime passes along a tamper-protected, scope-limited token that carries the user's authorization and is enforced at every downstream call.
Verify that when an agent acts on a user's behalf, the runtime propagates an integrity-protected, scope-limited token that carries the user's authorization context and is enforced at every downstream call.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant cannot take actions on anyone's behalf, so there are no agent actions to authorize.”
C9.5.3Level 2StackVet can confirm or fail itAll access control decisions are enforced by application logic or a policy engine, never by the AI model itself.
Verify that all access control decisions are enforced by application logic or a policy engine, never by the AI model itself.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- Signed in: probe.ai-tool-reads-others-records. If it fails: Anyone who can chat with the AI feature can have it read another person's records: the tool trusts whichever record the model names, and the model can be talked into naming any. (only ever in part)
Needs: the above, and a users section with test accounts, or an oidc section for a sign-in through another service
- When it applies
- When the app has AI features.
C9.5.4Level 2StackVet can only show it missingSecrets and credentials an agent needs at runtime are not exposed in anything the model can see, including the context window, system prompts, or tool call parameters.
Verify that secrets and credentials required by an agent at runtime are not exposed within the model's observable context, including the context window, system prompts, or tool call parameters.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- Outside tools: semgrep, 1 rule. Its rules look for: an MCP tool that returns secrets or credentials into the model's context (only shows it missing)
Needs: the tool installed; runs with sv report unless --no-tools
- When it applies
- When the app has AI features.
Delegation of tasks from one agent to another is restricted by an explicit authorization policy.
Verify that inter-agent task delegation is restricted by an explicit authorization policy.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant cannot take actions on anyone's behalf, so there are no agent actions to authorize.”
Long-running agent sessions re-check the current backend authorization policy on every privileged action.
Verify that long-running agent sessions re-evaluate current backend authorization policy on every privileged action.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant cannot take actions on anyone's behalf, so there are no agent actions to authorize.”
C9.6 Shutdown and Graceful Degradation
C9.6.1Level 1StackVet can confirm or fail itA manual kill-switch mechanism exists to immediately halt AI model inference (the model producing answers) and its outputs.
Verify that a manual kill-switch mechanism exists to immediately halt AI model inference and outputs.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-kill-switch-ignored. If it fails: A kill switch that does not stop the model is found not to work at the moment it is needed: when the feature is misbehaving and has to stop now. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
When a step that needs a human's approval is not approved within the set approval time, the system blocks the pending action.
Verify that when a human-approval gate is not satisfied within the defined approval time, the system blocks the pending action.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI features.
Kill-switch commands (the emergency stop for an AI agent) go through a separate, out-of-band channel that is isolated from where the agent runs.
Verify that kill-switch commands are implemented through an out-of-band channel that is isolated from the agent runtime.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI features.
C10 Model Context Protocol (MCP) Security
C10.1 Component Integrity
C10.1.1Level 1StackVet can only show it missingMCP components (the add-ons that give an AI tools and data) come only from trusted sources and are checked with cryptography to prove they are genuine.
Verify that MCP components are obtained only from trusted sources and cryptographically verified.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- Reads the code: config.mcp-server-unpinned. Looks for: An MCP server is downloaded fresh, at whatever version is newest, every time it starts (only shows it missing)
Needs: nothing: plain sv check
- A person
- Checked by hand, and recorded with
sv review.MCP servers come from trusted sources, checked before use. List the MCP servers your app or your AI coding tool uses (look in the MCP settings file, such as .mcp.json). For each, check where it comes from: the publisher's own registry or repository, at an exact version, with a checksum or signature that is verified when it is installed. A server fetched by name with no version, or downloaded from an unknown site, is the wrong answer. sv check flags servers started with no version; this covers where they come from.
- When it applies
- When the app has an MCP connection. Otherwise the report says: “The assistant does not use the Model Context Protocol (MCP) to connect to tools or servers.”
Only MCP servers on an approved list (an allow-list) are permitted.
Verify that only allow-listed MCP servers are permitted.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has an MCP connection. Otherwise the report says: “The assistant does not use the Model Context Protocol (MCP) to connect to tools or servers.”
MCP servers launched locally run in a sandbox with the least privilege needed, with restricted access to the file system, the network, and the system.
Verify that locally launched MCP servers run in a least-privilege sandbox with restricted file system, network, and system access.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has an MCP connection. Otherwise the report says: “The assistant does not use the Model Context Protocol (MCP) to connect to tools or servers.”
C10.2 Authentication & Authorization
C10.2.1Level 1StackVet can confirm or fail itMCP servers check the access token on each request, and do not rely on transport security (such as HTTPS) alone.
Verify that MCP servers validate access tokens for each request and do not rely on transport security alone.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.mcp-server-token-unchecked. If it fails: Anyone who can reach the MCP server can use its tools, with no token or with one they made up: whatever the tools can do, any AI client on the network can have done. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
MCP servers check each presented access token's issuer, audience, expiration, and scope claims, following OAuth 2.1.
Verify that MCP servers validate the presented access token's issuer, audience, expiration, and scope claims in accordance with OAuth 2.1.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.The MCP server checks every access token fully. If your app runs its own MCP server that other tools sign in to, ask your AI coding tool to show you where it checks the access token each request presents. It should check who issued it (issuer), who it is for (audience), that it has not expired (expiration), and what it allows (scope). Then try a token for a different service, an expired one, and one with too little scope: each should be refused.
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
MCP servers acting as OAuth 2.1 resource servers do not store or keep access tokens or user credentials.
Verify that MCP servers acting as OAuth 2.1 resource servers do not store or persist access tokens or user credentials.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.The MCP server does not keep access tokens or passwords. If your app runs its own MCP server, ask your AI coding tool to show you everything it stores: database tables, files, logs, caches. Search them for access tokens, refresh tokens, and passwords. The server should check each token and then forget it; finding tokens or user credentials stored anywhere is the wrong answer.
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
The MCP tools/list reply returns only the tools that the resource owners' authorized scopes permit.
Verify that MCP tools/list returns only tools permitted by resource owners' authorized scopes.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
MCP servers enforce access control on every tool call, checking that the user's access token authorizes both the requested tool and the specific argument values supplied.
Verify that MCP servers enforce access control on every tool invocation, validating that the user's access token authorizes both the requested tool and the specific argument values supplied.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
C10.2.6Level 2StackVet can confirm or fail itMCP servers remove all session artifacts (anything left over from a session) when the session ends.
Verify that MCP servers ensure all session artifacts are removed when a session terminates.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.mcp-session-survives-end. If it fails: A session that still works after it was ended can be picked up by whoever learns its ID, and whatever the server kept for it is still there. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
MCP servers do not pass the access tokens they receive from clients on to downstream APIs (other services they call).
Verify that MCP servers do not pass through access tokens received from clients to downstream APIs.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
C10.3 Secure Transport
C10.3.1Level 1StackVet can only show it missingMCP traffic to remote services uses authenticated, encrypted streamable HTTP.
Verify that authenticated, encrypted streamable HTTP is used for MCP transport for remote services.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- Reads the code: config.mcp-transport-unencrypted. Looks for: An MCP server on another computer is reached over plain HTTP (only shows it missing)
Needs: nothing: plain sv check
- A person
- Checked by hand, and recorded with
sv review.Remote MCP connections are encrypted and signed in. If your MCP server is reached over the internet, check its address in the settings of the tool that connects to it. It should start with https://, and connecting without a token should be refused. Try both: open the address with http:// in place of https://, and connect without signing in. Either one working is the wrong answer.
- When it applies
- When the app has an MCP connection. Otherwise the report says: “Neither side of MCP is here: the app neither serves tools over it nor uses them.” When the app has an MCP server. Otherwise the report says: “Neither side of MCP is here: the app neither serves tools over it nor uses them.”
The stdio transport (an MCP connection through a program's standard input and output) is permitted only in controlled local environments.
Verify that stdio transport is permitted only in controlled local environments.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.Local-only MCP connections stay on your own computer. List the MCP servers set up to run as a local program (the settings show a command to start, rather than an address). Check that each runs only on your own computer or in a controlled environment you set up, never on a shared server that other people or the internet can reach. Anything that needs to be shared should use an encrypted, signed-in connection instead.
- When it applies
- When the app has an MCP connection. Otherwise the report says: “Neither side of MCP is here: the app neither serves tools over it nor uses them.” When the app has an MCP server. Otherwise the report says: “Neither side of MCP is here: the app neither serves tools over it nor uses them.”
C10.3.3Level 2StackVet can confirm or fail itOn all HTTP-based transports, MCP servers check the Origin header and the Host header separately, to prevent DNS rebinding attacks (tricking a browser into reaching a local server).
Verify that MCP servers validate both the Origin header and the Host header independently on all HTTP-based transports to prevent DNS rebinding attacks.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.mcp-server-origin-unchecked. If it fails: A web page open in someone's browser can send requests to an MCP server on their own computer or network, by pointing its own name at it (DNS rebinding). A server that does not check where requests come from answers them, and hands the page its tools. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
MCP clients enforce a minimum acceptable protocol version and reject initialize responses that propose a version below that minimum.
Verify that MCP clients enforce a minimum acceptable protocol version and reject initialize responses that propose a version below that minimum.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has an MCP connection. Otherwise the report says: “The assistant does not use the Model Context Protocol (MCP) to connect to tools or servers.”
Access tokens between the MCP client and server are sender-constrained with mTLS or DPoP, so a stolen token cannot be used by anyone else.
Verify that access tokens between the MCP client and server are sender-constrained using mTLS or DPoP.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has an MCP connection. Otherwise the report says: “Neither side of MCP is here: the app neither serves tools over it nor uses them.” When the app has an MCP server. Otherwise the report says: “Neither side of MCP is here: the app neither serves tools over it nor uses them.”
C10.4 Schema, Message, and Input Validation
C10.4.1Level 1StackVet can confirm or fail itMCP tools/list and tools/call responses are checked against their declared schemas (their expected format) before being put into the model's context.
Verify that MCP tools/list and tools/call responses are validated against their declared schemas before being injected into the model context.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-mcp-output-unvalidated. If it fails: A tool's result that does not match the shape the tool promised is passed to the model as if it did, so a broken or hostile MCP server decides what the model is told. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has an MCP connection. Otherwise the report says: “The assistant does not use the Model Context Protocol (MCP) to connect to tools or servers.”
C10.4.2Level 1StackVet can confirm or fail itMCP tools/list and tools/call responses are screened for indirect prompt injection (hidden text meant to make the AI ignore its instructions) before being put into the model's context.
Verify that MCP tools/list and tools/call responses are screened for indirect prompt injection before being injected into the model context.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
2 checks speak to it
- The running app: probe.ai-mcp-injection-unscreened. If it fails: Whoever controls what an MCP tool returns can write instructions to the model, and the model reads them with the same authority as the app's own. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too - Outside tools: semgrep, 2 rules. Its rules look for: an MCP tool that returns an outside response unscreened for indirect prompt injection into the model context; an MCP tool whose description carries hidden instructions, an indirect prompt injection in its tools/list entry (only shows it missing)
Needs: the tool installed; runs with sv report unless --no-tools
- When it applies
- When the app has an MCP connection. Otherwise the report says: “The assistant does not use the Model Context Protocol (MCP) to connect to tools or servers.”
C10.4.3Level 1StackVet can confirm or fail itMCP servers reject unrecognized or oversized parameters in function calls.
Verify that MCP servers reject unrecognized or oversized parameters in function calls.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.mcp-server-takes-unknown-or-oversized-arguments. If it fails: A tool runs with arguments it never declared, or with one far longer than any real use needs. A model can be talked into writing either, and the tool's code then works on something nobody planned for. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
C10.4.4Level 2StackVet can confirm or fail itAll MCP servers enforce strict schema validation (checking that every message matches its expected format exactly).
Verify that all MCP servers enforce strict schema validation.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.mcp-server-takes-wrong-types. If it fails: A tool runs with an argument of a type its schema does not allow, so its own code meets a value it was not written for. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
C10.4.5Level 2StackVet can only show it missingAll MCP transports enforce a maximum payload size limit on the data they carry.
Verify that all MCP transports enforce maximum payload size limits.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- The running app: probe.mcp-server-no-size-limit. If it fails: The MCP endpoint reads and answers a request of several megabytes, far past what a tool call needs, so a few such requests can use up its memory. (only shows it missing)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has an MCP connection. Otherwise the report says: “Neither side of MCP is here: the app neither serves tools over it nor uses them.” When the app has an MCP server. Otherwise the report says: “Neither side of MCP is here: the app neither serves tools over it nor uses them.”
MCP servers sign tool responses with a unique nonce (a one-time number) and a timestamp, so MCP clients can detect replay attempts (an old response sent again).
Verify that MCP servers sign tool responses with a unique nonce and timestamp so MCP clients can detect replay attempts.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has an MCP server. Otherwise the report says: “This app does not serve tools to AI models over MCP, so there is no MCP server whose tokens, headers, or parameters to check.”
When a local MCP server is installed, MCP clients show users an explicit consent dialogue with options to cancel.
Verify that MCP clients present users with explicit consent dialogue and cancellation options upon installation of a local MCP server.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has an MCP connection. Otherwise the report says: “The assistant does not use the Model Context Protocol (MCP) to connect to tools or servers.”
MCP clients keep a snapshot of tool definitions, and any change to a tool definition requires re-approval before the modified tool can be used.
Verify that MCP clients maintain a snapshot of tool definitions and that any change to a tool definition triggers re-approval before the modified tool can be invoked.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has an MCP connection. Otherwise the report says: “The assistant does not use the Model Context Protocol (MCP) to connect to tools or servers.”
C11 Adversarial Robustness
C11.1 Model Alignment, Safety, and Robustness Testing and Training
The model has had alignment and safety training or fine-tuning to prevent it from generating disallowed categories of content.
Verify that the model has undergone alignment and safety training or fine-tuning to prevent the model from generating disallowed content categories.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.The AI model has had safety training. Look up which model the app uses (your AI coding tool can tell you where it is named) and open the provider's model card or safety documentation. Check that it describes alignment or safety training against disallowed content. Models from the major providers do; a model you downloaded or trained yourself may not, and then this is yours to arrange.
- When it applies
- When the app has AI features.
A version-controlled alignment test suite (tests that the model behaves as intended) is run on every model update or release.
Verify that a version-controlled alignment test suite is run on every model update or release.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.The AI's safety is tested again whenever the model changes. Write down a short list of prompts the app must refuse or answer carefully, and keep it in version control beside the code. Each time the model is updated or its version changes, run the list again and compare the answers. Check whether this happens today; if nobody reruns anything when the model changes, the answer is no.
- When it applies
- When the app has AI features.
Models are evaluated against known adversarial attack techniques (deliberate tricks to fool them) relevant to their modality (the kind of input they take, such as text or images).
Verify that models are evaluated against known adversarial attack techniques relevant to their modality.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.The AI has been tried against known attacks. Try the well-known attacks on the AI part of your app yourself: ask it to ignore its instructions, to reveal its system prompt, to role-play its way past a rule, or hide an instruction inside a document or image it reads. Write down which ones it resisted. A tool such as garak runs many of these adversarial techniques at once.
- When it applies
- When the app has AI features.
Models are hardened against adversarial inputs (input crafted to trick them).
Verify that models are hardened against adversarial inputs.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.The AI is hardened against tricky inputs. Take the attacks from the item above that worked, and check what the app now does about them: input it filters, instructions it keeps apart from what a visitor types, answers it checks before showing. Try each attack again. Hardened means each one that worked before now fails.
- When it applies
- When the app has AI features.
An automated evaluator measures the rate of harmful content and flags regressions beyond a defined threshold.
Verify that an automated evaluator measures harmful-content rate and flags regressions beyond a defined threshold.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The model is trained and protected by its vendor; this app cannot change or copy it.”
C11.2 Membership-Inference and Model-Inversion Mitigation
Sensitive attributes that the model infers about people are not directly returned in its outputs.
Verify that model-inferred sensitive attributes are not directly returned in outputs.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI features.
C11.2.2Level 1StackVet can confirm or fail itInference endpoints (where the model is queried) enforce rate limits per user or caller and overall, sized against the threat of someone extracting the model, not only as a generic API throttle.
Verify that inference endpoints enforce per-principal and global rate limits sized to the extraction threat model, and not solely as a generic API throttle.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-rate-unlimited. If it fails: With no limit on how often the model can be asked, somebody can ask it thousands of times — to copy what it knows, map how it answers, or run up the bill. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
Model outputs are calibrated to reduce overconfident predictions.
Verify that model outputs are calibrated to reduce overconfident predictions.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The model is trained and protected by its vendor; this app cannot change or copy it.”
Training on sensitive datasets uses differentially-private optimization (a method that limits what the model can reveal about any one person in the data).
Verify that training on sensitive datasets employs differentially-private optimization.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train any model, so there is no training on sensitive data to protect.”
Simulated membership-inference attacks (guessing whether a record was in the training data) show that attack accuracy is no better than random guessing on the evaluated data.
Verify that membership-inference attack simulations demonstrate that attack accuracy does not exceed random guessing on evaluated data.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The model is trained and protected by its vendor; this app cannot change or copy it.”
C11.3 Model-Extraction Defense
Analysis of query patterns feeds a detector for attempts to extract (copy) the model.
Verify that query-pattern analysis feeds an extraction-attempt detector.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.Someone copying the AI by asking it everything would be noticed. Look at what the app records about the questions people ask the AI: who asked, how many, how fast. Check whether anything watches that record for the pattern of someone systematically asking thousands of varied questions to copy what the model knows, the query pattern of an extraction attempt, and warns somebody.
- When it applies
- When the app has AI features.
C11.3.2Level 2StackVet can only show it missingRaw model outputs are not directly exposed beyond the application backend, and responses visible outside are calibrated to the risk of model extraction (copying).
Verify that raw model outputs are not directly exposed beyond the application backend, and that externally visible responses are calibrated to the extraction risk level.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- The running app: probe.ai-raw-response-exposed. If it fails: The model service's whole response reaches the browser, with its identifiers and whatever else the service sends, where only the reply's text was needed. That is more than the person needs, and it helps anyone studying the model. (only shows it missing)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
Model watermarking or fingerprinting techniques are applied so that unauthorized copies of the model can be identified.
Verify that model watermarking or fingerprinting techniques are applied so that unauthorized copies can be identified.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The model is trained and protected by its vendor; this app cannot change or copy it.”
Detection of a suspected model extraction (copying) attempt triggers response measures.
Verify that detection of suspected extraction triggers response measures.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “The model is trained and protected by its vendor; this app cannot change or copy it.”
C11.4 Model Runtime Anomaly Detection
Inputs from external or untrusted sources pass through anomaly detection (spotting unusual input) before the model processes them.
Verify that inputs from external or untrusted sources pass through anomaly detection before model inference.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI moderation. Otherwise the report says: “Separate anomaly detection on the AI's inputs is not turned on for this app.”
C11.4.2Level 2StackVet can confirm or fail itInputs flagged as anomalous trigger gating actions (steps that hold back or stop the input).
Verify that inputs flagged as anomalous trigger gating actions.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-flag-not-gating. If it fails: The app notices an attack and lets it through anyway: the record says it was caught, and the model was given it as it came, so the detector gives comfort and no protection. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI moderation. Otherwise the report says: “Separate anomaly detection on the AI's inputs is not turned on for this app.”
The pipeline that feeds safety violation reports back into the system includes poisoning detection and human review gates, so attackers cannot manipulate how the system improves.
Verify that the safety violation feedback pipeline includes poisoning detection and human review gates to prevent adversarial manipulation of the improvement mechanism.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI moderation. Otherwise the report says: “Separate anomaly detection on the AI's inputs is not turned on for this app.”
C12 Monitoring, Logging & Anomaly Detection
C12.1 Request & Response Logging
C12.1.1Level 1StackVet can confirm or fail itAI interactions are logged with session context and AI-specific telemetry (measurements about how the AI was used).
Verify that AI interactions are logged with session context and AI-specific telemetry.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-call-log-session. If it fails: A record of a model call that does not say whose session it was in cannot answer who asked the model something, which is the first question when a reply goes wrong. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
C12.1.2Level 2StackVet can confirm or fail itSafety filtering and policy decisions are logged in enough detail to support audit, debugging, and forensic analysis of content moderation systems.
Verify that safety filtering and policy decisions are logged with sufficient detail to support audit, debugging, and forensic analysis of content moderation systems.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-safety-decision-detailed. If it fails: A record that something was blocked, without why or when, cannot be audited, cannot show a filter that blocks too much, and cannot be laid beside other events in an investigation. (only credits it, only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
C12.1.3Level 2StackVet can confirm or fail itLog entries for AI inference events follow a structured, interoperable schema that includes at least the model identifier, token usage (input and output), provider name, and operation type.
Verify that log entries for AI inference events follow a structured, interoperable schema that includes at least the model identifier, token usage (input and output), provider name, and operation type.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-call-log-incomplete. If it fails: A record of each model call that leaves out which model, how many tokens, which service, or what kind of call cannot answer the questions it is kept for: what a bill was for, which model said something, or when usage changed. (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
RAG pipeline retrieval events (where the AI looks up documents to answer) are logged, including the query, the documents retrieved, and the knowledge source.
Verify that RAG pipeline retrieval events are logged, including the query, documents retrieved, and knowledge source.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has retrieval-augmented generation. Otherwise the report says: “The assistant retrieves nothing, from a document store or the web, so there are no retrieval events to log.” When the app has web search by its AI. Otherwise the report says: “The assistant retrieves nothing, from a document store or the web, so there are no retrieval events to log.”
C12.2 Detection and Alerting
C12.2.1Level 1StackVet can confirm or fail itThe system detects and alerts on known jailbreak patterns, prompt injection attempts (text meant to make the AI ignore its instructions), and adversarial inputs.
Verify that the system detects and alerts on known jailbreak patterns, prompt injection attempts, and adversarial inputs.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-injection-logged. Looks for: Whether the app writes down that it caught the textbook prompt injection the run sent (only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
Behavioral anomaly detection identifies unusual conversation patterns, excessive retry attempts, or probing behaviors.
Verify that behavioral anomaly detection identifies unusual conversation patterns, excessive retry attempts, or probing behaviors.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.Unusual behavior toward the AI is spotted. Check whether the app watches for conversations that look like probing: the same question retried many times with small changes, excessive retry attempts, or one visitor trying many different tricks in a row. Try it yourself and look for whether anything was flagged or anyone told.
- When it applies
- To every app held to its level.
Custom rules detect AI-specific threat patterns for coordinated jailbreak attempts, prompt injection, and attempts to extract the system prompt (the AI's hidden instructions).
Verify that custom rules detect AI-specific threat patterns for coordinated jailbreak attempts, prompt injection, and system prompt extraction attempts.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.Jailbreak and prompt-injection attempts are recognized. List the rules the app uses to recognize attacks aimed at the AI: jailbreak phrasings, prompt injection hidden in documents it reads, attempts to extract its system prompt. Try a few coordinated attempts from two accounts at once, and check whether the rules catch them and something is recorded.
- When it applies
- To every app held to its level.
Extraction-alert events include metadata about the offending queries to support investigation.
Verify that extraction-alert events include offending query metadata to support investigation.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
C12.2.5Level 2StackVet can confirm or fail itToken usage is tracked at detailed levels, including per user, per session, per feature endpoint, and per team or workspace.
Verify that token usage is tracked at granular attribution levels including per user, per session, per feature endpoint, and per team or workspace.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-token-use-attributed. If it fails: Token use nobody can tie to a user or a session cannot show who ran up a bill, or which account is being used to drain the app's credit. (only credits it, only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI features.
LLM API traffic is monitored for signs of covert channels and known communication signatures, to identify malware and command-and-control (C2) activity.
Verify that LLM API traffic is monitored for covert-channel indicators and communication signatures to identify malware and command-and-control (C2) activity.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
C12.3 Model, Data, and Performance Drift Detection
Data drift detection monitors changes in input data that may affect model performance, using statistically validated methods matched to the type of data, such as the KS test or PSI for numbers and embedding distance for text or images.
Verify that data drift detection monitors input distribution changes that may impact model performance, using statistically validated methods matched to the input data type (e.g., KS test or PSI for tabular numeric features, embedding-distance metrics for text or image).
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not host AI models of its own, so there is no model of its own whose drift to monitor.”
Hallucination detection monitors identify and flag model outputs that contain factually incorrect, inconsistent, or made-up information.
Verify that hallucination detection monitors identify and flag model outputs that contain factually incorrect, inconsistent, or fabricated information.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not host AI models of its own, so there is no model of its own whose drift to monitor.”
Hallucination rates are tracked continuously over time, so trends and sustained model degradation can be detected.
Verify that hallucination rates are tracked as continuous time-series metrics to enable trend analysis and detection of sustained model degradation.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not host AI models of its own, so there is no model of its own whose drift to monitor.”
Unexplained shifts in behavior are told apart from gradual, expected operational drift.
Verify that unexplained behavioral shifts are distinguished from gradual, expected operational drift.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a model it runs itself. Otherwise the report says: “This app does not host AI models of its own, so there is no model of its own whose drift to monitor.”
C12.4 Proactive Security Behavior Monitoring
Triggers for autonomous actions include proactive analysis of behavior patterns, a security evaluation, and an assessment of the threat landscape.
Verify that autonomous action triggers include proactive behavior-pattern analysis, security evaluation, and threat-landscape assessment.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant cannot take actions on its own, so there is no proactive behavior to monitor.”
C12.4.2Level 2StackVet can confirm or fail itAudit logs capture security-critical proactive actions, including the approver's identity, the timestamp, the action parameters, and the decision outcomes.
Verify that audit logs capture security-critical proactive actions, including approver identity, timestamp, action parameters, and decision outcomes.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- The running app: probe.ai-tool-action-logged. If it fails: An action the AI took that leaves no record of what it did, with what, when and on whose say-so cannot be reviewed after something goes wrong. (only credits it, only ever in part)
Needs: a container backend and a run section (--run); for the AI checks, an ai section too
- When it applies
- When the app has AI that takes actions. Otherwise the report says: “The assistant cannot take actions on its own, so there is no proactive behavior to monitor.”
Kill-switch activations (emergency stops) and override commands are logged.
Verify that kill-switch activations and override commands are logged.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has AI features.
C12.5 Training Data & Model Lifecycle Audit
Dataset lineage records each dataset and its components, including all transformations, augmentations, and merges.
Verify that dataset lineage records each dataset and its components, including all transformations, augmentations, and merges.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train models or manage training data.”
All labeling activities on data are recorded in logs.
Verify that all labeling activities are recorded in logs.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train models or manage training data.”
All model changes produce immutable audit records (records that cannot be altered).
Verify that all model changes generate immutable audit records.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train models or manage training data.”
Every ingested document is tagged when it is written with its source, the writer's identity, and a timestamp.
Verify that every ingested document is tagged at write time with source, writer identity, and timestamp.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has model training. Otherwise the report says: “This app does not train models or manage training data.”
AC.1 AI-Assisted Secure-Coding Workflow
AC.1.1Level 1No check yetAISVS 1.0 Appendix CA written workflow says when AI tools may generate, refactor, or review code, and names the approved tools, the prohibited use cases, and the data classifications allowed as input.
Verify that a written workflow says when AI tools may generate, refactor, or review code. The workflow names the approved tools, the prohibited use cases, and the data classifications that are allowed as input.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.1.2Level 2No check yetAISVS 1.0 Appendix CThe workflow covers every phase of secure software development (SSDLC), from design and implementation through code review, testing, deployment, and post-deployment monitoring, and names the security gates that stay mandatory with or without AI.
Verify that the workflow covers every SSDLC phase from design and implementation through code review, testing, deployment, and post-deployment monitoring, and names the security gates that stay mandatory whether AI was involved or not.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.1.3Level 2No check yetAISVS 1.0 Appendix CThe workflow names the AI attack scenarios it is built to mitigate: prompt injection through PR content, AI-generated supply-chain payloads, agents approving their own work, secret theft through fork PRs, and a compromised model supply chain.
Verify that the workflow names the adversarial-AI threat scenarios it is built to mitigate. The list should cover prompt injection delivered through PR content, AI-generated supply-chain payloads, autonomous agents approving their own work, fork-PR secret exfiltration, and compromise of the model supply chain.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.1.4Level 3The owner answersAISVS 1.0 Appendix CMetrics are collected on code that AI produced or handled and compared against a human-only baseline; useful ones include vulnerability density, time to detect, AI-attributable defect rate, prompt-injection detection rate, and fork-PR rejection rate.
Verify that metrics are collected on AI-produced and AI-mediated code, and that the results are compared against a human-only baseline. Vulnerability density, mean-time-to-detect, AI-attributable defect rate, prompt-injection detection rate, and fork-PR rejection rate are all useful.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.Metrics compare AI-written code with a human-only baseline. List the metrics the team collects on code an AI tool wrote or helped with: defects found later, vulnerabilities per thousand lines, how long problems take to find. Check each is compared with the same metric for code people wrote alone. If none are collected, write that down.
- When it applies
- To every app held to its level.
AC.2 AI Tool Qualification & Threat Modeling
AC.2.1Level 1No check yetAISVS 1.0 Appendix CEvery AI tool (assistant, reviewer, agent, or MCP server) has a threat model covering misuse, model inversion, training-data leakage, prompt injection, insecure output handling, excessive agency, and risk inherited from its dependencies.
Verify that every AI tool, whether it is an assistant, a reviewer, an agent, or an MCP server, has a threat model. The threat model covers misuse, model inversion, training-data leakage, prompt injection from untrusted input, insecure output handling, excessive agency, and risk inherited from its dependency chain.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.2.2Level 2No check yetAISVS 1.0 Appendix CEach tool's evaluation reviews, in writing, its local components (static and dynamic analysis), its online service endpoints (TLS, sign-in, permissions, logging, and data residency), and the vendor's model supply chain (training data, fine-tuning, and RAG sources).
Verify that the evaluation of each tool covers the local components (static and dynamic analysis), the SaaS endpoints (TLS, AuthN/AuthZ, logging, data residency), and the vendor's model supply chain (training-data provenance, fine-tune history, RAG sources). Each of these is reviewed and the review is written down.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.2.3Level 2No check yetAISVS 1.0 Appendix CEach tool passes adversarial robustness testing (deliberate attacks) before onboarding and after any material model or system-prompt change, including prompt-injection probes, jailbreak suites, and indirect injection via realistic PRs and issues.
Verify that each tool goes through adversarial robustness testing before onboarding. The testing is repeated after any material change to the model or to the system prompts. Coverage includes automated prompt-injection probes, jailbreak suites, and indirect-injection corpora delivered through realistic PR and issue surfaces.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.2.4Level 3No check yetAISVS 1.0 Appendix CEvaluations follow a recognized framework such as NIST AI RMF, NIST AI 600-1, or ISO/IEC 42001, and are repeated after a major version change, a vendor incident, or new threat intelligence relevant to the tool.
Verify that evaluations follow a recognized framework such as NIST AI RMF, NIST AI 600-1 Generative AI Profile, or ISO/IEC 42001. Evaluations are repeated after a major version change, a vendor incident, or new threat intelligence relevant to the tool class.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.3 Secure Prompt & Context Management
AC.3.1Level 1No check yetAISVS 1.0 Appendix CWritten guidance forbids putting secrets, credentials, personal data (PII), or classified data in any prompt sent to an AI tool, and it is enforced in pre-commit hooks, editor (IDE) integrations, and CI (the automated build checks).
Verify that written guidance forbids putting secrets, credentials, PII, or classified data in any prompt sent to an AI tool. The guidance is enforced in pre-commit hooks, IDE integrations, and CI.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.3.2Level 1No check yetAISVS 1.0 Appendix CTechnical controls automatically strip sensitive material from any context sent to an AI tool, such as redaction on the developer's machine, approved context filters, or secret scanners that run before each prompt.
Verify that technical controls automatically strip sensitive material from any context window sent to an AI tool. Client-side redaction, approved context filters, and secret scanners with pre-prompt hooks all qualify.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.3.3Level 1No check yetAISVS 1.0 Appendix COutside context fed to an AI tool is treated as untrusted and screened for prompt injection first: PR descriptions and comments, fork diffs, issue bodies, commit messages, third-party documentation, web search results, and MCP tool outputs.
Verify that any externally sourced context being fed to an AI tool is treated as untrusted and screened for prompt injection before it reaches the prompt. Sources to cover: PR descriptions and comments, fork-supplied diffs, issue bodies, commit messages, third-party documentation, web search results, and MCP tool outputs.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.3.4Level 1No check yetAISVS 1.0 Appendix CThe AI tool enforces an instruction hierarchy in which system and developer messages take precedence over untrusted repository content, and this holds across multi-turn conversations and workflows where the AI uses tools.
Verify that the AI tool enforces an instruction hierarchy, with system and developer messages taking precedence over untrusted repository content. This hierarchy has to hold across multi-turn conversations and tool-augmented workflows.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.3.5Level 2No check yetAISVS 1.0 Appendix CInput length controls stop untrusted PR or repository content from crowding system instructions or safety directives out of what the AI can see; oversized inputs are rejected outright, never silently cut short.
Verify that input length controls stop untrusted PR or repository content from crowding system instructions or safety directives out of the effective context window. Oversized inputs are rejected outright. Silent truncation is not acceptable.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.3.6Level 3No check yetAISVS 1.0 Appendix CPrompts and AI responses are encrypted in transit and at rest and kept per the data-classification policy, and tenants and projects are cryptographically separated from each other.
Verify that prompts and AI responses are encrypted in transit and at rest, and retained per the data-classification policy. Tenants and projects are cryptographically separated from each other.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.4 Validation of AI-Generated Code
AC.4.1Level 1The owner answersAISVS 1.0 Appendix CAI-generated code is always reviewed by a qualified human engineer who is not the same person who asked for the AI generation (separation of duties), and the AI agent itself never counts as the human reviewer.
Verify that AI-generated code always goes through code review by a qualified human engineer. The reviewer must not be the same identity that asked for the AI generation in the first place (separation of duties). And the AI agent itself does not count as the human reviewer.
- What StackVet does
- No check speaks to it. StackVet asks the owner, and records the answer through sv review: as documented, attested, or checked by hand, never as checked.
- A person
- Checked by hand, and recorded with
sv review.A person reviews the code the AI wrote. Look at how changes to the app get in: check that every change your AI coding tool wrote is read and approved by a qualified person before it goes live, and that the reviewer is not the same person who asked the AI for the code. The AI agent does not count as the human reviewer. If changes go straight from the AI to the live app, the answer is no.
- When it applies
- To every app held to its level.
AC.4.2Level 2No check yetAISVS 1.0 Appendix CAutomated security testing (SAST, IAST, DAST, secret scanning, IaC scanning, and SCA) runs on every pull request containing AI-generated code, with AI-attribution-aware rules turned on where the scanner supports them.
Verify that automated security testing runs on every pull request containing AI-generated code: SAST, IAST, DAST, secret scanning, IaC scanning, and SCA. Where the scanner supports them, AI-attribution-aware rules are turned on.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.4.3Level 2No check yetAISVS 1.0 Appendix CPull requests containing AI-generated code are blocked from merging when an automated scan reports a critical security finding (CVSS 9.0 or higher, or the organization's equivalent), unless an authorized human approves a written exception.
Verify that pull requests containing AI-generated code are blocked from merging when an automated scan surfaces a critical security finding, defined as CVSS >= 9.0 or the equivalent threshold in the organization's vulnerability severity policy. Bypassing the block requires a written exception approved by an authorized human.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.4.4Level 2No check yetAISVS 1.0 Appendix CSecurity-critical files AI generated or modified need stricter review, like two-person review or security-team sign-off: authentication, authorization, and crypto code, IAM policy, CI/CD workflows, deployment manifests, and sandbox or network rules.
Verify that security-critical files require an elevated review threshold when AI generated or modified them: two-person review, security-team sign-off, or stricter. Security-critical files here include authentication, authorization, and cryptography code; IAM policy; CI/CD workflow definitions; deployment manifests; and sandbox or network policy artifacts.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.4.5Level 3No check yetAISVS 1.0 Appendix CDifferential fuzz testing or property-based tests (automated tests that try many generated inputs) cover the security-critical behaviors of AI-generated code: input validation, authorization logic, and deserialization safety.
Verify that differential fuzz testing or property-based tests cover the security-critical behaviors of AI-generated code: input validation, authorization logic, and deserialization safety.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.7 AI-Generated Infrastructure & Pipeline Artifacts
AC.7.1Level 1No check yetAISVS 1.0 Appendix CAI-generated or AI-modified artifacts are clearly labeled and tracked as such, including infrastructure-as-code, CI/CD workflow files, container and orchestration manifests, and security policy artifacts.
Verify that AI-generated or AI-modified artifacts are clearly labeled and tracked as such. Artifact classes in scope include infrastructure-as-code (Terraform, CloudFormation, Pulumi, Bicep), CI/CD workflow files (GitHub Actions, GitLab CI, Jenkinsfile, Argo Workflows, Tekton), container and orchestration manifests (Dockerfile, Kubernetes, Helm), and security policy artifacts (IAM, OPA/Rego, NetworkPolicy, admission controllers).
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.7.2Level 2No check yetAISVS 1.0 Appendix CAI-generated infrastructure and pipeline configurations need human review and approval before they run in any environment beyond a hermetic (fully sealed-off) sandbox.
Verify that AI-generated infrastructure and pipeline configurations require human review and approval before they run in any environment beyond a hermetic sandbox.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.7.3Level 2No check yetAISVS 1.0 Appendix CAI-generated infrastructure and workflow changes pass policy-as-code enforcement (automated rule checks such as OPA, Checkov, or tfsec) at least as strict as for human-authored changes, and policy violations block promotion.
Verify that AI-generated infrastructure and workflow changes pass policy-as-code enforcement (OPA, Conftest, Checkov, tfsec, KICS, kube-linter) at the same level as, or stricter than, human-authored changes. Policy violations block promotion.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has iac. Otherwise the report says: “No infrastructure or pipeline configuration (Terraform, CloudFormation, CI workflows) is generated here.”
AC.7.4Level 2No check yetAISVS 1.0 Appendix CChanges to high-impact pipeline triggers (pull_request_target, workflow_run, self-hosted runner labels, workflow permissions, OIDC trust policies, and secret-environment mappings) need dual control and security-team review, whoever made them.
Verify that changes to high-impact pipeline trigger configurations require both dual control and a security-team review, no matter who or what produced the change. The configurations in scope include GitHub Actions `pull_request_target` and `workflow_run`, self-hosted runner labels, workflow `permissions:` blocks, OIDC trust policies, and secret-environment mappings.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a build pipeline. Otherwise the report says: “This app has no CI/CD pipeline, so there are no pipeline trigger settings to protect.”
AC.7.5Level 3No check yetAISVS 1.0 Appendix CDrift detection compares deployed infrastructure and live workflow configurations against signed, AI-attributed baselines and alerts on any unauthorized modification.
Verify that drift detection compares deployed infrastructure and live workflow configurations against signed, AI-attributed baselines, and alerts on any unauthorized modification.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.8 Autonomous Agent Change Control Constraints
AC.8.1Level 1No check yetAISVS 1.0 Appendix CAutonomous agents cannot approve, merge, sign, or deploy artifacts they generated themselves, and this is enforced by the source-control system, the CI system, and the artifact registry, not by policy alone.
Verify that autonomous agents cannot approve, merge, sign, or deploy artifacts that they themselves generated, and that this constraint is enforced by the source-control system, the CI system, and the artifact registry. Policy alone does not satisfy this control.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.8.2Level 2No check yetAISVS 1.0 Appendix CAI systems run under scoped, non-human identities (such as service accounts or short-lived tokens), and those identities cannot promote their own generated artifacts across environments.
Verify that AI systems run with scoped, non-human identities (service accounts, workload identities, OIDC-issued ephemeral tokens), and that those identities cannot be used to promote their own generated artifacts across environments.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.8.3Level 2No check yetAISVS 1.0 Appendix CAutonomous agents cannot bypass branch protection, required reviews, required status checks, signed-commit requirements, or merge queues, and any agent attempt to change these settings raises a security alert.
Verify that autonomous agents cannot bypass branch protection, required reviews, required status checks, signed-commit requirements, or merge queues. Any attempt by an agent to change these settings raises a security alert.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has hosted scm. Otherwise the report says: “This app's code is not on a source-control server with branch protection or a merge queue.”
AC.8.4Level 3No check yetAISVS 1.0 Appendix CSeparation of duties holds across the stages of an AI-generated change: generation, review, approval, and deployment are each performed by a distinct principal, human or system.
Verify that separation of duties holds across the stages of an AI-generated change. Each stage (generation, review, approval, deployment) is performed by a distinct principal, whether human or system.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.11 AI Code-Review & Assistant Bot Hardening
AC.11.1Level 1No check yetAISVS 1.0 Appendix CAI review and assistant bots treat all PR-supplied content (diff, title, description, comments, files, commit messages, linked URLs) as untrusted and apply the AISVS C2.1 prompt-injection defenses: instruction hierarchy, sanitization, and indirect-injection detection.
Verify that AI review and assistant bots treat every piece of PR-supplied content (diff, title, description, comments, file contents, commit messages, linked external URLs) as untrusted input, and apply the AISVS C2.1 prompt-injection defenses: instruction-hierarchy enforcement, content sanitization, and indirect-injection detection.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.11.2Level 1No check yetAISVS 1.0 Appendix CAI review and assistant bot system prompts and policy configurations are integrity-checked at load time (signed or hash-pinned), and nothing in the repository, branches, PR-sourced environment variables, or other user input can modify them.
Verify that AI review and assistant bot system prompts and policy configurations are integrity-checked at load time (signed, hash-pinned), and that nothing in the repository, in branch contents, in PR-sourced environment variables, or in any other user-controllable input can modify them.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.11.3Level 1No check yetAISVS 1.0 Appendix CAI review and assistant bots emit only structured, schema-validated output (JSON with allowed fields and actions), and free-form output is treated as untrusted and never run as a command, query, shell snippet, or workflow step.
Verify that AI review and assistant bots emit only structured, schema-validated output (JSON with an allow-list of fields and actions). Any free-form output is treated as untrusted and never executed as a command, a query, a shell snippet, or a workflow step.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.11.4Level 2No check yetAISVS 1.0 Appendix CAI review and assistant bots run in network-isolated, least-privilege sandboxes: a dedicated namespace, outbound traffic denied except to approved APIs, no mounted repository secrets, and only short-lived credentials.
Verify that AI review and assistant bots run in network-isolated, least-privilege sandboxes: a dedicated namespace, default-deny egress with an allow-list to approved APIs only, no mounted repository secrets, and ephemeral credentials only.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.11.5Level 2No check yetAISVS 1.0 Appendix CEvery privileged action a bot can take (approving, merging, labeling, dismissing reviews, commenting outside its sandbox, or invoking external tools) goes through a separate, audited authorization path decided by a policy engine, not the LLM.
Verify that any privileged action a bot can take (approving a PR, merging, labeling, dismissing reviews, posting comments outside its sandbox, invoking external tools) goes through a separate, audited authorization path. That path is adjudicated by a policy engine, not by the LLM.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.11.6Level 2No check yetAISVS 1.0 Appendix CAI review and assistant bots log all prompts (including outside context), tool calls, and outputs to tamper-evident storage, and outbound traffic (URLs, IPs, DNS, payload sizes) is watched for data theft, with alerts tuned for webhook, paste-site, and bin-service destinations.
Verify that AI review and assistant bots log all prompts (including externally sourced context), tool calls, and outputs to tamper-evident storage. Egress patterns (URLs, IPs, DNS, payload sizes) are continuously monitored for exfiltration indicators, with alerting tuned for webhook, paste-site, and bin-service destinations.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.11.7Level 2No check yetAISVS 1.0 Appendix CFor untrusted fork PRs, AI review bots run in a zero-privilege, read-only shadow mode, with restricted code-generation comments and no privileged workflow actions, until a maintainer clears a first-time-contributor verification gate.
Verify that AI review bots run in a zero-privilege, read-only shadow mode for untrusted fork PRs. In shadow mode, inline code-generation commentary is restricted and privileged workflow interaction is forbidden, until a repository maintainer has cleared an initial first-time-contributor verification gate.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has outside contributors. Otherwise the report says: “There are no pull requests from outside contributors for the AI to review.”
AC.11.8Level 3No check yetAISVS 1.0 Appendix CAI review and assistant bots get continuous adversarial testing that replays indirect-prompt-injection corpora through simulated PRs, issues, and comments; detection is tracked over time, and a regression blocks the update that caused it.
Verify that AI review and assistant bots are subject to continuous adversarial testing: indirect-prompt-injection corpora are replayed against the bot through simulated PRs, issues, and comments. Detection effectiveness is tracked over time, and a regression blocks the model or prompt update that caused it.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.12 CI/CD Pipeline Hardening Specific to AI Augmentation
AC.12.1Level 1StackVet can confirm or fail itAISVS 1.0 Appendix CWorkflows triggered by untrusted contributions (such as pull_request_target or workflow_run) never check out, build, test, or run untrusted code with write permissions or any secrets; a privileged follow-up gets only validated passive artifacts from an unprivileged pull_request workflow.
Verify that workflows triggered by untrusted contributions (GitHub Actions `pull_request_target`, `workflow_run`, and equivalent fork-aware triggers in other CI systems) never check out, build, test, or otherwise execute untrusted code in a context that has repository write permissions or access to repository, organization, package-registry, cloud, or deployment secrets. Where a privileged follow-up step is needed, the untrusted contribution is first processed in an unprivileged `pull_request` workflow, and only validated passive artifacts are passed forward to a separate privileged workflow.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
2 checks speak to it
- Reads the code: config.workflow-runs-fork-code. Looks for: A CI workflow that runs code from a pull request by someone outside the project with the repository's privileges
Needs: nothing: plain sv check - Reads the code: config.workflow-untrusted-text-in-run. Looks for: A CI workflow that pastes text a stranger writes (a pull request's title, a branch name, an issue) into a
run: line, where it is read as commands (only shows it missing)
Needs: nothing: plain sv check
- When it applies
- When the app has a build pipeline. Otherwise the report says: “This app has no CI/CD pipeline, so there are no pipeline-hardening requirements to meet.”
AC.12.2Level 1StackVet can confirm or fail itAISVS 1.0 Appendix CSecrets, credentials, and pipeline job tokens are not persisted into workspaces that process AI-touched or fork-originated untrusted code, for example by setting persist-credentials: false and scrubbing cached credentials from CI runners.
Verify that secrets, credentials, and pipeline job tokens are not persisted into workspaces that process AI-touched or fork-originated untrusted code. For example, set `persist-credentials: false` on checkout where the platform supports it, and scrub CI runners of cached credentials before AI tooling runs.
- What StackVet does
- A check can mark it checked, or find it needing attention. A clean result is one check satisfied, not proof the whole requirement is met.
- Checks
1 check speaks to it
- Reads the code: config.workflow-checkout-keeps-token. Looks for: A CI workflow whose checkout step leaves the repository token where later steps can read it (only ever in part)
Needs: nothing: plain sv check
- When it applies
- When the app has a build pipeline. Otherwise the report says: “This app has no CI/CD pipeline, so there are no pipeline-hardening requirements to meet.”
AC.12.3Level 1StackVet can only show it missingAISVS 1.0 Appendix CSecrets are not exposed to workflows running code from forks or first-time contributors: platform environment-protection rules require manual approval before any secret-bearing job runs, and bot-level controls (AC.11.7) do not substitute.
Verify that secrets are not exposed to workflows running code from forks or first-time contributors. Environment-protection rules (or the platform equivalent, such as protected variables and deployment approvals) require a manual approval before any secret-bearing job runs for those contributions. This control pairs with AC.11.7 and AC.13.2. Bot-level enforcement under AC.11.7 does not substitute for the platform-level enforcement required here.
- What StackVet does
- A check can find it not met. Finding nothing does not show it is met, so a clean run credits nothing.
- Checks
1 check speaks to it
- Reads the code: config.workflow-secrets-with-fork-code. Looks for: A CI workflow that hands secrets to a job running code from outside the project (only shows it missing)
Needs: nothing: plain sv check
- When it applies
- When the app has a build pipeline. Otherwise the report says: “This app has no CI/CD pipeline, so there are no pipeline-hardening requirements to meet.”
AC.12.4Level 2No check yetAISVS 1.0 Appendix CSelf-hosted or persistent runners used by AI tooling are ephemeral (destroyed after each job), network-segmented, and isolated from production credentials, and long-lived runners never process fork PRs or AI-generated untrusted artifacts.
Verify that self-hosted or persistent runners used by AI tooling are ephemeral (destroyed after each job), network-segmented, and isolated from production credentials. Persistent or long-lived runners do not process fork PRs or AI-generated untrusted artifacts under any circumstances.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a build pipeline. Otherwise the report says: “This app has no CI/CD pipeline, so there are no pipeline-hardening requirements to meet.”
AC.12.5Level 2No check yetAISVS 1.0 Appendix CChanges to workflow definition files (such as .github/workflows) are detected on every PR and go through elevated review that includes a security reviewer, whoever the contributor and whether or not AI was involved; AI agents cannot bypass it.
Verify that changes to workflow definition files (`.github/workflows/*`, `.gitlab-ci.yml`, `Jenkinsfile`, Argo, Tekton, and equivalents) are detected on every PR and route through an elevated review path that includes a security reviewer, regardless of who the contributor is or whether AI was involved. AI agents must not be granted bypass authority over this review path.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a build pipeline. Otherwise the report says: “This app has no CI/CD pipeline, so there are no pipeline-hardening requirements to meet.”
AC.12.6Level 2No check yetAISVS 1.0 Appendix CPipeline audit logs stream in real time to central security monitoring, with rules tuned for AI-augmented threats: bulk PRs from new accounts, workflow-file changes in fork PRs, unexpected secret access from AI runners, and unusual outbound traffic from AI workloads.
Verify that pipeline audit logs (workflow runs, secret access, runner registration, permission grants, OIDC token issuance) are streamed in real time to centralized security monitoring. Detection rules are tuned for AI-augmented threat patterns: bulk PR creation from new accounts, workflow-file modifications in fork PRs, unexpected secret access from AI-runner pools, and unusual egress (webhooks, paste sites, bin services) from AI workloads.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a build pipeline. Otherwise the report says: “This app has no CI/CD pipeline, so there are no pipeline-hardening requirements to meet.”
AC.12.7Level 2No check yetAISVS 1.0 Appendix CA privileged follow-up workflow treats artifacts from untrusted PR workflows as untrusted passive data and never executes binaries, scripts, packages, caches, or generated workflow fragments that came from an untrusted contribution.
Verify that artifacts produced by untrusted PR workflows are treated as untrusted passive data when a privileged follow-up workflow consumes them. The privileged workflow never executes binaries, scripts, packages, caches, or generated workflow fragments that originated in an untrusted contribution.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a build pipeline. Otherwise the report says: “This app has no CI/CD pipeline, so there are no pipeline-hardening requirements to meet.”
AC.12.8Level 2No check yetAISVS 1.0 Appendix CRemediation of a vulnerable workflow includes invalidating or re-validating every PR opened before the fix landed, so a later commit to such a PR cannot pick up the stale workflow definition and route around the fix.
Verify that the remediation of a vulnerable workflow includes invalidating or re-validating any PR that was opened before the fix landed. Without this step, a later commit to the same PR can pick up the stale workflow definition and route around the fix.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has a build pipeline. Otherwise the report says: “This app has no CI/CD pipeline, so there are no pipeline-hardening requirements to meet.”
AC.13 Adversarial AI Detection in Inbound Contributions
AC.13.1Level 1No check yetAISVS 1.0 Appendix CContribution-velocity and contributor-reputation analytics flag anomalies: bulk PRs from new accounts, coordinated fork waves just before PRs, PR volumes inconsistent with human authorship, and payload patterns reused across unrelated repositories.
Verify that contribution-velocity and contributor-reputation analytics flag anomalies: bulk PR creation from newly created accounts, coordinated fork waves immediately preceding PRs, PR volumes that are inconsistent with human authorship, and reuse of payload patterns across unrelated repositories.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has outside contributors. Otherwise the report says: “This app receives no code contributions from outside people, so there are none to screen.”
AC.13.2Level 1No check yetAISVS 1.0 Appendix CPRs from first-time or low-reputation contributors need maintainer approval before any privileged workflow processes them, including AI review bots, secret-bearing jobs, and external-integration calls.
Verify that PRs from first-time or low-reputation contributors require maintainer approval before any privileged workflow processes them. Privileged workflows here include AI review bots, secret-bearing jobs, and external-integration calls.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has outside contributors. Otherwise the report says: “This app receives no code contributions from outside people, so there are none to screen.”
AC.13.3Level 2No check yetAISVS 1.0 Appendix CAutomated PR gates detect known signs of AI-assisted malicious payloads: typosquatted or look-alike dependency names, package references with no published version, and dependencies whose creation, publication, or maintainer-change dates look anomalous for the PR.
Verify that automated PR pipeline gates detect known indicators of LLM-generated or LLM-assisted malicious payload patterns: registry-confusable or typosquatted dependency names, package references that do not resolve to any published version, and dependencies whose creation, first-publication, or maintainer-change timestamps look anomalous relative to the PR.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has outside contributors. Otherwise the report says: “This app receives no code contributions from outside people, so there are none to screen.”
AC.13.4Level 2No check yetAISVS 1.0 Appendix CDetection rules are tagged to MITRE ATT&CK (T1195 Supply Chain Compromise and CI/CD-relevant sub-techniques) and MITRE ATLAS techniques, maintained for inbound contribution analysis, and reviewed against current threat intelligence.
Verify that detection rules are tagged to MITRE ATT&CK (T1195 Supply Chain Compromise and CI/CD-relevant sub-techniques) and to MITRE ATLAS techniques, maintained for the inbound contribution analysis use case, and reviewed against current threat intelligence.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has outside contributors. Otherwise the report says: “This app receives no code contributions from outside people, so there are none to screen.”
AC.13.5Level 3No check yetAISVS 1.0 Appendix CConfirmed or high-confidence adversarial contributions trigger automated containment (block the PR, quarantine the fork, suspend the contributor, notify maintainers, freeze affected workflow files), and triage decisions feed back into detection.
Verify that confirmed or high-confidence adversarial contributions trigger automated containment: block the PR, quarantine the fork, suspend the contributor, notify maintainers, and freeze affected workflow files. Triage decisions feed back into detection tuning.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has outside contributors. Otherwise the report says: “This app receives no code contributions from outside people, so there are none to screen.”
AC.13.6Level 3No check yetAISVS 1.0 Appendix CPR analytics include code-structure (AST) profiling and style or entropy heuristics tuned to spot LLM-generated code; since this is still maturing, human review of flagged PRs, sandboxed runs of suspect payloads, and deferred merge are accepted in place of precise automated detection.
Verify that PR analytics include structural AST profiling and stylometric or entropy-based heuristics tuned to identify LLM-generated code patterns. Detection in this category is still maturing, so compensating controls are accepted in place of high-precision automated detection: mandatory human review on flagged PRs, sandboxed execution of suspect payloads, and deferred merge until additional signals accrue.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- When the app has outside contributors. Otherwise the report says: “This app receives no code contributions from outside people, so there are none to screen.”
AC.14 Compromise Containment & Automated Remediation
AC.14.1Level 1No check yetAISVS 1.0 Appendix CAn incident-response playbook for AI-in-pipeline compromise covers revoking AI-agent credentials, rotating exposed secrets, quarantining compromised artifacts, notifying downstream consumers and any regulators, and keeping prompts, responses, and audit logs for forensics.
Verify that an incident-response playbook exists for AI-in-pipeline compromise. At minimum it covers: revoking AI-agent credentials, rotating every secret that touched the compromised workflow run, quarantining the compromised artifacts, notifying downstream consumers, notifying regulators where applicable, and preserving prompts, responses, and audit logs for forensics.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.14.2Level 1No check yetAISVS 1.0 Appendix CAny secret that touched a workflow run tied to a suspicious PR, a prompt-injection event, or an AI-agent anomaly is automatically rotated, and downstream issuers (cloud IAM, package registries, signing-key custodians) are notified.
Verify that any secret that touched a workflow run associated with a suspicious PR, a prompt-injection event, or an AI-agent anomaly is automatically rotated, and that downstream issuers (cloud IAM, package registries, signing-key custodians) are notified of the rotation.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.14.3Level 2No check yetAISVS 1.0 Appendix CAI agent identities (keys, tokens, OIDC trust grants) can be rapidly revoked and quarantined, with a written target time-to-revoke that is tested at least once a year.
Verify that AI agent identities (keys, tokens, OIDC trust grants) can be rapidly revoked and quarantined, with a target time-to-revoke that is written down and tested at least once a year.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.14.4Level 2No check yetAISVS 1.0 Appendix CDuring incident response, build provenance and AI BOM records are used to identify every downstream artifact produced under the suspect AI agent or compromised pipeline run, so recall, rebuild, or quarantine can be targeted.
Verify that build provenance and AI BOM records are used during incident response to identify every downstream artifact produced under the suspect AI agent or the compromised pipeline run, so that recall, rebuild, or quarantine can be targeted.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.
AC.14.5Level 3No check yetAISVS 1.0 Appendix CAutomated remediation is tested in tabletop or live-fire exercises at least once a year, with scenarios including a prompt-injected reviewer bot, fork-PR secret exfiltration, and an AI-generated malicious workflow file.
Verify that automated remediation is tested in tabletop or live-fire exercises at least once a year. The scenarios include a prompt-injected reviewer bot, fork-PR secret exfiltration, and an AI-generated malicious workflow file.
- What StackVet does
- Nothing in StackVet speaks to it yet. A passing test of the app's own that names this requirement's ID is shown as tested by the app's own tests; otherwise the report says not verified.
- When it applies
- To every app held to its level.