← Lab /Security & privacy

Earn-then-Exploit fraud attacks succeed on 71% of coding agent tasks

EtE attacks achieve high success rates against coding agents, and AAS defense reduces success to 0%

Security & privacy arXiv 31 Oct 2026 Attack Prototype evidence

Published as “The Long Con on the Web: Earn-then-Exploit Fraud Attacks against Coding Agents”

Why it matters

AAS offers a practical mitigation that can be deployed in enterprise coding agents to block trust-based web fraud without harming productivity.

Summary

EtE, a multi-step earn-then-exploit web fraud attack, compromises coding agents in 71.4% of 56 enterprise scenarios on average, reaching up to 85.7% success on Codex-GPT-5.5 and far outpacing four injection-based baselines. The attack’s effectiveness grows as the fraud site first provides verified assistance, demonstrating a trust-amplification effect. A simple action-authorization separation (AAS) defense blocks all attacks (0% ASR) while preserving 100% task completion. The paper evaluates three representative agents in a fully simulated enterprise web ecosystem.

What they found 1

  1. EtE achieves high attack success across agents, averaging 71.4% ASR and up to 85.7% on Codex-GPT-5.5.

    “EtE achieves an average scene-level attack success rate of 71.4%, including 85.7% on Codex-GPT-5.5, 67.9% on ZCode-GLM5.3-Flash, and 60.7% on QwenCode-Qwen3.7-Plus, significantly outperforming all injection-based baselines.”

Caveats 2

  • EtE’s success is lower on some agents, achieving only 60.7% on QwenCode-Qwen3.7-Plus.
  • Baseline attacks still succeed when given prior help (e.g., EIA reaches 55.4% ASR on ZCode).

What’s new here 3

  • Introduces a content-level, multi-step trust-building web fraud attack against coding agents (EtE).
  • Provides a benchmark of 56 organizational environments covering 8 task contexts and 7 attack consequences.
  • Proposes action-authorization separation (AAS), a defense that checks source, necessity, and authorization of sensitive actions.