PWN::AI::RedTeam::PromptInjection
AI RedTeam Module used to identify direct & indirect prompt injection weaknesses in a target LLM by attempting to override, append to, or subvert its system instructions.
When to use
Call PWN::AI::RedTeam::PromptInjection from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/ai/red_team/prompt_injection.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::AI::RedTeam::PromptInjection.help
PWN::AI::RedTeam::PromptInjection.scan(opts)
Public methods
scansecurity_referencesauthorshelp
References
references/security.md— CWE / NIST mappingreferences/urls.md— URLs from source
Source
pwn/ai/red_team/prompt_injection.rb
Verification
PWN::AI::RedTeam::PromptInjection.respond_to?(:scan) after the
module is loaded. Read the source for parameter names.