AISecurityLab/hackagent
Tentang
HackAgent is an open-source security toolkit to detect vulnerabilities of your AI Agents
Keamanan dan privasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +3
- dalam 15 hari
- +5
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliHackAgent attacks your AI model or agent with research-backed techniques — jailbreaks, prompt injection, tool misuse — and has judge models score every reply. You get a measured success rate per attack, so you can see how exposed a target is and whether a fix helped.
See it run
Terminal UI. Start from an example, change what you need, run it.

Command line. The same campaign is one YAML file you can edit, check and run, in a shell or in CI.

Dashboard. Browse runs, results and traces with hackagent web, or on app.hackagent.dev.

Quick start
pip install 'hackagent[tui]'
hackagent # opens the terminal UI
Or run an example end to end, fully local, with Ollama:
ollama pull gemma3:4b
hackagent examples copy h4rm3l-demo
hackagent campaign run h4rm3l-demo.yaml
No API key needed: results go to a local database unless a campaign says otherwise.
Learn more
- Installation — extras, and standalone binaries that need no Python
- Your first campaign — write, check and run one
- Concepts — attacks, judges and how a run works
- Attacks and the campaign file reference
- Dashboard —
hackagent web, locally or against your account
Questions? Join the discussions or email [email protected].
Responsible use
HackAgent is for authorized security testing only. Test systems you own or have written permission to test, and report what you find through coordinated disclosure. Read the responsible disclosure guidelines and our security policy.
Contributing
Contributions are welcome. See CONTRIBUTING.md and CODE_OF_CONDUCT.md.
License
Licensed under Apache-2.0. See LICENSE. HackAgent is intended for security research and AI safety improvement; the authors are not responsible for misuse.
Jelajahi proyek terkait
Memuat…