This library is a wrapper of vt api in order to use it on AI applications
Project description
VT4AI is a powerful Python wrapper around the VirusTotal API, specifically designed to enhance AI and LLM applications with comprehensive cybersecurity intelligence. It transforms VirusTotal's responses into AI-friendly formats through templating and multiple integration options.
Why VT4AI?
Traditional VirusTotal API responses are often overwhelming for AI applications, containing massive amounts of data that can confuse LLMs and waste tokens. VT4AI solves this by:
- ๐ง AI-Optimized Responses: filtering and templating system that presents only relevant data
- ๐ง Multiple Interfaces: CLI, MCP server for LLM agents, and REST API for flexible integration
- ๐จ Format Flexibility: JSON, Markdown, XML, and raw formats to suit any use case
Key Features
Smart Templating System
- Pre-configured templates for common AI use cases
- Custom template support for specific requirements
- Attribute filtering to reduce noise and focus on relevant data
Multiple Integration Options
- CLI Tool: Direct command-line access for scripts and automation
- MCP Server: Native integration with LLM agents and AI assistants
- REST API: HTTP endpoints for web applications and microservices
Comprehensive VirusTotal Coverage
- File analysis (by hash or file path)
- URL scanning and analysis
- Domain reputation checking
- IP address investigation
- File relationship mapping
Use Cases
- Security Analysis in AI Workflows: Integrate threat intelligence into AI-powered security tools
- Automated Threat Hunting: Build intelligent systems that can analyze and correlate security data
- Incident Response Automation: Create AI assistants that can quickly assess threats and provide context
- Research and Development: Streamline security research with AI-friendly data formats
Quick Start
# Install VT4AI
pip install vt4ai
# Set your VirusTotal API key
export VT4AI_API_KEY="your_api_key_here"
# Analyze a file hash
python3 -m vt4ai.cli --hash 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f
Architecture
VT4AI is built with a modular architecture that separates concerns and maximizes flexibility:
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ CLI Interface โ โ MCP Server โ โ REST API โ
โโโโโโโโโโโฌโโโโโโโโ โโโโโโโโโโโโฌโโโโโโโโ โโโโโโโโโโโฌโโโโโโโโ
โ โ โ
โ โโโโโโโโโโโโฌโโโโโโโโโโโโ
โ โ
โ โโโโโโโโโโโโโโโผโโโโโโโโโโโโโโ
โ โ VTService โ
โ โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ โ
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโผโโโโโโโโโโโโ
โ VT4AI Client โ
โ (Core Library) โ
โโโโโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโผโโโโโโโโโโโโ
โ Template System โ
โ (Filtering & Formatting)โ
โโโโโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโผโโโโโโโโโโโโ
โ VirusTotal API โ
โ (vt-py) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
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 vt4ai-0.1.1.tar.gz.
File metadata
- Download URL: vt4ai-0.1.1.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2974cc33f7695a4faf437d1ad4441394b003f597d2806ac42ca3ddc87369150e
|
|
| MD5 |
52f663b992683c56b10e15fa52ecf9fc
|
|
| BLAKE2b-256 |
2f47d100fa179e3d9b8cb3d13bfe0a937cdc3610b4478a1cf3f39180d94830c0
|
File details
Details for the file vt4ai-0.1.1-py3-none-any.whl.
File metadata
- Download URL: vt4ai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 34.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d5c471046382edfe623d2cab61a4d66fa6842366da4ecd7891a35f2b7af0b97
|
|
| MD5 |
85f2b8b2c9f1cb703eed51fd8051bafd
|
|
| BLAKE2b-256 |
b88425121c313d62b66cd4d482cd99249241eab86842c02dfafdb1de0fac1a42
|