pyrit
https://github.com/azure/pyrit
Python
The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and engineers to proactively identify risks in generative AI systems.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported3 Subscribers
Add a CodeTriage badge to pyrit
Help out
- Issues
- Normalize SeedPrompt file extension detection
- Resolve config-relative paths from the config file directory
- Reject explicit empty objectives in batch scoring
- Deduplicate message pieces before batch scoring
- Preserve user message structure in generic system squash
- Preserve empty responses in prompt normalizer batches
- Validate explicit empty field overrides in attack executor
- Preserve roles when converting messages to seed prompts
- Ignore imported initializer classes in script discovery
- Preserve tool and developer roles in conversation context
- Docs
- Python not yet supported