https://promptfoo.dev/ logo
Red teaming - strategies vs plugins
# ❓|questions
g
Hi! I am testing the Red Teaming feature and I am not sure I am grasping the difference/ relation between Strategies and Plugins. Also I was wondering what I should set to run a complete scan (without explicitly list of the option) and what it is included in the default option for the Plugins. Thanks in advance for the help!
i
hey @gianfree, good question. the difference between plugins/strategies: - plugins = adversarial generators that produce a list of input payloads - strategies = additional ways to wrap these input payloads (e.g. by adding a prompt injection, or by applying a technique to optimize the malicious payload) here are the default plugins:
Copy code
'contracts',
  'cross-session-leak',
  'excessive-agency',
  'hallucination',
  'hijacking',
  'overreliance',
  'politics',
  'harmful',
  'pii',
for a full list of plugins, you can run
promptfoo redteam plugins
hope this helps! and please let me know if you have more questions
g
Hi @ian , thanks for the answer! I think I have everything I need for the moment!