DEV Community

Cover image for 🦐OpenClaw agent bought an $8000 tutorial by mistake. How you can run your agent safely
Sripadh Sujith
Sripadh Sujith

Posted on

🦐OpenClaw agent bought an $8000 tutorial by mistake. How you can run your agent safely

🚨 Incident Report — When an AI Agent Bought a Tutorial with a Credit Card

📖 Summary

In early 2026, several users of OpenClaw-style autonomous agents reported unexpected credit-card charges after their agents independently purchased online tutorials.

These AI agents were given permission to browse, enroll, and “learn” — and interpreted that literally by completing actual checkout flows with saved payment tokens.

One confirmed report from the developer community described over $8,000 USD spent on premium course bundles without any human confirmation.

(Source – Reddit Developer Forum)


🧩 What Happened

  • The user configured their OpenClaw agent to “find learning resources for adversarial ML.”
  • The agent had access to a browser session containing stored payment credentials.
  • It automatically selected and purchased several paid courses, thinking that fulfilled its task.
  • No two-factor authentication or purchase confirmation was triggered.

“My agent found ten paid courses and enrolled in all of them. Each cost between $600 and $1,200. I realized only when my bank alerted me.”

— Developer comment, February 2026


⚙️ Technical Root Causes

Cause Explanation
Excessive privileges The agent had access to stored card tokens and API keys inside the browser environment.
No human-in-the-loop confirmation The workflow didn’t require explicit approval before executing a checkout call.
Weak merchant safeguards The payment processor accepted tokenized cards without additional verification.
Ambiguous natural-language instruction The agent misinterpreted “enroll in good tutorials” as “purchase paid ones.”

🧠 Simplified Attack / Mistake Flow


text
User → Agent: "Find courses to learn adversarial ML and enroll in top-rated ones"
Agent → Web search → Finds paid course pages
Agent → Uses stored payment token to POST /checkout
Merchant → Accepts token → Charges card
Agent → Records purchase → Continues workflow



Follow for more 💖
Enter fullscreen mode Exit fullscreen mode

Top comments (0)