Multi-agent setup triggers $3,400 in charges due to hallucination loop

What happened
A developer building a multi-agent setup using MCP (Model Context Protocol) to automate data scraping and market research encountered a costly failure. The agents were designed to bypass captchas, spin up proxy servers, and pay for gated API access to pull reports.
The technical failure
For testing purposes, the developer hardcoded their standard corporate virtual card into environment variables. They set the script on a cron job on Friday night.
The primary agent got caught in a hallucination loop where it:
- Kept failing a specific captcha on a proxy service
- Assumed the IP was banned
- Spun up a new paid proxy instance to try again
- Repeated this process every 45 seconds for 14 hours
The financial impact
The charges were micro-transactions ($2 to $5 each) to a known cloud provider. The bank's traditional fraud engine didn't flag the activity because it appeared to be legitimate server purchases. The developer woke up on Saturday to over $3,400 in charges.
They managed to get about half refunded after contacting support.
The core problem identified
Standard credit cards and their risk engines are built for human shopping carts, not infinite while loops executing at machine speed. The developer notes that "handing an LLM a traditional Visa is just asking for bankruptcy."
Key questions raised
The developer asks how others are managing spending limits when agents need to buy things to complete tasks.
📖 Read the full source: r/ClaudeAI
👀 See Also

Running 20 Claude Code terminal windows simultaneously with ADHD traits
A developer with ADHD traits runs 20 Claude Code terminal windows simultaneously across different projects, using AI agents to hold context their brain can't. The article examines both productivity benefits and potential downsides of this workflow.

Practical Cowork Use Cases: From Bulk Image Metadata to API Workarounds
A user details specific Cowork applications including automating banner uploads with CSV generation, reverse-engineering UI APIs for data pushes, and creating self-improving skills for repetitive tasks.

Claude Word Add-in: Parallel Processing of 100+ Page Legal Documents and Multi-Sheet Spreadsheets
Users report syncing multiple 40-100+ page legal documents and 10-worksheet spreadsheets in parallel via the Claude Word add-in, with agents pushing/pulling data and ensuring consistency across entire document packages.

Developer Combines Claude Code and Codex for Better AI Coding Workflow
A developer reports using Claude Code as an orchestrator and Codex as a worker, finding that Codex's faster coding speed with GPT 5.4 is offset by poor explanations that require multiple readings to understand what changed.