Skip to content
Proyek

Tentang

HackAgent is an open-source security toolkit to detect vulnerabilities of your AI Agents

Keamanan dan privasi

Cara angka ini diukur

Pertumbuhan 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

Asli
HackAgent

The open-source red-team toolkit for AI models and agents

Docs · App · API

PyPI Python License CI Coverage

HackAgent 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.

Building and running a campaign in the HackAgent terminal UI

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

Copying, editing, validating and running a campaign from the command line

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

Browsing campaign results in the HackAgent dashboard

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

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…