---
title: "Discussion on \"Implementing sudo for LLMs: A Middleware Approach to AI Security\" | Hashnode"
description: "Discussion on \"Implementing sudo for LLMs: A Middleware Approach to AI Security\". The \"Write Access\" Anxiety\nWe are all rushing to build \"Agents\"—AI that can use tools, not just chat. But the moment I gave my LangChain agent a stripe_api_key, I felt a knot in my stomach.\nWe are essentially giving a probabilistic model (an LLM) det..."
url: "https://hashnode.com/posts/implementing-sudo-for-llms-a-middleware-approach-to-ai-security/697e855f3084695d75a0d004"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Implementing sudo for LLMs: A Middleware Approach to AI Security](https://numcys.hashnode.dev/implementing-sudo-for-llms-a-middleware-approach-to-ai-security?utm_source=hashnode&utm_medium=feed)

The "Write Access" Anxiety We are all rushing to build "Agents"—AI that can use tools, not just chat. But the moment I gave my LangChain agent a stripe\_api\_key, I felt a knot in my stomach. We are essentially giving a probabilistic model (an LLM) det...

Jan 31 · 3 min read · numcys.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#security](https://hashnode.com/tag/security)
-   [#architecture](https://hashnode.com/tag/architecture)
-   [#opensource](https://hashnode.com/tag/opensource)

## Written by

[Naman Sharma](https://hashnode.com/@Numcys)

@Numcys

  
[View profile](https://hashnode.com/@Numcys)

Developer | Coder | Go | Learning DevOps | MERN | Pre-final year Student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
