> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://hiddenlayer.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://hiddenlayer.ferndocs.com/_mcp/server.

# Scanning Model Files

AI Supply Chain Security SaaS leverages the HiddenLayer AI Security Platform Supply Chain to analyze Machine Learning Models.

Scanning a model file using Supply Chain SaaS can be done in the following ways.

## Supply Chain SaaS

### HiddenLayer Console

Log in to the HiddenLayer Console and use the UI to scan a model files stored locally on your system or scan a model directly from a public repository on Hugging Face.

* [Scan a Local Model](/docs/products/console/supply_chain_add_local_model)
* [Scan a Community Model](/docs/products/console/supply_chain_add_community_model)

### HiddenLayer Python SDK

Use a Python SDK to scan a model file stored locally on your system or scan a model directly from a public repository on Hugging Face.

* [HiddenLayer Python SDK](https://github.com/hiddenlayerai/hiddenlayer-sdk-python): GitHub repository.

### HiddenLayer REST API

Use a REST API to scan a model file and perform other AI Security Platform actions without logging in to the Console. Model files can be stored locally on your system or scan a model directly from a public repository on Hugging Face.

* [Supply Chain in HiddenLayer Developer Portal](https://dev.hiddenlayer.ai/docs/scanning-and-analysis/model-scanner): **Note**: Requires a Console login.

> **Python SDK is recommended**
>
> For ease of use when scanning a model file, the Python SDK is recommended over the REST API.

## View Scan Results

You can view your scan results in the Console.

* [Asset Scans](/docs/products/console/supply_chain_asset_scans)