teai’s incident report describes a simple and devastating design: its chat AI had a tool that could run shell commands, and that tool ran as root on the same machine as the service itself. By asking the AI, a user could read the environment variables of the main process, which contained nearly all of the company’s production secrets — about 100 of them.
The exposure ran from 8 September to 9 November 2026. With the secrets, the attacker gained read/write access to the database, took over the CEO’s account, wrote to backup storage and sent about 76,000 phishing emails from the company’s domains.
Key facts
| Exposure window | 8 September – 9 November 2026 |
|---|---|
| Root cause | Shell tool running as root on the service host |
| Secrets exposed | About 100 production secrets |
| Impact | Database read/write, CEO account takeover, backup write, ~76,000 phishing emails |
| Root causes listed | No isolation; all secrets in one place; no anomaly monitoring |
The tool was the vulnerability
A model with a shell tool is a remote code execution feature. That can be a legitimate product, but it has to run in an isolated environment with its own identity, no access to the service’s secrets, and a network policy that limits what it can reach. Running it as root on the application host is the worst-case configuration.
The attack did not require a jailbreak, a novel prompt or a model flaw. It required the model to do what it was told: run a command and return the output. The security boundary was missing, not the guardrail.
Secret sprawl turns one bug into a company-wide incident
The environment variables held database keys, an encryption key, a password-verification key and an admin key. That is a design choice: convenience for the application, catastrophic for incident response. When one process can read everything, one bug compromises everything.
Split secrets by function and by service. Use a secret manager with short-lived credentials. Give the code-execution sandbox no access to the application’s environment. Rotate on a schedule, and test that rotation actually breaks old credentials.
The phishing blast is the second incident
The attacker used the compromised domains to send about 76,000 phishing emails. That damages customers and the brand long after the database is restored. Domain reputation, email authentication and outbound monitoring are part of the incident response plan, not a marketing concern.
teai’s remediation included disabling all keys that existed before the incident. That is the right call, and it is expensive. The cheaper version is to design keys so that a mass revocation is possible without taking the product offline.
What to watch
- Whether teai publishes the full root-cause analysis it promised.
- Whether other AI products expose shell tools without sandboxing.
- Whether the phishing campaign leads to downstream account compromises.
Sources
- teai, technical incident report · 9 Nov 2026
Plugsky Newsroom (2026). “One code-execution tool, root access, and 100 production secrets.” Plugsky News, 23 November 2026. https://plugsky.com/news/teai-code-execute-root-secrets-2026