1. Library
  2. Governance & Safety

Video

A Prompt Is Not a Security Control — My Take on Safer Agent Tool Calling

23:33 618 views

About this video

AI Governance & Guardrails | Free notes, slides & related videos: resources.nachiketh.in/videos/a-prompt-is-not-a-security-control-my-take-on-safer-agent-tool-calling/

🚀 Move Beyond AI Demos. Ship Production-Ready Agentic AI Systems.

I’m Nachiketh. I help experienced technology professionals move beyond AI demos and build production-ready AI systems — without losing the value of their existing experience.

If you’re already comfortable with the basics and want to go deeper into how Agentic AI systems are actually engineered for production, start here:

🔥 Agentic AI Enterprise Mastery Bootcamp

Go beyond building agents that work in a notebook.

Learn how to engineer Agentic AI systems with:

• Agent harness engineering
• State, context, and memory
• Tools, MCP, and gateway patterns
• Reliability, retries, queues, and idempotency
• AI evals and production quality gates
• Observability and AgentOps
• Security and threat modeling
• Deployment and production architecture
• Enterprise-scale architectural trade-offs

Systems ship. Demos don’t.

👉 manifoldailearning.com/services/agenticaibootcamp

🎯 Preparing for Agentic AI Interviews?

Learn how to explain agents, RAG, tools, memory, evals, and production trade-offs with the depth expected from experienced engineers.

👉 manifoldailearning.com/services/agentic-interview?utm_source=ytlong

🏗️ Want to Think Like an AI Architect?

Learn AI system design, architecture decisions, reliability, trade-offs, and production thinking — so you can explain not just what you would build, but why.

👉 manifoldailearning.com/services/ai-system-design?utm_source=ytlong

🚀 Move Beyond AI Demos. Ship a Production-Ready Agentic AI System.
Download free 30 Day Study Guide here -
tools.nachiketh.com/free-resources?resource=30-day-readiness-plan

Join the Community:
community.nachiketh.in

This one is my opinion, not a neutral survey — so take it as that.

Over the past year I've looked at a lot of agentic systems going into enterprises, and I keep seeing the same gap. Teams put enormous effort into making their agents capable, and very little into deciding what those agents should actually be allowed to do.

And when it goes wrong, it usually doesn't look like a breach. It looks like a refund issued twice. An email sent to the wrong list. A record updated at 2am that nobody asked for. No alarm, no stack trace — just an agent doing exactly what it was asked, by something that shouldn't have been asking.

So here's the position I've landed on, and the controls I'd argue for.

🔑 THE REFRAME
The model never executes anything. Your code does. The model only *proposes* a tool call — which means every safety property of your system lives on your side of that boundary, not in the prompt. That shifts the question from "can I trust the model?" (unanswerable) to "what am I willing to execute on its behalf?" — which is an authorization question we've been answering for thirty years.

My position: treat the model as an untrusted client. Not hostile, not broken — untrusted in exactly the way a browser is untrusted.

⚠️ WHY I'M FIRM ABOUT THIS
Retrieved documents, tool outputs and web pages all land in the context window right next to your instructions. That makes the model's proposed tool call influenced by untrusted input by construction. In a chatbot, prompt injection gets you embarrassing text. In an agent with tools, it's a privilege escalation vector.

Which is why I'd argue that "never refund over $500 without approval" sitting in a system prompt is not a control. It's a policy statement addressed to a probabilistic system that also reads untrusted input.

🛠️ THE SIX CONTROLS I'D ARGUE FOR
1. Narrow the tool surface — no generic executors, no run_sql, no shell
2. Classify by blast radius, not by department
3. Borrow the user's identity — never give the agent the union of everyone's permissions
4. Validate arguments at the boundary — model output is form input
5. Gate the irreversible — show the diff, and gate precisely (approval fatigue is real)
6. Make it evidential — idempotency, budget caps, replayable audit, kill switch

Plus the architectural point I care most about: one gateway, every tool call, no exceptions.

📊 ALSO IN THIS VIDEO
• A trust-boundary diagram of where a tool call actually gets decided
• How prompt injection turns into privilege escalation, step by step
• The blast-radius classification I'd use
• A reference architecture for a tool gateway
• A maturity ladder — and why I think Level 2 is a launch concern, not a scaling concern

I'll say this plainly: almost none of this is novel, and that's the whole point. This isn't really an AI safety problem. It's an engineering discipline problem, and the discipline already exists. If you're an experienced engineer, you're not starting from nothing here.

What this video covers

Free slides, patterns & interview prepJoin the community →