Dev.to AI 🤖 Ai 👁 0 📖 3 min read

Your free AI credits are someone's inventory. Here's a cheap signup defense

If your product gives new accounts free AI credits, you're handing out real GPU money at the door. People noticed. This week Perplexity published a postmortem on an autonomous agent that probed their systems for weeks, a

If your product gives new accounts free AI credits, you're handing out real GPU money at the door. People noticed. This week Perplexity published a postmortem on an autonomous agent that probed their systems for weeks, and one detail stood out: whenever a rate limit kicked in, it simply made a fresh signup. Perplexity tied those accounts together through shared IPs and disposable email domains.

That's the pattern for most free-tier abuse, just less dramatic. One person, a script, a temp-mail site, and your onboarding grant multiplied by fifty.

Here's the order we'd put defenses in, cheapest first. None of it needs a card wall.

1. Check the email before the account exists

Most farmed accounts use addresses that are obviously throwaway once you look:

  • classic temp-mail providers (mailinator, yopmail, 10minutemail and thousands of lesser-known ones)
  • burner domains that are brand new, but point their MX record at a known throwaway mail server
  • "inbox for your AI agent" services, which hand out real, working inboxes in bulk and aren't on older blocklists
  • domains with no mail server at all

A static blocklist from GitHub catches the first group. It misses the rest, and the list goes stale within weeks. At minimum, do an MX lookup and compare the mail hosts against known disposable providers, not just the domain name.

2. One free grant per inbox, not per address

Gmail ignores dots and everything after +. These are all the same inbox:

Normalize before you check for an existing account: lowercase, strip +tag, and for Gmail drop the dots and map googlemail.com to gmail.com. Store the normalized form (or a hash of it) and grant free credits once per normalized inbox. This one change kills a surprising share of repeat signups.

3. Watch for runs, not just single addresses

Farms sign up in batches: promo101@, promo102@, promo103@ within an hour, or five "different people" from the same tiny domain in ten minutes. A single check can't see that. Keep a short window of recent signups and flag near-identical local parts or bursts from one small domain. Ignore big providers here, or you'll flag half of Gmail.

4. Make the free grant small until first real use

Give enough credits to see value, then top up after a real action (a project created, an API call from a real integration). Farmers want the grant, not the product, so a delayed second grant costs real users almost nothing and halves what each fake account is worth.

5. Card only for the big tier

If you still need a card check, put it in front of the expensive tier, not the trial. Most abuse should already be gone by step 2.

A minimal version in Node

function normalize(email) {
  let [local, domain] = email.trim().toLowerCase().split('@');
  local = local.split('+')[0];
  if (domain === 'googlemail.com') domain = 'gmail.com';
  if (domain === 'gmail.com') local = local.replace(/\./g, '');
  return `${local}@${domain}`;
}

// at signup
const key = normalize(email);
if (await db.freeGrantExists(key)) grantCredits(user, 0);
else { await db.recordFreeGrant(key); grantCredits(user, STARTER_CREDITS); }

Pair that with an MX lookup and a disposable-provider check and you've covered most of it.

Disclosure

We build Letterlint, which does steps 1 to 3 in one API call (action: allow | review | block with a reason). It has 100 free checks and is pay-once after that. But everything above works without it, and the normalization trick alone is worth adding today.

What's worked for you? We'd like to hear what people are seeing in their signup logs this year, especially from the agent-inbox services.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.