Platform guide
Analyze your models

AI/ML Supply Chain

16min

Overview

AI supply chain attacks occur when attackers modify or replace machine learning libraries, models, or associated data used by systems. Such vulnerabilities can lead to unauthorized system access or behavior manipulation.

To start working with the APIs, visit the Supply Chain Attacks Guide.



Key Features

Report Generation

  • Produces detailed reports classifying risks as Low, Medium, High, or Critical.

Repository Integration

  • Seamlessly integrates with GitHub, Huggingface, and AWS S3 for automated scanning of repositories and detecting vulnerabilities.

Model Format Support

Supported frameworks and file formats include:

Framework

File Format

Deserialization Risks

Backdoor Risks

Runtime Risks

TensorFlow

.pb, .h5



TensorFlow-savedmodel

.ckpt





Keras

.keras, .h5



PyTorch

.pt, .pth, .bin





ONNX

.onnx





Scikit-Learn

.pkl





GGUF

.gguf





SafeTensor

.safetensor





Misc

.zip





Additional File Formats

Framework

File Format

Detections

Jupyter Notebook

.ipynb

Hardcoded secrets,Passwords PII, Tokens(API, Web, other)

Python

.py

Hardcoded secrets,Passwords PII, Tokens(API, Web, other)

AI Software Bill of Materials (SBOM)

File Format

Detections

Requirements File (Autodiscovered)

Libraries, Unsafe Library Flags

Jupyter Notebook (Autodiscovered)

Libraries, Unsafe Library Flags



Risk Analysis

1. Deserialization Risks

Occurs when unverified data is used to rebuild objects. Attackers may exploit these to introduce malicious code, compromising system integrity.

2. Backdoor Risks

Hidden pathways allow attackers to manipulate model behavior through specific triggers. These covert exploits remain undetected during normal operations.

3. Runtime Risks

Activated during model inference or task execution, runtime risks involve malicious code execution, leading to unauthorized access or manipulation.



Benefits

  1. Real-Time Scanning: Quickly identifies vulnerabilities in AI/ML models and notebooks.
  2. Comprehensive Framework Support: Compatible with diverse model frameworks.
  3. Dynamic Risk Identification: Adapts to evolving security threats.
  4. Thorough Assessments: Provides a full spectrum of vulnerability analysis.
  5. Standards Compliance: Aligns with OWASP, MITRE, and CWE standards.
  6. Scalability: Automated workflows ensure efficient scaling.
  7. Seamless Integration: Effortless compatibility with popular AI/ML platforms.
  8. Detailed Reports: Helps prioritize vulnerabilities and allocate resources.
  9. Competitive Advantage: Showcases commitment to security, appealing to stakeholders and clients.


Parameters

Parameter

Data Type

Description

Remarks

repo_type

String

Name of the repository (e.g., github, huggingface,s3_bucket,file)



repo_url

String

URL of the repository to be scanned in case of huggingface and github

branch_name

String

Branch to analyze

Default: main

depth

Integer

Depth of the repository clone

Default: 1 (latest commit only).

model_id

String

ID of the model for file uploads.

Obtainable during model registration.

aws_access_key_id

String

a unique identifier used to authenticate requests to AWS services.

It pairs with the aws_secret_access_key to ensure secure access and authorization.

aws_secret_access_key

String

a confidential key used to sign and authenticate requests to AWS services

It works with the aws_access_key_id to securely validate access permissions.

region

String

The region where s3 bucket present. The region specifies the geographic area where AWS resources are deployed and operated.



bucket_name

String

The bucket name which need to be scanned. The bucket_name is the unique identifier for an Amazon S3 bucket, where objects (files or data) are stored.





Sample Artifact



Appendix

Glossary

  • Deserialization Risks: Vulnerabilities arising during object reconstruction from untrusted data or files.
  • Backdoor Risks: Undetected pathways that allow behavior manipulation.
  • Runtime Risks: Threats triggered during inference or file execution.

For further queries, contact Support.

Updated 21 Nov 2024
Doc contributor
Doc contributor
Did this page help you?