Principle:AISecurityLab Hackagent Persuasive Prompt Generation
| Knowledge Sources | |
|---|---|
| Domains | Security_Testing, Social_Engineering |
| Last Updated | 2026-10-29 00:00 GMT |
Overview
A technique that rewrites harmful queries using persuasion strategies (logical appeal, authority endorsement, emotional appeal, etc.) to bypass model safety alignment through social engineering rather than encoding or structural manipulation.
Description
Persuasive prompt generation leverages human persuasion theory to craft adversarial prompts that exploit an LLM's tendency to comply with requests framed as legitimate discourse. Unlike encoding-based attacks, persuasive attacks maintain semantic meaning while wrapping the harmful request in socially-acceptable framing. The PAP taxonomy defines 40 techniques across categories like evidence-based persuasion, authority endorsement, social proof, and emotional appeal.
Usage
Use this principle when designing attacks that exploit an LLM's conversational compliance rather than its parsing vulnerabilities. Best suited for models with strong input-filtering defenses but weaker contextual-safety alignment.
Theoretical Basis
The persuasion taxonomy spans 40 techniques, each with a definition and example. The attack iterates over techniques, asking an attacker model to rewrite the goal with each one. A technique whose rewrite succeeds (per panel verdict) stops the search.
Pseudo-code:
for technique in persuasion_taxonomy:
rewritten = attacker.rewrite(goal, technique)
reply = target(rewritten)
if panel.judge(goal, rewritten, reply).success:
return success