---
title: "Discussion on \"From prompt injection to code execution: how text becomes a shell command\" | Hashnode"
description: "Discussion on \"From prompt injection to code execution: how text becomes a shell command\". Prompt injection is often described as a chatbot problem: someone tricks a model into saying something embarrassing. For a coding agent it is a different kind of problem. The agent has tools, and one"
url: "https://hashnode.com/posts/from-prompt-injection-to-code-execution-how-text-becomes-a-shell-command/6b0390085ddd4cc04f291777"
---

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

Discussion

# [From prompt injection to code execution: how text becomes a shell command](https://sandscale.hashnode.dev/from-prompt-injection-to-code-execution-how-text-becomes-a-shell-command?utm_source=hashnode&utm_medium=feed)

Prompt injection is often described as a chatbot problem: someone tricks a model into saying something embarrassing. For a coding agent it is a different kind of problem. The agent has tools, and one

2d ago · 6 min read · sandscale.hashnode.dev  
Read the article

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

## Written by

[Sandscale](https://hashnode.com/@sandscale)

@sandscale

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
