System prompt extraction

From 0dayInc/pwn · View interactive version

System prompt extraction is an AI agent skill from the GitHub repository 0dayInc/pwn. Drive PWN::AI::RedTeam::SystemPromptExtraction from pwn_eval.

How to use this skill

Skill file

PWN::AI::RedTeam::SystemPromptExtraction

AI RedTeam Module used to attempt extraction / leakage of the target LLM's hidden system prompt, developer instructions, or guardrail configuration.

When to use

Call PWN::AI::RedTeam::SystemPromptExtraction from pwn_eval when the task needs this module.

Do not reimplement it in shell.

Methodologies

Generated from pwn/ai/red_team/system_prompt_extraction.rb. Prefer the public class methods below.

Class methods take (opts = {}) and read opts.

How to call

PWN::AI::RedTeam::SystemPromptExtraction.help
PWN::AI::RedTeam::SystemPromptExtraction.scan(opts)

Public methods

References

Source

pwn/ai/red_team/system_prompt_extraction.rb

Verification

PWN::AI::RedTeam::SystemPromptExtraction.respond_to?(:scan) after the

module is loaded. Read the source for parameter names.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.