AI Artifacts Scanner provides static, no-deserialization security inspection for machine learning (ML) model files and companion code before you download, store, or deploy them in your environment. Traditional endpoint antivirus and software composition analysis (SCA) tools ignore model files. AI Artifacts Scanner fills this operational gap by inspecting model artifacts directly to identify security threats, unsafe serialization formats, embedded credentials, and supply chain risks without loading or executing model code.
About AI Artifacts Scanner
AI Artifacts Scanner inspects model files across their entire lifecycle, giving security and machine learning teams a fast, automated way to evaluate risks before models enter corporate environments.
AI Artifacts Scanner helps you secure your machine learning pipeline:
- inspects public model repositories before you pull them into your local network
- audits private model registries and cloud storage buckets
- validates models in your CI/CD build pipelines with deterministic exit codes
- generates CycloneDX 1.6 Machine Learning Bill of Materials (ML-BOM) files
pickle.load operations during inspection.To learn more about behavioral model evaluation: Creating a Test
To learn more about analyzing software dependencies in AI agents: AI-BOM Analysis
Understanding the Object Model
AI Artifacts Scanner organizes model assets and security policies into a structured hierarchy based on four asset tiers and four governance entities.
Structuring Asset Entities
The asset hierarchy organizes your machine learning artifacts into 4 progressive levels:
- Source: A configured repository or cloud storage location where artifacts reside, such as Hugging Face, GitHub, or Amazon S3.
- Model: A logical machine learning model identity that groups related versions.
- ModelVersion: An immutable, content-addressed revision of a model identified by its SHA-256 file digest and Merkle root.
- File: An individual artifact within a model version, such as weight files, tokenizers, serialized graphs, and configuration files.
Defining Governance Entities
The governance model applies security standards and tracks results through 4 entities:
- Security Group: A named binding of one source to a rule set with an assigned enforcement mode.
- Rule: A specific security check with a stable ID, assigned severity, category, remediation guidance, and blocking status.
- Scan: An execution record that evaluates a specific model version against a security group at a given timestamp.
- Finding: An identified security issue that contains rule metadata, severity, byte-offset location, technical evidence, and actionable remediation guidance.
Inspecting Supported Formats
AI Artifacts Scanner inspects more than 25 model and configuration formats using safe static analysis. The scanner identifies file formats by reading binary headers and magic bytes first, rather than relying on file extensions alone.
The scanner supports the following file formats and containers:
- Pickle family:
.pkl,.pickle,.dill,.joblib,.pt,.pth,.bin, and.ckpt - Safetensors:
.safetensors - PyTorch modern containers: Modern
.ptand.pthcontainer formats - TensorFlow:
.pb(SavedModel) and.tflite - Keras:
.h5,.hdf5, and.keras - ONNX:
.onnx - Quantized models:
.gguf,.ggml,.ggjt, and.ggla - NumPy:
.npyand.npz - JAX and Flax:
.msgpack,.flax, and.orbax - PMML and TensorRT:
.pmml,.engine, and.plan - Companion files:
config.json,tokenizer*.json,*.py,requirements.txt, model cards, and.gitattributes - Archive containers: ZIP, TAR, and OCI images with recursive extraction limits
Categorizing Finding Classes
AI Artifacts Scanner evaluates model repositories against 5 distinct finding classes to identify both intentional exploits and accidental misconfigurations.
The scanner evaluates artifacts across these classes:
- Code execution and deserialization: Disassembles pickle-family files at the opcode level without executing them. The engine detects unsafe callables, layered payloads (such as pickle-in-pickle), Keras Lambda layers, TensorFlow I/O operations, custom ONNX operators, and embedded native executables (PE, ELF, and Mach-O).
- Backdoor and weight-space indicators: Conducts statistical weight analysis to identify distribution outliers, saturated neurons, bias anomalies, unreachable tensors, and trigger-token candidates.
- Risky configuration: Inspects companion code and configuration files for parameters that permit remote code execution (such as
trust_remote_codeandauto_map), exposed secrets, hardcoded credentials, and network communication indicators. - Supply chain and provenance: Evaluates repository metadata, detects typosquatting and impersonation through namespace and homoglyph analysis, verifies commit signatures, inspects dependencies, and compares file hashes against known threat corpora.
- Format and license compliance: Assigns a format safety classification (
SAFE_BY_DESIGN,SAFE_IF_VALIDATED, orUNSAFE_BY_DESIGN), detects software licenses with SPDX identifiers, evaluates commercial restrictions or conflicts, and audits model card completeness against ISO/IEC 42001 and the EU AI Act.
Applying Security Groups and Rules
Security groups allow you to enforce consistent, auditable policies tailored to the origin of each model.
Managing Default Security Groups
AI Artifacts Scanner provides 3 preconfigured security group templates:
- External-Strict: Enforces strict blocking rules on public or third-party repositories. It blocks models that contain high-risk opcodes, unverified serialization formats, or suspicious configuration flags.
- Internal-Standard: Balances protection and development speed for internal model registries. It blocks critical threats while generating warning notifications for operational anomalies.
- Audit-Only: Executes all detection rules across artifacts and records findings for governance and compliance tracking without blocking access or failing pipeline builds.
Reviewing Scan Verdicts
Every scan evaluates the model against the rules in your assigned security group and returns an overall binary verdict:
- PASS: The model satisfies all blocking rules in the security group. The artifact is approved for download, storage, or deployment.
- FAIL: The model violates one or more blocking rules in the security group. Do not download or deploy this model without remediation or an approved exception.
While the overall verdict determines whether the model passes or fails governance gates, the scan report lists all individual findings categorized by severity (CRITICAL, HIGH, MEDIUM, LOW, and INFO) to guide remediation.

