# MDS-02.1 | Model Artifact Scanning

> What reviewers check in AI-CAIQ MDS-02.1, the minimum evidence to prepare, how to pick Yes/No/N/A, a sample answer, and a free assistant for follow-ups.

Canonical page: https://assurelane.ai/en/services/security-questionnaire/assistant/mds-02-1/
Assistant: https://assurelane.ai/en/services/security-questionnaire/assistant/

## What the buyer is checking

The buyer seeks confirmation that model files, dependency packages, and serialization formats are scanned and validated to prevent tampering or malicious code insertion during delivery and loading. This item covers periodic scanning across all lifecycle stages and handoff points. The accompanying MDS-02.2 item asks whether scanning policies are reviewed and updated on a regular basis; the two items should be assessed together.

## Minimum evidence to prepare

1. Model artifact inventory: Document sources, versions, hashes, and licenses. In addition to base models, embedding models, reranking models, classifiers, fine-tuned adapters, and all open-source weights must be included.
2. Documented procedures: Specify scanning scope, frequency, responsible parties, and trigger conditions.
3. Scanning coverage: Cover malicious serialization code (e.g., pickle), dependency CVEs, hardcoded secrets, and insecure operators.
4. Gates and validation: Implement deployment gates and validate hashes prior to loading. Remediation process after issues are discovered: for serious issues, immediately isolate the model, halt its progression through development or remove it from production, and investigate; for lower-severity issues, deployment may first be restricted until the facts are established; applications that depend on the affected model may be rolled back to a version that passed scanning.
5. Handoff point checks: Conduct checks at every handoff point as artifacts move from suppliers to artifact repositories, and then to training or inference environments.
6. Periodic rescanning: Rescan active artifacts in the artifact repository on a fixed schedule, and document the rescan cadence and most recent scan results.
7. Execution and review records: Provide sample scan results and remediation records, as well as the most recent review record assessing the effectiveness of this set of procedures, including the date, conclusions, and improvement items.

Note that current scanning methods primarily target malicious code and known vulnerabilities and cannot be relied on to detect backdoors hidden in model weights. State this truthfully in the implementation description, and state what safeguards you use to compensate, such as source verification and behavioral evaluation.

## How to pick Yes / No / N/A

- Eligibility for answering Yes (Our criteria): Answer `Yes` if you maintain an artifact inventory, documented procedures, scanning on repository intake and pre-deployment, periodic rescanning, and deployment gates.
- Eligibility for NA: Conduct a full inventory first. In addition to base models, assess whether you self-host embedding models, reranking models, classifiers, fine-tuned adapters, or any open-source weights. If you hold any of these, you may not answer `NA` (not applicable), and must manage them as model artifacts. If you do not hold any model files at all, the official CSA form does not specify a single required response, and two approaches are available:
  - Approach 1: Answer `NA`, state the inventory conclusion in the description, and note that artifact integrity is the responsibility of the model provider. Per CSA completion guidance, the `Owned by MP` (owned by model provider) option may be selected in the SSRM column for scenarios where responsibility clearly rests with the upstream party. For the two sets of instructions on completing the SSRM column when answering `NA`, see the SSRM guidance for this question.
  - Option 2: As with the data center question, answer based on upstream implementation and answer `Yes`; select `Owned by MP` in the SSRM column; in the implementation description, clearly state that you hold no model artifacts yourselves, the basis for that inventory finding, the supplier name, and the materials you reviewed. You must have supplier materials to support this; otherwise do not answer `Yes`.
- Evidence strength (buyer criteria): Sample scan results qualify as T2 evidence (operational records), and gate configurations qualify as T1 evidence (policy or configuration); these two items together are usually sufficient. An adversarial test assessing whether malicious model files can bypass loading checks is a strength if completed.
- Partial implementation: If the control is implemented and only minor gaps that do not materially affect effectiveness remain, answer `Yes` and truthfully state the gaps, remediation plan, and target date in the implementation description. If a gap materially weakens the control's effectiveness, answer `No` and provide a corrective plan in the implementation description, including the owner, milestones, and completion date. This is a rule in the CSA filling guide.

## How to fill in the SSRM ownership column

General rule: According to the CSA matrix instructions and the *Filling in the AI-CAIQ* guide, whether you answer `Yes` or `No`, you must select a responsible party in the SSRM column and use only values from the original matrix dropdown. When answering `Yes`, you cannot select `Not Determined`. When answering `No`, select the party best suited to own remediation; select `Not Determined` only if it truly cannot be determined. When answering `NA`, the original matrix instructions require leaving this column blank; the filling guide says to usually select `Not Determined`, or select the upstream or downstream party if that party is clearly responsible. For submissions to the STAR registry, follow the filling guide; for questionnaires sent directly by a buyer, either approach is acceptable. Every `NA` answer must state the reason in the implementation description.

The SSRM column indicates who is responsible for this control. If you hold and deploy the artifacts yourselves, select the `Owned by` option corresponding to your role; those building the application generally select `Owned by AP` (you, as the application provider, are responsible). If you do not hold any artifacts at all, regardless of whether you answer `NA` or base your answer on the upstream implementation, you can select `Owned by MP` (the model provider is responsible) in the SSRM column. If you hold part of the artifacts, such as an embedding model, while calling a foundation model through an API, base your answer on the part you hold, and state in the implementation description that the foundation-model artifacts are the provider’s responsibility.

## Sample answer (if Yes)

```
Yes. Model artifacts we host, including [embedding models, classifiers, and fine-tuned adapters], are registered with source, version, license, and SHA-256 hash. On ingestion and before each deployment, artifacts are scanned for malicious pickle payloads, unsafe serialization, dependency CVEs, and embedded secrets; the pipeline blocks on high-severity findings. Stored artifacts are re-scanned every [interval]. [We standardize on safetensors where supported.] Hash and scan results are retained with the release record, and handover checks are repeated when artifacts move between environments. Scanning targets malicious code and known vulnerabilities; it cannot be relied on to detect backdoors embedded in model weights, which we address through source verification and behavioral evaluation. For foundation models consumed only via API, we do not hold model artifacts; artifact integrity is the provider's responsibility, and we retain the provider's published security documentation.
```

## Answers that get rejected

- "We download from Hugging Face, the platform scans." – Platform scanning does not replace your responsibility to conduct pre-loading validation.
- "We scan containers." – Container scanning cannot detect malicious serialization code in model files.
- Scanning is only performed once in the CI pipeline, with no validation at handoff points or loading.

## Who does what

Your engineering team is responsible for scanning and gates for self-hosted artifacts; for base models accessed via API, artifacts are the responsibility of the model provider. Scanning procedure reviews may be conducted by your internal security team or with external assistance.

## Related questions

- [MDS-06.1 Per-Model Threat Assessment](https://assurelane.ai/en/services/security-questionnaire/assistant/mds-06-1/)
- [DSP-21.1 Data Poisoning Controls](https://assurelane.ai/en/services/security-questionnaire/assistant/dsp-21-1/)
