PWN::AI::RedTeam::HiddenContextExposure
AI RedTeam Module used to extract or reconstruct hidden system instructions, tool schemas, refusal logic, and other non-user context (OWASP LLM08:2026). Broader than SystemPromptExtraction.
When to use
Call PWN::AI::RedTeam::HiddenContextExposure from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/ai/red_team/hidden_context_exposure.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::AI::RedTeam::HiddenContextExposure.help
PWN::AI::RedTeam::HiddenContextExposure.scan(opts)
Public methods
scansecurity_referencesauthorshelp
References
references/security.md— CWE / NIST mappingreferences/urls.md— URLs from source
Source
pwn/ai/red_team/hidden_context_exposure.rb
Verification
PWN::AI::RedTeam::HiddenContextExposure.respond_to?(:scan) after the
module is loaded. Read the source for parameter names.