Skip to main content

Advanced Cybercrime Stopper - Scan for leaked secrets, morph images, and more.

Project description

VISION-CLI v4.0.1

VISION-CLI is an advanced, enterprise-grade threat intelligence and cybercrime prevention CLI built in Python. Designed to stop data leaks, detect AI-generated media, and block phishing attacks—all from your terminal.

🚀 New in v4.0: Completely overhauled UI using rich, multi-threaded parallel scanning for massive speed boosts, automated PyPI publishing, and robust error handling!

Installation

The easiest way to install VISION-CLI is directly from PyPI (globally available on your system):

pip install vision-cli

Manual Installation (from source)

  1. Clone the repository:
    git clone https://github.com/SHAURYASANYAL3/VISION-CLI.git
    cd VISION-CLI
    
  2. Install via pip:
    pip install .
    

(Note: Installing PyTorch and Transformers for the AI morph checker requires a substantial download. You can also install Tesseract-OCR on your host OS for the leak command's visual text extraction capabilities.)

Features

1. 🕵️ Leak Scanner (leak)

Scans files and directories for hardcoded secrets, passwords, and PII using an ultra-fast multi-threaded scanner. Now automatically ignores noisy directories like .git and node_modules.

  • Regex Engine: Detects common secrets (API keys, tokens, emails).
  • Deep Vision OCR: Using pytesseract, the scanner can extract text from images to detect passwords leaked visually.

2. 🤖 AI Morph Checker (morph)

Analyzes images to determine if they are authentic or AI-generated.

  • Deep Learning Pipeline: Leverages HuggingFace transformers to run pixel-level inference on images.
  • Metadata Fallback: If ML libraries aren't installed, it falls back to a signature scan to detect common AI tools (Midjourney, DALL-E) and traditional editors (Photoshop).

3. 🚨 Breach Lookup (breach)

Checks if an email address has been compromised in a known data breach using the XposedOrNot live API.

4. 🎣 Phish Analyzer (phish)

Scans URLs and domains for phishing indicators.

  • VirusTotal Integration: Query over 70+ security engines. (Requires API key, see configuration below).
  • Live Database: Queries PhishStats.
  • Heuristic Scoring & SSL Verification: Analyzes URL structure for suspicious indicators and inspects the SSL certificate age.

Configuration & Environment Variables

VISION-CLI stores its configuration file at ~/.vision_cli_config.yaml. You can pass API keys via the config file, or ideally, through environment variables (perfect for CI/CD environments):

  • VirusTotal API Key: VISION_VT_API_KEY
    export VISION_VT_API_KEY="your_api_key_here"
    

Usage

Global Flags:

  • --json: Output results in JSON format (suppresses the rich animated UI, ideal for scripts).

Command Examples:

# Scan a directory for text and visual (OCR) leaks
vision-cli leak "/path/to/project"

# Check if an image (or folder of images) is AI-generated
vision-cli morph "/path/to/image.jpg"

# Check if an email is in a dark web database
vision-cli breach "admin@example.com"

# Analyze a suspicious link
vision-cli phish "http://suspicious-login.xyz"

Troubleshooting & Logs

If VISION-CLI crashes or encounters an unexpected error, a safe generic error will be shown on the terminal. Detailed diagnostic logs are saved to ~/.vision_cli.log.

Development & CI

This project uses automated GitHub Actions workflows to lint (flake8) and test (pytest) the code on every push.

pip install -r requirements.txt
pip install pytest flake8
pytest
flake8 vision_cli

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

vision_cli-5.0.0.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

vision_cli-5.0.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file vision_cli-5.0.0.tar.gz.

File metadata

  • Download URL: vision_cli-5.0.0.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vision_cli-5.0.0.tar.gz
Algorithm Hash digest
SHA256 282790305f6e036b2a72aa27a1e28eac0f0b9eae7cb4503e923cfc714bf2b1d7
MD5 1a9c47f1ca2111594decab0002b8a386
BLAKE2b-256 ecaf327ccd6c0c4d3897c2d94fb1d6753b50e6663631da9ab8e12fb8579463fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for vision_cli-5.0.0.tar.gz:

Publisher: publish.yml on SHAURYASANYAL3/VISION-CLI

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

File details

Details for the file vision_cli-5.0.0-py3-none-any.whl.

File metadata

  • Download URL: vision_cli-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vision_cli-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 117dfaf883abeae4794b2bfc0df0f7482db01b6d9f3d5f2ac741e8d468050a5a
MD5 66cbe2cadb813a15e6ed7299d2b86d08
BLAKE2b-256 a6a91ac57e4c8d5e67e655e3381d1a7f99807aadc1e69c064dc1bcb951b4c34c

See more details on using hashes here.

Provenance

The following attestation bundles were made for vision_cli-5.0.0-py3-none-any.whl:

Publisher: publish.yml on SHAURYASANYAL3/VISION-CLI

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