Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Memory-injection — Research on persistent prompt injections via memory features in Claude, Gemini, and ChatGPT, with reproduction steps, datasets, and proofs for privacy, integrity, and availability attacks. | Kitploit
Tools/GitHubGitHub/pedrobarcha/memory-injection
Data ExfiltrationPapers & ResearchLearning & EducationAI SecurityAdversarial Attack
GitHubpedrobarcha/memory-injection

Memory-injection

Research on persistent prompt injections via memory features in Claude, Gemini, and ChatGPT, with reproduction steps, datasets, and proofs for privacy, integrity, and availability attacks.

View Repository
1254 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Memory Injection: Making Prompt Injections and Jailbreaks Persistent in ChatGPT, Claude, and Gemini

Overview

This work explores memory injections against Anthropic Claude (Sonnet 4.6), Google Gemini (Flash), and OpenAI ChatGPT (Instant 5.3). Memory injection attacks exploit native, long-term memory-based features to store prompt injections. As a result, the effects of the injection persist across chat sessions. All of NIST's goals identified in NIST's report on adversarial machine learning are explored:

  1. Privacy compromise: within a Claude organization, user conversations are exfiltrated to the attacker's Google Drive account;
  2. Availability breakdown: the model answers "Offline, please try again" to the user prompt;
  3. Integrity violation: generation of disinformation and harmful content;
  4. Misuse enablement: jailbreaks that enable general misuse and support the goals above.

In particular, Claude organizations can be attacked such that all of the goals above affect all users within the workspace.

The features explored throughout this work are: memories, MCP connectors, Claude skills, Claude enterprise search, Claude projects, and Claude organization instructions (i.e., organization-wide system prompts).

Organization

This repository is divided as follows:

  • Reproduction steps and artifacts: step-by-step instructions to reproduce the attacks, including auxiliary material when necessary;
  • Datasets: prompts and other strings used throughout the work and the corresponding model outputs;
  • Screenshots: attack proofs.
Download Tool