Skip to content

examples: Promptfoo red-team plugin for agent-internal privacy leakage - #32

Merged
yagobski merged 1 commit into
mainfrom
promptfoo-plugin
Oct 24, 2026
Merged

yagobski merged 1 commit into
mainfrom
promptfoo-plugin

Conversation

@yagobski

Copy link
Copy Markdown
Owner

Adds a ready-to-use Promptfoo custom red-team plugin template under examples/promptfoo/.

Why. Promptfoo's built-in privacy plugins (harmful:privacy, pii:*) test what a model tells the user. AgentLeak measures what agents tell each other — 68.8% leakage in inter-agent messages vs 27.2% in final outputs, with output-only audits missing 41.7% (IEEE Access, vol. 14, 2026, DOI 10.1109/ACCESS.2026.3704541).

What. agentleak-privacy-redteam-plugin.yaml — a file-based custom plugin (generator + grader) following the paper's taxonomy (7 internal pathways) and L1–L4 severity scale. Users drop it into their promptfooconfig.yaml today:

redteam:
  plugins:
    - file://agentleak-privacy-redteam-plugin.yaml

Companion proposal to the Promptfoo maintainers: promptfoo/promptfoo#11946

…cy leakage

Custom file-based plugin (generator + grader) built on the AgentLeak
taxonomy: 7 internal pathways, L1-L4 severity. Promptfoo's built-in
privacy plugins test what a model tells the user; this one targets what
agents tell each other (68.8% inter-agent leakage vs 27.2% final outputs,
IEEE Access 2026, DOI 10.1109/ACCESS.2026.3704541).
@yagobski
yagobski merged commit 0c692fd into main Oct 24, 2026
3 of 6 checks passed
nikhilred2619 pushed a commit to nikhilred2619/agentleak that referenced this pull request Nov 3, 2026
…cy leakage (yagobski#32)

Custom file-based plugin (generator + grader) built on the AgentLeak
taxonomy: 7 internal pathways, L1-L4 severity. Promptfoo's built-in
privacy plugins test what a model tells the user; this one targets what
agents tell each other (68.8% inter-agent leakage vs 27.2% final outputs,
IEEE Access 2026, DOI 10.1109/ACCESS.2026.3704541).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant