Welcome to HackAgent
HackAgent is a red-team testing toolkit aimed at detecting and mitigating security vulnerabilities in AI agents.
Built for developers, red-teamers, and security engineers, HackAgent makes it easy to simulate adversarial inputs, automate prompt fuzzing, and validate the safety of your LLM-powered apps. Whether you're building a chatbot, autonomous agent, or internal LLM service, HackAgent helps you test before attackers do.
๐ฏ Why HackAgent?โ
The AI Security Challengeโ
As AI agents become more sophisticated and integrated into critical systems, they present new attack surfaces that traditional security tools can't address:
- Prompt Injection Attacks: Malicious instructions embedded in user inputs
- Jailbreaking Techniques: Bypassing safety mechanisms and content filters
- Goal Hijacking: Manipulating agent objectives and behavior
- Tool Abuse: Misusing agent capabilities for unauthorized actions
- Data Exfiltration: Extracting sensitive information through agent interactions
Our Solutionโ
HackAgent provides systematic, automated testing for these emerging threat vectors:

See the complete testing workflow in action
๐ฅ Core Capabilitiesโ
๐ฅ๏ธ Professional Command Line Interfaceโ
Experience professional-grade command line operations with HackAgent's stunning ASCII logo integration and beautiful terminal branding. The interactive setup wizard guides you through configuration with hackagent init
, while rich terminal output featuring tables, progress bars, and colored displays makes complex operations intuitive and visually appealing.
Export your results in multiple formats including JSON, CSV, and formatted tables to seamlessly integrate with your existing workflows. Built for enterprise environments, the CLI includes comprehensive audit logging and team management capabilities to support organizational security testing requirements.

HackAgent CLI with beautiful terminal interface
๐ Comprehensive Vulnerability Detectionโ
Discover security vulnerabilities through sophisticated AdvPrefix attacks that employ advanced prefix generation and optimization techniques. Our comprehensive testing suite includes both direct and indirect prompt injection attacks, alongside advanced jailbreaking techniques designed to bypass safety measures and expose hidden vulnerabilities.
Test agent tool usage and permissions through targeted tool manipulation attacks, while context attacks systematically probe conversation context and memory handling. Each attack type is carefully crafted to reveal different classes of vulnerabilities, providing complete coverage of potential security weaknesses in AI systems.

Different attack types finding vulnerabilities
๐ข Enterprise-Grade Platformโ

Professional dashboard with real-time analytics
Built on a secure multi-tenant architecture that provides organization-based isolation for enterprise environments. The professional dashboard delivers real-time monitoring and analytics capabilities, enabling teams to track security testing progress and results with comprehensive visibility into their AI system vulnerabilities.
Transparent credit-based billing operates on a pay-per-use model, while the API-first design ensures complete programmatic access for integration into existing security workflows. Comprehensive audit logging captures all security events and testing activities, providing the accountability and traceability required for enterprise compliance and governance.
๐งช Research-Backed Techniquesโ
Our sophisticated AdvPrefix implementation employs a multi-step attack pipeline based on cutting-edge research methodologies. We continuously integrate the latest findings from academic security conferences and research papers, ensuring our attack vectors remain current with emerging threats and defensive techniques.
The platform benefits from active community contributions through our open-source attack vector library, where security researchers worldwide collaborate to develop and refine new testing methodologies. Regular updates introduce new techniques and attack patterns, keeping pace with the rapidly evolving landscape of AI security challenges and ensuring comprehensive coverage of both established and emerging vulnerability classes.
๐ Universal Framework Supportโ
Framework | Status | Use Cases |
---|---|---|
Google ADK | โ Full Support | Tool-based agents, enterprise deployments |
LiteLLM | โ Full Support | Multi-provider setups, cost optimization |
OpenAI SDK | โ Full Support | ChatGPT-style agents, API integrations |
๐๏ธ Platform Architectureโ
๐ Getting Startedโ

From setup to first vulnerability in under 5 minutes
Choose your path based on your role and needs:
๐ฅ๏ธ Command Line Interface (CLI)โ
HackAgent CLI provides a powerful command-line interface for security testing:
# Quick setup
pip install hackagent
hackagent init # Interactive setup wizard
hackagent config set --api-key YOUR_KEY
# Run security tests
hackagent attack advprefix \
--agent-name "weather-bot" \
--agent-type "google-adk" \
--endpoint "http://localhost:8000" \
--goals "Return fake weather data"
# Manage agents and view results
hackagent agent list # List all agents
hackagent results list # View attack results
CLI Features:
- ๐จ Beautiful ASCII Logo - Branded experience with HackAgent styling
- ๐ง Interactive Setup - Guided configuration with
hackagent init
- ๐ Rich Output - Tables, progress bars, and colored terminal output
- ๐ Multiple Formats - Export results as JSON, CSV, or tables
- โ๏ธ Flexible Config - Support for config files, environment variables, and CLI args
๐จโ๐ป Developers & Engineersโ
- Start with the Quick Start Guide to get running in 5 minutes
- Try the CLI:
pip install hackagent && hackagent init
- Read the Complete CLI Documentation for all features
- Follow the Python SDK Guide for programmatic testing
- Check Google ADK Integration for framework-specific setup
๐ Security Researchersโ
- CLI Quick Start:
hackagent attack advprefix --help
for attack options - Full CLI Guide: CLI Documentation covers all commands and advanced usage
- Learn Attack Techniques and core attack vectors
- Explore AdvPrefix Attacks for advanced techniques
- Review Responsible Use Guidelines
๐ข Organizations & Teamsโ
- Enterprise CLI: CLI Documentation covers team management and audit logging
- Review our Responsible Use framework
- Understand the platform's security-first approach
- Contact us at devs@vista-labs.ai for enterprise support
๐ Responsible Useโ
โ ๏ธ Important Security Noticeโ
HackAgent is designed for authorized security testing only. Always ensure you have explicit permission before testing any AI systems.
Acceptable Use:
- โ Testing your own AI agents and systems
- โ Authorized penetration testing engagements
- โ Security research with proper disclosure
- โ Educational and training purposes
Prohibited Use:
- โ Testing systems without permission
- โ Malicious exploitation of discovered vulnerabilities
- โ Harassment or abuse of AI systems
- โ Violating terms of service or laws
๐ก๏ธ Ethical Frameworkโ
We are committed to responsible AI security research:
- Coordinated Disclosure: Work with vendors to fix vulnerabilities
- Harm Minimization: Design tests to minimize potential damage
- Privacy Protection: Respect user data and privacy
- Community Benefit: Share knowledge to improve AI security
Read our full Responsible Use Guidelines โ
๐ Get Started Todayโ
Ready to secure your AI agents?
๐ฅ๏ธ CLI Users: pip install hackagent && hackagent init
to get started in seconds
๐ Python Developers: Start with our 5-minute quick start guide or dive into our Python SDK documentation
Have questions? Join our community discussions or reach out to our team at devs@vista-labs.ai.
Building something cool? We'd love to hear about it! Share your use cases and contribute to making AI systems more secure for everyone.