Skip to content
Skills Library
Security · Review & audit

model-registry-model-security-scanning

/model-registry-model-security-scanning

Scan models for malicious code in model registries. Use when building, configuring, or reviewing model registry security, model ingestion pipelines, or model validation workflows.

Licence
Apache-2.0
Last repository change
15.07.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 15.07.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Scan models for malicious code in model registries. Use when building, configuring, or reviewing model registry security, model ingestion pipelines, or model validation workflows.

Original author description

Scan models for malicious code in model registries. Use when building, configuring, or reviewing model registry security, model ingestion pipelines, or model validation workflows.

How it works

  1. Security Requirement
  2. What to Scan For
  3. Scanning Pipeline
  4. Implementation Checklist
Original SKILL.md headings · 39 lines, 261 words
SKILL.md preview
---
name: model-registry-model-security-scanning
description: Scan models for malicious code in model registries. Use when building, configuring, or reviewing model registry security, model ingestion pipelines, or model validation workflows.
category: "secure_development"
subcategory: "model-registry"
---

# Model Security Scanning in Model Registries

## Security Requirement

Models stored in registries SHOULD be scanned to identify malicious code within them. This is a gate control applied at the registry level, before models are distributed to inference engines.

## What to Scan For

| Threat | Detection Approach |
|---|---|
| **Pickle-based payloads** | Detect Python pickle serialization that can execute arbitrary code |
| **Embedded executables** | Scan for binary executables or scripts hidden in model files |
| **Unsafe serialization** | Flag models using formats known to allow code execution on deserialization |
| **Anomalous file structure** | Detect unexpected files or metadata within the model package |
| **Known malware signatures** | Match against known malicious model signatures |

## Scanning Pipeline

```
Model uploaded to registry
  → Signature verification (provenance check)
  → Security scanning (malicious content check)
    → If clean: mark as verified, make available
    → If suspicious: quarantine, alert security team
    → If malicious: reject, alert security team, log event
```

## Implementation Checklist

- [ ] Integrate model security scanning into the model ingestion pipeline
- [ ] Scan for unsafe serialization formats (pickle, legacy PyTorch)
- [ ] Scan for embedded executables and scripts
- [ ] Quarantine models that fail scanning (do not make them available)
- [ ] Alert the security team on scanning failures
- [ ] Log all scanning results for audit
- [ ] Update scanning rules as new model-based attack vectors are discovered
- [ ] Support re-scanning of existing models when new signatures are added

Versions

The database has no other skills named model-registry-model-security-scanning.

Database snapshot: 13.11.2026 · package version bbfa29d6757a (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100model-registry-logging
    Enforce centralized security logging for model registries. Use when building, configuring, or reviewing logging and audit capabilities of model registries.
  • 90model-registry-model-signature-verification
    Verify model signatures in model registries to validate provenance. Use when building, configuring, or reviewing model registries, model upload pipelines, or model distribution workflows.
  • 100scanning-database-security
    Process use when you need to work with security and compliance. This skill provides security scanning and vulnerability detection with comprehensive guidance and automation. Trigger with phrases like "scan for vulnerabilities", "implement security controls", or "audit security".
  • 100scanning-database-security
    Process use when you need to work with security and compliance. This skill provides security scanning and vulnerability detection with comprehensive guidance and automation. Trigger with phrases like "scan for vulnerabilities", "implement security controls", or "audit security".
  • 100scanning-container-security
    Execute use when you need to work with security and compliance. This skill provides security scanning and vulnerability detection with comprehensive guidance and automation. Trigger with phrases like "scan for vulnerabilities", "implement security controls", or "audit security".
  • 100scanning-container-security
    Execute use when you need to work with security and compliance. This skill provides security scanning and vulnerability detection with comprehensive guidance and automation. Trigger with phrases like "scan for vulnerabilities", "implement security controls", or "audit security".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.