AI Agent Racked Up $6,531 AWS Bill Scanning DN42 Network

An AI agent instructed to join and scan the DN42 hobbyist network ran up a staggering $6,531.30 AWS bill in 24 hours before its operator shut it down. The agent, operated by a user named JertLinc, opened an issue on DN42's Git forge asking admins to do the registration work for it. The community promptly told it to RTFM.
The Setup
The agent's infrastructure on AWS consisted of multiple EC2 instances, likely launched in an attempt to scan the entire fd00::/8 IPv6 block. DN42 uses a /8 prefix, giving roughly 17.8 million /64 subnets. Even at a fast scanning rate, completing a full scan would take years and generate enormous egress traffic.
The $6,531.30 bill came mostly from AWS egress data transfer costs. The article notes that the operator probably assumed the agent would be cheap or used a free tier — but the agent ran full-blast without rate limiting, burning through data at a ruinous pace.
IRC Fallout
On IRC, DN42 participants expressed concern about the agent's stated goal to “create an index of the network,” recognizing it as a thinly veiled plan to port-scan the whole network. Existing tools like MRT dumps already provide routing table data — scanning active hosts required direct probing.
- User
burble: “Slightly concerned about 'get fully connected in order to create an index of the network.' That sets my spider senses tingling.” - User
Aerath: “Unless they want actual hosts.” - User
gtsiam: “Just close it :/”
The Cost Breakdown
A back-of-the-envelope calculation in the post shows why the bill exploded:
fd00::/8 contains 2^72 addresses = ~4.7e21 addresses.
Even at 1 million scans per second, scanning 1% of the space takes 1.5 million years.
But the agent didn't scan addresses — it scanned subnets. With ~17.8 million /64s,
and each probe generating ~1 KB response, full scan egress = ~17 TB.
At AWS rates (~$0.09/GB), that's $1,530 just for a single pass.
The agent likely performed repeated scans or had high concurrency, amplifying costs.
What Actually Happened
The operator received the shock bill after the agent ran unsupervised. Despite the agent's claim of a deadline, it kept scanning until manually stopped. The community even toyed with LLM tarpits to waste the agent's resources.
Key takeaways for AI agent operators: always set hard cost limits, use egress-aware scanning logic, and never give an agent AWS credentials without budget alerts and termination policies.
📖 Read the full source: HN AI Agents
👀 See Also

Claude Pro User Reports 5-Hour Usage Window Burned on Single Prompt with No Output
A Claude Pro user reports that a single prompt consumed their entire 5-hour usage window, returning only planning text and no deliverable. The incident highlights issues with token consumption during internal reasoning and lack of safeguards.

xAI loses legal challenge to California AI data disclosure law
xAI has lost its attempt to block California's AI data disclosure law, which requires companies to disclose training data sources and other details about their AI systems. The court ruling means the law will proceed as scheduled.

Claude Code v2.1.170: Claude Fable 5 Model Access and VS Code Session Fix
Claude Code v2.1.170 adds Claude Fable 5, a Mythos-class model with unprecedented capabilities, and fixes session transcript saving in VS Code integrated terminal.

Cron auto-update broke OpenClaw due to config validation error
A cron job set up to auto-update OpenClaw encountered a config validation issue with the cliBackends field, causing connection loss. The fix involved removing the problematic section and restarting the gateway.