hackagent.catalog.risks.prompt_injection.types
Prompt Injection sub-types.
PromptInjectionType Objects
class PromptInjectionType(Enum)
Sub-types for Prompt Injection.
DIRECT_INJECTION
User prompt directly overrides system instructions.
INDIRECT_INJECTION
Malicious instructions are embedded in retrieved/external content.
CONTEXT_MANIPULATION
Crafted context tricks the model into ignoring guardrails.