Skip to content
Skills Library
Security · Review & audit

model-artifact-lifecycle-audit

/model-artifact-lifecycle-audit

Audits how model artifacts are accepted, validated, stored, selected, loaded, executed, monitored, and retired. Use when reviewing model registries, loaders, CI/CD pipelines, scanner-to-runtime gaps, or ML supply-chain controls.

Repository
skills ↗
Licence
Apache-2.0
Last repository change
15.10.2026

Assessment and security

90/ 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.
Content25 / 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
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 15.10.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

Audits how model artifacts are accepted, validated, stored, selected, loaded, executed, monitored, and retired. Use when reviewing model registries, loaders, CI/CD pipelines, scanner-to-runtime gaps, or ML supply-chain controls.

Original author description

Audits how model artifacts are accepted, validated, stored, selected, loaded, executed, monitored, and retired. Use when reviewing model registries, loaders, CI/CD pipelines, scanner-to-runtime gaps, or ML supply-chain controls.

How it works

  1. When to Use
  2. When NOT to Use
  3. Lifecycle states
  4. Workflow
  5. Deliverable
  6. Rationalizations to reject
Original SKILL.md headings · 80 lines, 548 words
SKILL.md preview
---
name: model-artifact-lifecycle-audit
description: "Audits how model artifacts are accepted, validated, stored, selected, loaded, executed, monitored, and retired. Use when reviewing model registries, loaders, CI/CD pipelines, scanner-to-runtime gaps, or ML supply-chain controls."
metadata:
  portability: universal
  discipline: blue-team
  domain: ai-systems
  tags: [models, artifacts, supply-chain, registries, mlops]
---

# Model artifact lifecycle audit

Trace a model artifact from intake through retirement. The audit focuses on
control and evidence gaps between scanners, registries, selectors, loaders,
runtimes, and downstream consumers; it does not build weaponized models.

## When to Use

- Reviewing model upload, registry, promotion, deployment, or retirement paths.
- Auditing artifact formats, scanners, signatures, provenance, loader behavior,
  CI/CD jobs, scheduled pipelines, or workload identity.
- Investigating whether an accepted artifact could reach a more privileged
  execution context than the intake controls imply.

## When NOT to Use

- Do not create malicious model artifacts or provide payload-building steps.
- Do not load an untrusted artifact to prove a control gap unless a separate,
  isolated validation is explicitly authorized.
- Do not treat a clean scanner result as proof of safe runtime behavior.

## Lifecycle states

Track each state independently: `submitted`, `accepted`, `validated`, `stored`,
`registered`, `selected`, `promoted`, `loaded`, `executed`, `served`,
`monitored`, `revoked`, `deleted`, and `residually-present`. A receipt for one
state does not prove the next.

## Workflow

1. Define the systems, artifact classes, environments, identities, business
   owners, evidence window, and audit boundaries.
2. Inventory every accepted artifact format and packaging layer, including
   archives, configuration, tokenizer or processor files, custom code,
   dependencies, conversion outputs, and generated caches.
3. Map producers, intake endpoints, validators, scanners, registries, object
   stores, promotion gates, selectors, deployment systems, loaders, runtimes,
   serving endpoints, and downstream consumers.
4. Record the identity and privilege at each transition. Include human,
   workload, CI/CD, scheduled-job, registry, and runtime identities.
5. Trace integrity controls: origin, digest, signature, attestation, dependency
   lock, policy decision, quarantine, immutability, approval, and revocation.
6. Compare validator semantics with loader semantics. Identify content the
   loader interprets but the scanner ignores, transformations that invalidate a
   prior decision, and defaults that enable custom or executable behavior.
7. Review selection and activation separately. A stored artifact is not loaded;
   a selected artifact is not executed; a served model does not prove which
   digest is active without runtime evidence.
8. Examine automated consumers. Determine whether CI, evaluation, conversion,
   optimization, deployment, or scheduled jobs load artifacts under identities
   or network access stronger than the submitter's.
9. Check monitoring and response: exact artifact identity in logs, promotion and
   load events, policy failures, anomalous runtime behavior, revocation
   propagation, rollback, deletion, cache eviction, and residual copies.
10. For every gap, state the weakest lifecycle claim supported, affected trust
    transition, plausible consequence, missing evidence, and safe remediation.

## Deliverable

Return the artifact and format inventory, lifecycle and identity map, control
matrix, scanner-versus-loader comparison, automation and privilege findings,
state-specific evidence gaps, revocation and cleanup assessment, and prioritized
remediation. Keep unexecuted hypotheses labeled as hypotheses.

## Rationalizations to reject

- **“The registry accepted it, so the model is approved.”** Intake, validation,
  promotion, and activation are different states.
- **“The scanner supports the format.”** Coverage depends on which fields and
  embedded components the scanner interprets compared with the loader.
- **“The digest matches, so the artifact is safe.”** Integrity proves identity,
  not trustworthiness.
- **“Custom code is disabled by default.”** Verify the effective loader and
  deployment configuration at the actual execution boundary.
- **“The model never reaches production.”** Evaluation and conversion workers
  may hold stronger identity or network access than production serving.
- **“Deletion from the registry removes it.”** Object stores, caches, converted
  artifacts, running workloads, and replicas may persist.
Files in this package (3)
  • SKILL.md 5 KB
  • agents/openai.yaml 1 KB
  • assets/zero-lab-mark.svg 9 KB

Versions

The database has no other skills named model-artifact-lifecycle-audit.

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

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90supply-chain-audit
    Software supply chain audit — dependencies (CVEs, maintenance, licenses, transitive risk), build/CI integrity (SHA-pinned actions, lockfile, CI-only release), artifact integrity (checksums, signing, SBOM). Triggers on: "/supply-chain-audit", "supply-chain-audit", "dependency…
  • 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.
  • 100model-artifact-security
    Secure ML model supply chains and artifacts — unsafe serialization (pickle, joblib, PyTorch .pt/.bin, Keras Lambda layers), scanning with ModelScan/picklescan/fickling, preferring safetensors, model provenance and signing, registry access control, trust_remote_code risks, and…
  • 90llm-supply-chain
    Detects compromised or backdoored models loaded from unverified sources, floating tags, or unreviewed registries. Use when writing code that downloads pre-trained models, loads models from registries or file paths, integrates third-party LLM providers, or manages model version…
  • 95security-audit
    [Code Quality] Use when a workflow step or the user asks for security audits: OWASP, secrets, supply chain, infrastructure, CI/CD and AI-agent risks.
  • 95security-audit
    [Code Quality] Use when a workflow step or the user asks for security audits: OWASP, secrets, supply chain, infrastructure, CI/CD and AI-agent risks.

Feedback and reports

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