Skip to main content

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


Download files

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

Source Distribution

sentinel_ai_scanner-0.1.4.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

sentinel_ai_scanner-0.1.4-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

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

Hashes for sentinel_ai_scanner-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a1729f980a0c4eb623d06a428da0e636ec2a332d4d34b9d982ed213378b23c1a
MD5 ee41a27b30ba00ae345606ccb5f380b1
BLAKE2b-256 98e135bc0dfc47693f02375d948d66766b7ed3c6f7c895bcda44ec92cb12d7bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for sentinel_ai_scanner-0.1.4.tar.gz:

Publisher: publish.yml on TahirSiddique092/sentinel-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sentinel_ai_scanner-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for sentinel_ai_scanner-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 75a371efdac2443dd016c851bc09d15e54fcbcd8047431748a21e17c917f16cb
MD5 fd2939018515a7359e05837d6bcc2e81
BLAKE2b-256 ed892a75d9e4b48d47f0a9ef057aab945fbf98f7392bbfed712b7f6100f76d7a

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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