AI model security scanner — scan any HuggingFace model for vulnerabilities, CVEs, misconfigurations, prompt injection, and bias.
Project description
SentinelAI CLI
The VirusTotal for AI Models — scan any HuggingFace model for security vulnerabilities in one command.
Features
- 🛡️ Serialization Scanner — detects hidden code execution in model files
- 📦 CVE Scanner — cross-references dependencies against the CVE database
- ⚙️ Config Auditor — flags dangerous settings like
trust_remote_code - 💉 Behavioral Probe — tests for prompt injection and jailbreak vulnerabilities
- ⚖️ Bias Check — detects demographic bias in model outputs
- 📊 Risk Score — unified 0–100 score mapped to OWASP LLM Top 10
Install
pip install sentinel-ai-scanner
Quick Start
# 1. Log in via GitHub OAuth
sentinelai login
# 2. Scan any HuggingFace model
sentinelai scan meta-llama/Llama-3-8B
# 3. Log out when done
sentinelai logout
Commands
| Command | Description |
|---|---|
sentinelai login |
Authenticate via GitHub OAuth |
sentinelai scan <model> |
Scan a model (HuggingFace ID or local path) |
sentinelai logout |
Remove stored credentials |
Scan Options
sentinelai scan meta-llama/Llama-3-8B \
--hf-token hf_xxx... \ # For private models
--output-dir ./reports # Save reports here
Output
After scanning, you get:
- Terminal output with live progress and risk score
- JSON report for CI/CD pipelines
- HTML report for human-readable sharing
- Dashboard link to view results on the web
Requirements
- Python 3.10+
- Works on macOS, Linux, and Windows
Links
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sentinel_ai_scanner-0.1.4.tar.gz.
File metadata
- Download URL: sentinel_ai_scanner-0.1.4.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1729f980a0c4eb623d06a428da0e636ec2a332d4d34b9d982ed213378b23c1a
|
|
| MD5 |
ee41a27b30ba00ae345606ccb5f380b1
|
|
| BLAKE2b-256 |
98e135bc0dfc47693f02375d948d66766b7ed3c6f7c895bcda44ec92cb12d7bd
|
Provenance
The following attestation bundles were made for sentinel_ai_scanner-0.1.4.tar.gz:
Publisher:
publish.yml on TahirSiddique092/sentinel-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sentinel_ai_scanner-0.1.4.tar.gz -
Subject digest:
a1729f980a0c4eb623d06a428da0e636ec2a332d4d34b9d982ed213378b23c1a - Sigstore transparency entry: 1198627836
- Sigstore integration time:
-
Permalink:
TahirSiddique092/sentinel-ai@2942640856a11366f27caf73c00beda9ebadf32d -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/TahirSiddique092
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2942640856a11366f27caf73c00beda9ebadf32d -
Trigger Event:
release
-
Statement type:
File details
Details for the file sentinel_ai_scanner-0.1.4-py3-none-any.whl.
File metadata
- Download URL: sentinel_ai_scanner-0.1.4-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75a371efdac2443dd016c851bc09d15e54fcbcd8047431748a21e17c917f16cb
|
|
| MD5 |
fd2939018515a7359e05837d6bcc2e81
|
|
| BLAKE2b-256 |
ed892a75d9e4b48d47f0a9ef057aab945fbf98f7392bbfed712b7f6100f76d7a
|
Provenance
The following attestation bundles were made for sentinel_ai_scanner-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on TahirSiddique092/sentinel-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sentinel_ai_scanner-0.1.4-py3-none-any.whl -
Subject digest:
75a371efdac2443dd016c851bc09d15e54fcbcd8047431748a21e17c917f16cb - Sigstore transparency entry: 1198627863
- Sigstore integration time:
-
Permalink:
TahirSiddique092/sentinel-ai@2942640856a11366f27caf73c00beda9ebadf32d -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/TahirSiddique092
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2942640856a11366f27caf73c00beda9ebadf32d -
Trigger Event:
release
-
Statement type: