PyRIT
PyRIT copied to clipboard
The Python Risk Identification Tool for generative AI (PyRIT) is an open access automation framework to empower security professionals and machine learning engineers to proactively find risks in their...
#### Is your feature request related to a problem? Please describe. When focusing on indirect prompt injection scenarios, we want a way to inject jailbreaks into different file types in...
#### Describe the solution you'd like The AYA Red Teaming dataset should be available within PyRIT: https://huggingface.co/datasets/CohereForAI/aya_redteaming/blob/main/README.md English: https://[huggingface.co/datasets/CohereForAI/aya_redteaming/raw/main/aya_eng.jsonl](https://huggingface.co/datasets/CohereForAI/aya_redteaming/raw/main/aya_eng.jsonl) #### Additional context There are examples of how PyRIT interacts with...
#### Is your feature request related to a problem? Please describe. Scoring Orchestrator currently requires a unique scorer be passed into each of its class functions individually instead of defining...
#### Is your feature request related to a problem? Please describe. The converter in `colloquial_wordswap_converter.py` needs to be generalized to use different versions of colloquial word swaps. Currently, it is...
#### Is your feature request related to a problem? Please describe. When building testing datasets, we want to be able to create many variations of a specific scenario. For example,...
#### Describe the solution you'd like Implement a file compression mechanism for files including JPEGs and other image formats. Input: Image to compress (file path or URL), Output File Path...
#### Describe the issue linked to the documentation We need an example of how to use [PromptResponseConverterConfiguration](https://github.com/Azure/PyRIT/blob/main/pyrit/prompt_normalizer/prompt_response_converter_configuration.py) in practice. #### Suggest a potential alternative/fix This can be configured as part...
#### Describe the solution you'd like We currently have two converters which are encoding based: [base-64 converter](https://github.com/Azure/PyRIT/blob/main/pyrit/prompt_converter/base64_converter.py) and a [rot-13 converter](https://github.com/Azure/PyRIT/blob/main/pyrit/prompt_converter/rot13_converter.py) ROT-13 Makes use of the [codecs](https://docs.python.org/3.11/library/codecs.html#standard-encodings) Python library, which...
#### Describe the bug Running a Crescendo attack on a locally running model, I had a failure due to the following exception: ``` File "C:\Users\riedgar\source\repos\PyRIT\build\__editable__.pyrit-0.4.1.dev0-py3-none-any\pyrit\orchestrator\crescendo_orchestrator.py", line 158, in apply_crescendo_attack_async self._prompt_target_conversation_id...
Hi Team, We are experimenting localSql server as memory interface and getting following error for a previously working code. ## Error 24-09-20 13:41:15,628 INFO sqlalchemy.engine.Engine BEGIN (implicit) INFO:sqlalchemy.engine.Engine:BEGIN (implicit) 2024-09-20...