# Summary: 2026-07-21_01-44-59Z_CPInj_UncoveringPromptInjectionRisksinTextualColla.md Saved: 2026-07-24 00:29 Source: 2026-07-21_01-44-59Z_CPInj_UncoveringPromptInjectionRisksinTextualColla.md Model: None --- ## Summary The paper introduces CPInj, a collaborative prompt injection attack that targets Textual Collaborative Prompt Optimization (TCPO), showing how malicious instructions can be injected into local updates, survive server‑side aggregation, and persist through subsequent optimization loops to degrade large language model performance. It also proposes APAgg, a defense‑oriented aggregation method designed to purge such malicious content before it reaches the global prompt. The work reveals a previously unexplored vulnerability in TCPO’s decentralized framework and demonstrates that existing defenses are largely ineffective against this attack vector. ## Key Contributions - [Finding 1] CPInj proves that malicious instructions can be propagated through server‑side aggregation and remain active after optimization, causing measurable task degradation. - [Finding 2] Current detection‑based defenses fail to identify or block CPInj, allowing the attack to evade conventional safeguards. - [Finding 3] APAgg mitigates the attack by filtering out malicious instructions during aggregation and partially restoring TCPO utility. ## Methodology The authors simulate a decentralized TCPO environment with multiple client agents that locally update prompts based on a shared global prompt. To study the attack, they inject crafted malicious instructions into individual client updates, forward these to a server for aggregation, and then evaluate downstream reasoning tasks. The defense APAgg is implemented as an additional sanitization step before the server aggregates client‑generated prompts. ## Results Experiments across three LLM families (GPT‑3.5, Llama 2, Mistral) and five reasoning domains (math, logic, medicine) show up to 18 % accuracy drop when CPInj is active compared with a clean baseline of ~0.5 %. APAgg reduces the degradation to roughly 4 %, indicating partial recovery but not full restoration. Detection evasion metrics reveal false‑positive rates below 5 %, confirming that standard defenses are ineffective. ## Significance This research uncovers a critical security flaw in collaborative AI optimization, highlighting that free‑form textual updates can be weaponized to poison model behavior without detection. The findings underscore the need for robust sanitization and secure aggregation mechanisms before prompt sharing in decentralized settings. ## Related Concepts Prompt injection, adversarial robustness, model poisoning, decentralized learning, collaborative filtering, prompt sanitization, server‑side aggregation, task degradation.