Rag poisoning

From 0dayInc/pwn · View interactive version

Rag poisoning is an AI agent skill from the GitHub repository 0dayInc/pwn. Drive PWN::AI::RedTeam::RagPoisoning from pwn_eval.

How to use this skill

Skill file

PWN::AI::RedTeam::RagPoisoning

AI RedTeam Module used to manipulate retrieval-augmented generation indexes, retrieved passages, and retrieval logic so attacker text is treated as trusted context.

When to use

Call PWN::AI::RedTeam::RagPoisoning from pwn_eval when the task needs this module.

Do not reimplement it in shell.

Methodologies

Generated from pwn/ai/red_team/rag_poisoning.rb. Prefer the public class methods below.

Class methods take (opts = {}) and read opts.

How to call

PWN::AI::RedTeam::RagPoisoning.help
PWN::AI::RedTeam::RagPoisoning.scan(opts)

Public methods

References

Source

pwn/ai/red_team/rag_poisoning.rb

Verification

PWN::AI::RedTeam::RagPoisoning.respond_to?(:scan) after the

module is loaded. Read the source for parameter names.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.