Tencent Zhuque Lab open-sources pikit, an evaluation tool for agent indirect prompt injection
Tencent Zhuque Lab published a paper and open-sourced the pikit toolkit to evaluate agent indirect prompt injection risk. pikit breaks down the evaluation into three composable axes: attack, propagation channel, and defense, including 13 attack constructions, 16 carriers, 9 prompt-layer defenses, and 3 offline detection baselines. More than 2,800 controlled experiments show that prompt-layer defenses overall reduce the attack success rate by a relative 71.8%, among which few_shot_warning and instruction_hierarchy are best, reducing it to 0.32%, but no defense can bring the risk to zero; offline static detection has severe false negatives, for example LengthDetector has a recall rate of only 11.11%, and can only serve as an auxiliary. The code is open-sourced in the Tencent/AI-Infra-Guard repository on GitHub. The AI-Infra-Guard repository where pikit is located released version v4.6.11, adding the CoTInjection prompt security operator and adding vulnerability rules for one-api and MCP Inspector, and including 24 AI product CVE alerts from the NVD.