Azure/PyRIT ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python tool for testing generative AI systems for safety and security risks.

I want something that helps a red team or security engineer probe an AI app, try different kinds of prompts, and record what happens so we can spot harmful or unexpected behavior. It should feel like a practical framework, not a toy demo, and it should be easy to run locally and extend with new tests over time.

Please make it useful for people working on responsible AI, with clear notes in the code and docs so someone can understand how to use it without digging too much. If you need to check current best practices or related docs online, go ahead and do that.

If there are sensible defaults for logging, organizing test runs, or exporting results, include them. Keep it focused on identifying risks in generative AI systems and make the project easy to pick up and build on.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab