Skip to main content

Ikaris - Open-source Hugging Face model & python package safety checker

Project description

Ikaris

PyPI version [Total Download] License

Ikaris is an open-source CLI tool for verifying the security of machine learning models from Hugging Face and PyPI(https://pypi.org/). Ikaris performs multi-layer checks to help users assess risks before deploying models and package in production environments.

✨ Main Feature

Ikaris performs model verification based on three methods:

🔍 Source Verification

Identifies the model/package creator and publisher, as well as basic metadata.

📁 File and Folder Safety Review

Review the structure and contents of the model repository for suspicious or non-standard content.

📄 Model Card and Metadata Review

Validate model documentation and metadata.

🧩 Dependencies Review

Check package dependency

🛡️ Vulnerability Review

Check package vulnerability

📦 Installation

Make sure you are using Python >=3.8, then install Ikaris via pip:

Using pip:

pip install ikaris

🚀 Usage

Basic usage example for checking models:

ikaris check hf-model tensorblock/Llama-3-ELYZA-JP-8B-GGUF

Another example :

ikaris check package pandas

Output Sample

----------------------------------------
Source Verification
----------------------------------------
INFO: Source: https://huggingface.co/tensorblock/Llama-3-ELYZA-JP-8B-GGUF
INFO: Creator: tensorblock
WARNING: Model Publisher: Unknown
INFO: Tags: [...]
INFO: Downloads: 196
----------------------------------------
File & Folder Review
----------------------------------------
INFO: README.md is Safe
... (file lainnya)
----------------------------------------
Model Card Review
----------------------------------------
INFO: This model contains clear documentation.
INFO: This model contains clear metadata.

Summary: 20 Info, 1 Warning, 0 Critical
----------------------------------------
Source Verification
----------------------------------------
INFO: Source: https://pypi.org/project/imbalanced-learn/
INFO: Version: 0.13.0
WARNING: License: Unknown
INFO: Open Source: Yes
INFO: Project URL: https://github.com/scikit-learn-contrib/imbalanced-learn
INFO: Active Developers: 30
INFO: Last Maintenance (GitHub Commit): 2025-06-06 18:56:11
----------------------------------------
Dependencies Verification
----------------------------------------
INFO: Dependency found: imbalanced-learn (0.13.0)
INFO: Dependency found: joblib (1.5.1)
INFO: Dependency found: numpy (2.3.1)
INFO: Dependency found: scikit-learn (1.6.1)
INFO: Dependency found: scipy (1.15.3)
INFO: Dependency found: sklearn-compat (0.1.3)
INFO: Dependency found: threadpoolctl (3.6.0)
----------------------------------------
OSV Vulnerability Verification
----------------------------------------
INFO: No known vulnerabilities found in 'imbalanced-learn==latest'.

Summary: 15 Info, 1 Warning, 0 Critical

📁 Project Structure

Ikaris 
├── checker    ├── __init__.py 
|   ├── dependencies_verification.py    ├── file_verification.py    ├── model_card_verification.py 
|   ├── source_verification.py
│   └── vulnerability_verification.py
├── helpers    ├── __init__.py    └── logging.py
├── __init__.py
└── main.py

🔧 Prerequisite

  • Python >= 3.8
  • huggingface_hub
  • colorama
  • requests

📝 License

Distribution under license: Apache 2.0

👤 Contributor

⚠️ Disclaimer

Ikaris is not a substitute for a full security audit. Use Ikaris results as an initial analysis, and combine them with manual checks for model usage on sensitive production systems.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ikaris-0.2.1.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ikaris-0.2.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file ikaris-0.2.1.tar.gz.

File metadata

  • Download URL: ikaris-0.2.1.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ikaris-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7f0228ecdbff5320258d032536a592d777a5c445b255ccc6137f1f14fc0f1a3d
MD5 48a834d9f2abdb7624c4c78f7a6c1610
BLAKE2b-256 4c8deeea929cfc6dbaa27525f5612ca6feb34652036333cdc16a58b65bb6b810

See more details on using hashes here.

File details

Details for the file ikaris-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ikaris-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ikaris-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d5b7e957a558bc73d583954bc224bd0f727cba31bd2ae253f21e526b7b01729
MD5 34366d1f1fc602887026f7be5d23cba9
BLAKE2b-256 2840961b6691228e5252d9b0123b6606ed3771e0f6224092a5505281296a684a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page