AI agents read web pages, error reports and packages, and they act on what they read. Attackers have noticed. These incidents were reported this year:
- A fake error report: a security team showed that one fake Sentry error could steer AI coding agents into running attacker code (Vibe Coding Weekly #36).
- A web page with hidden instructions: a researcher got an indirect prompt injection past Claude Code’s Auto Mode about 80% of the time in his tests, starting from a request to summarise a web page; Anthropic shipped fixes the same week (Vibe Coding Weekly #46).
- A hijacked assistant session: Mandiant described an attacker who took over an AI assistant session, which recommended a poisoned package; a worm then spread across about 100 internal repositories (Vibe Coding Weekly #49).
- Stolen AI keys: after a breach at Railway, unauthorised AI spend reached about $740,000, by the company’s own report (Vibe Coding Weekly #55).
Details are as reported by the researchers and companies involved and summarised by Vibe Coding Weekly.
Habits that protect your site
- Treat anything the AI reads as untrusted: web pages, emails, error reports, form submissions. Instructions inside them are not instructions from you.
- Check new packages and plugins before installing, even when the AI recommends them. Mandiant’s advice: verify against checksums or an allowlist.
- Keep long-lived credentials away from agents. Use application passwords you can revoke, and secrets that are injected rather than pasted.
- Put a spending limit on every AI key.
- Least privilege: the AI’s WordPress user gets only the access the job needs.
- Approve risky actions: installs, deletions and anything that sends data out.
Related: Claude Security and WordPress and Agent Guardrails and Permissions.

