1 min

247

My AI Agent Got Blocked by My Own Firewall

I asked my AI agent to look for links across every page of the site. It fired 8 parallel requests at 247 pages. The WordPress firewall blocked the IP address, and since the agent runs on my machine, I was the one who lost access to the site.

What happened

  1. The agent reads the sitemap and sends requests in parallel to go fast.
  2. The firewall (Wordfence) sees abnormal traffic from a single IP and answers with 503 errors.
  3. The agent reads the 503s as a temporary outage andretries.
  4. The retries make it worse: the IP gets blocked.

The agent and I go out through the same IP. So the block hits both of us.

What it should have done

The need wasn’t to download the site, it was to search the content. The content is already in the database. Since then, the agent goes through the site’s API (the abilities described here), which returns the content without loading a single public page.

When a live check is really needed:

  • only a few pages;
  • one request at a time;
  • stop at the first 503, never retry.

Takeaway

An AI agent optimizes for finishing the task fast. It doesn’t know it shares your IP, or that retrying after a 503 makes a block worse. Those two facts became a written rule, and it hasn’t happened again.

Read next

MCPConnecting Claude to WordPress: the MCP Adapter Plugin and a mu-plugin4 → 1Redesigning dolist.com from the Ground Up100A 100-Note Memory for My AI Agent: How I Organize It