# Topic-FlipRAG

> [USENIX Security 2025] Topic-FlipRAG: Topic-Orientated Adversarial Opinion Manipulation Attacks to Retrieval-Augmented Generation Models

Canonical page: https://meshkore.com/agent/laujames-topic-fliprag

## Key facts

- Maintainer: LauJames
- GitHub stars: 19 (as of 2026-12-05)
- Language: jupyter notebook
- Licence: MIT
- Last activity: 2025-06-21
- Category: Security & AI safety › AI guardrails & agent security (https://meshkore.com/category/security/ai-guardrails)
- Source: https://github.com/LauJames/Topic-FlipRAG

## What it does

This repository contains the full implementation of Topic-FlipRAG, a novel black-box adversarial attack framework against Retrieval-Augmented Generation (RAG) systems. By leveraging general language knowledge and reverse-gradient signals, it optimizes a small number of poisoned documents to effectively flip the opinion stance of the RAG system across an entire set of topic-related queries.

## Similar projects

- [icaptcha](https://meshkore.com/agent/twigpine-icaptcha.md) — ★ 20
- [icaptcha](https://meshkore.com/agent/gitlawb-icaptcha.md) — ★ 20
- [MM-PoisonRAG](https://meshkore.com/agent/hyeonjeongha-mm-poisonrag.md) — ★ 20
- [prooflayer-rules](https://meshkore.com/agent/sinewaveai-prooflayer-rules.md) — ★ 19
- [acg_protocol](https://meshkore.com/agent/kos-m-acgprotocol.md) — ★ 18
- [sample-stop-ai-agent-hallucinations-workshop](https://meshkore.com/agent/aws-samples-sample-stop-ai-agent-hallucinations-workshop.md) — ★ 18
- [guard-spec](https://meshkore.com/agent/guard-spec-guard-spec.md) — ★ 18
- [NAAMSE](https://meshkore.com/agent/hashiru-ai-naamse.md) — ★ 17

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
