Skip to main content
Skip table of contents

View your Results and Create Reports

This feature requires an LLM entitlement. More details about signing up for this feature will be shared upon request.

Overview

This document provides an overview of Mend.io’s detection capabilities surrounding the landscape of Large Language Models (LLMs). It details this feature's architecture, functionality, and integration.

Mend AI identifies open-source models hosted on Kaggle or HuggingFace and enables you to issue vulnerability reports or malicious component (MSC) reports based on our detection capabilities and community reports.

Mend AI scans repository data released on HuggingFace to detect potential malicious or unwanted components present in those repositories. It can also scan models in a file system to identify vulnerabilities, licensing issues, and malicious models. Key features of file-system scanning include:

  • Known Vulnerability Identification: Detects models for known vulnerabilities of models and the model they fine-tined from.

  • New Vulnerability Identification: Scan models for serialization vulnerabilities.

  • License Compliance: Ensures models comply with licensing requirements.

  • Malicious Model Detection: Identifies and mitigates risks from malicious models.

Getting it done

View your Model Detection Results in the Mend Platform UI

At present, Mend AI can detect locally-stored models originating from HuggingFace and Kaggle and recognize them within users' software. After scanning, data about the detected models will be available in the SBOM (Software Bill of Materials), and the scan results will be displayed in the Mend Platform, as demonstrated below:

Zrzut ekranu z 2024-08-05 12-03-27.png
image-20240805-105418.png

View your Model Detection Results in the Mend CLI

The scan results are immediately visible in the CLI itself:

image-20240805-105604.png

Vulnerability Reporting

Using Mend AI, you can issue vulnerability reports for models recognized from the OSS space mentioned. Models scanned with the Mend CLI are added to the inventory, and their vulnerabilities are visible in the UI.

In the example below, you can see an OSS model with a known vulnerability being reported (https://huggingface.co/FacebookAI/roberta-base/tree/main ):

obraz-20240805-113725.png

Note: These types of vulnerabilities do not differ from vulnerabilities detected in other OSS components.

obraz-20240805-114637.png

Model-related vulnerabilities are also displayed in the CLI scan result:

obraz-20240805-115333.png

Malicious Reporting

Similarly to the above solution, Mend AI detects malicious components in model repositories.

Similarly to the vulnerabilities, Mend AI also handles malicious components, as demonstrated below:

obraz-20240805-115446.png
obraz-20240805-115517.png
image-20240805-105604.png

License Reporting

In addition to all the security-related features, Mend AI also provides license details for recognized models, as demonstrated below:

obraz-20240805-122544.png
obraz-20240805-122634.png

71 licenses used within the HuggingFace space have been detected: https://huggingface.co/docs/hub/repositories-licenses

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.