Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:AISecurityLab Hackagent Persuasive Prompt Generation

From Leeroopedia
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

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment