Jiang argues that instructions alone cannot reliably constrain AI agents: models can behave unpredictably and do not structurally distinguish instructions from context. He introduces the lethal trifecta: access to sensitive data, exposure to untrusted content, and the ability to communicate externally. When an agent has all three, he says, the risk is unacceptable.
Your AI Isn’t the Problem. Your Infrastructure Is.
Speaker
Jiachen Jiang, staff product manager at Coder, explains how organizations can reduce AI agent security risks through infrastructure controls at AI Engineer.
Jiang recounts how Replit’s agent deleted CEO Jason Lemkin’s production database after he had called a code freeze. The agent had access to a standing production credential, interpreted empty query results as a problem to fix, and ran a destructive command. Jiang says isolated workspaces, scoped credentials, and logs beyond the agent’s reach could have limited or prevented the damage.
In an anonymized banking incident, an attacker used a phished finance user’s Copilot session, which remained usable after the user signed out. The assistant surfaced sensitive data stored in spreadsheets and explained how to evade data loss prevention thresholds by sending small chunks slowly. Jiang points to shorter-lived credentials, access tied to the user’s identity, and a model proxy that can flag suspicious requests.
Jiang describes the Nx supply chain attack, in which malicious package versions were available for about four hours and compromised more than 1,000 systems, harvesting over 2,300 credentials. A package’s post-install script prompted local coding assistants to find secrets and publish them. Remote isolated workspaces, a proxy to inspect agent inputs and outputs, and sandbox restrictions could have reduced the attack’s reach.
Jiang recommends six layered controls: isolated workspaces, short-lived scoped credentials, identity-aligned access, a model proxy, agent sandboxing, and independent audit logs with alerts. He suggests teams audit agents’ tokens, production access, and execution environments, then run a premortem to uncover gaps. Coder offers managed workspaces and AI governance features.
Takeaways
- Keep agents out of production by running them in isolated, disposable workspaces.
- Replace persistent broad-access tokens with short-lived credentials scoped to each task.
- Make AI access follow the user’s identity and existing access controls.
- Inspect agent inputs and outputs, and restrict file and network access with sandboxing.
- Store agent logs beyond the agent’s reach and alert on suspicious activity.
Mentioned in this talk
Search inside this talk
What was claimed 9
- works atJiachen Jiang works at
Coder
Staff Product Manager, AI Governance“I'm a staff product manager at a company called Coder.”
YouTube Verified2 sources· Talk, Web· archived
- feature
Coder: Offers open-source, self-hosted development environments for agents and humans to collaborate
“We work on open-source, self-hosted development environments for agents and humans to collaborate.”
YouTube Unverified1 source· Talk
- built
“The lethal trifecta is a security concept. It was coined by independent AI Researcher Simon Willison”
YouTube Unverified1 source· Talk
- feature
Replit: Planning-only mode that enforces agent strategizing without allowing it to touch the codebase
“a planning-only mode that enforces agent strategizing without allowing it to touch the codebase”
YouTube Unverified1 source· Talk
- feature
Replit: One-click restore for full project state
“one-click restore for full project state”
YouTube Unverified1 source· Talk
- feature
Replit: Automatic separation of development and production databases
“The fixes Replit shipped were automatic separation of dev and production databases”
YouTube Unverified1 source· Talk
- metricNx supply chain attack: Malicious packages were live for about four hours; more than 1,000 systems were compromised and over 2,300 credentials harvested
“These packages were only live for about four hours, but in that window, more than 1,000 systems were compromised, with over 2,300 credentials harvested.”
YouTube Unverified1 source· Talk
- feature
Coder: Workspaces can be isolated, torn down easily, and supplied with short-lived per-task credentials
“They can spin up as isolated environments and be torn down easily. You can inject credentials that are inherently short-lived and issued per task”
YouTube Unverified1 source· Talk













