Skip to content
Align your AI

The problem space · Agents · Data leakage

Align your AI Agents against data leakage

The keys and messages that agents hold can leak through the software around them, not only through the model.

Agents
models that act in steps
Data leakage
private data going where it should not

Ways it goes wrong

Agents hold keys, messages and personal data, and these can leak through the software around them, not only through the model. Moltbook's web page carried a database key, and with it anyone could read the whole database1. The sandbox handed its keys to whoever sent it the right instructions2.

What people do about it

Anthropic's threat team urges treating AI keys and agent integrations as seriously as production credentials2. Wiz notes that the database service Moltbook used relies on access rules for each table, which were missing1.

  • Treat AI keys as production credentials

    Stores, scopes and rotates agent and model keys with the same care as database passwords.

  • Keep real credentials out of sandboxes

    Runs evaluation and training sandboxes with no production keys inside them.

  • Set access rules on every table

    Sets access rules on the tables behind an agent app, meant to limit what a key exposed in a web page can read.

Where we touch it

No study of ours covers this pair yet.

Sources

  1. Wiz, “Hacking Moltbook: The AI Social Network Any Human Can Control”, 2026-02-02. https://www.wiz.io/blog/exposed-moltbook-database-reveals-millions-of-api-keys. Accessed 2026-10-14. ↩ ↩2

  2. Anthropic, “Detecting and countering misuse of AI: September 2026”. https://www.anthropic.com/threat-intelligence-report-september-2026. Accessed 2026-10-14. ↩ ↩2