AgentDrift: A benchmark for step-level labeling of injection hijacking in LLM agent trajectoriesAgentDrift: A Step-Labeled Benchmark of Injection-Hijacked LLM Agent Trajectories
The authors release AgentDrift, a benchmark containing 12,536 synthetic tool-call trajectories covering five agent domains, with 71,024 steps each labeled as one of four categories: benign, injection point, hijacked, or injection failure. The corpus contains 4,000 benign, 5,536 attacked, 1,500 failed-attack, and 1,500 hard-negative trajectories; attacked trajectories follow three compliance patterns whose label strings conform to a given regular grammar; failed attacks preserve injections resisted by the agent, and hard negatives are legitimate content resembling attacks, requiring detectors to distinguish attempts from successes and deviations from novelty. Trajectories are generated by a single open-source model under category-specific protocols, constrained by a closed-vocabulary structural validator, filtered by an LLM judge, and manually audited on 1,200 trajectories; the authors note that the LLM judge itself is fooled by hard negatives.