AISecurityLab/hackagent
Sobre
HackAgent is an open-source security toolkit to detect vulnerabilities of your AI Agents
Segurança e privacidadeCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +3
- em 15 dias
- +5
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalHackAgent 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.
Explore projetos relacionados
Carregando…