Advanced Cybercrime Stopper - Scan for leaked secrets, morph images, and more.
Project description
VISION-CLI v5.0.2 (Enterprise Edition)
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 v5.0: A massive architectural overhaul delivering production-ready stability. Features include O(1) memory profiling with mmap for scanning 100GB+ files, Exponential Backoff for resilient API calls, strict zero-trust config permissions, and a modular plugin architecture tested with 100% Mock E2E coverage.
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)
- Clone the repository:
git clone https://github.com/SHAURYASANYAL3/VISION-CLI.git cd VISION-CLI
- 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
transformersto 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_KEYexport VISION_VT_API_KEY="your_api_key_here"
Usage
Global Flags:
--json: Output results in JSON format (suppresses therichanimated 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
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 vision_cli-5.0.2.tar.gz.
File metadata
- Download URL: vision_cli-5.0.2.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d5452cc488df8677d74c870911f06268de441b6372e0236cdf42f03b8b70deb
|
|
| MD5 |
13ab0333ec56111541a2884bec8b799d
|
|
| BLAKE2b-256 |
22d1865bb6c9c43de36a9b32a1b01794897169e6717e6a91eb155eae2172c7af
|
Provenance
The following attestation bundles were made for vision_cli-5.0.2.tar.gz:
Publisher:
publish.yml on SHAURYASANYAL3/VISION-CLI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vision_cli-5.0.2.tar.gz -
Subject digest:
9d5452cc488df8677d74c870911f06268de441b6372e0236cdf42f03b8b70deb - Sigstore transparency entry: 2119072828
- Sigstore integration time:
-
Permalink:
SHAURYASANYAL3/VISION-CLI@6e836e1a2c42a053bc9b76b1f2c7d759519ec2a9 -
Branch / Tag:
refs/tags/v5.0.2 - Owner: https://github.com/SHAURYASANYAL3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6e836e1a2c42a053bc9b76b1f2c7d759519ec2a9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vision_cli-5.0.2-py3-none-any.whl.
File metadata
- Download URL: vision_cli-5.0.2-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8becfc4180bd0ef0e29a52073d099c53e593907052d068535b911b43ac6a622
|
|
| MD5 |
98c1e5fa40a04630509fbfa34e96b81c
|
|
| BLAKE2b-256 |
51692e08fddc75c32a09a8e2ad6f3e2dd7ff93b8112e769fdc7bd50130405f97
|
Provenance
The following attestation bundles were made for vision_cli-5.0.2-py3-none-any.whl:
Publisher:
publish.yml on SHAURYASANYAL3/VISION-CLI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vision_cli-5.0.2-py3-none-any.whl -
Subject digest:
f8becfc4180bd0ef0e29a52073d099c53e593907052d068535b911b43ac6a622 - Sigstore transparency entry: 2119072924
- Sigstore integration time:
-
Permalink:
SHAURYASANYAL3/VISION-CLI@6e836e1a2c42a053bc9b76b1f2c7d759519ec2a9 -
Branch / Tag:
refs/tags/v5.0.2 - Owner: https://github.com/SHAURYASANYAL3
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6e836e1a2c42a053bc9b76b1f2c7d759519ec2a9 -
Trigger Event:
release
-
Statement type: