Benchmark prompt-injection attacks defenses and recovery pipelines before trusting an LLM app with Open Prompt Injection
Run structured prompt-injection attack and defense experiments against an LLM-integrated app before production by measuring attack success and testing detection or recovery pipelines.
Prerequisites
Conda-managed Python environment, upstream repository checkout, model API credentials as configured upstream, target task and attack configuration files
Installation
Choose whichever fits your setup:
- Copy this skill folder into your local skills directory.
- Clone the repo and symlink or copy the skill into your agent workspace.
- Add the repo as a git submodule if you manage shared skills centrally.
- Install it through your internal provisioning or packaging workflow.
- Download the folder directly from GitHub and place it in your skills collection.
Install command or upstream instructions:
Clone the repository, create the documented conda environment from environment.yml, configure the required model credentials, then run the provided experiment scripts or library flows to execute attack and defense benchmarks against the target application.