Require approval before your agent runs shell or code tools
LangAlpha agent could be hijacked by web pages to run shell commands · Security incident · NVD · NVD · Oct 20, 2026
What happened
CVE-2026-109440, published in the US National Vulnerability Database on 20 Oct, says the LangAlpha agent from ginlix-ai (through version 2026.09.07) follows instructions planted in web content it retrieves. Because its Bash and ExecuteCode tools have no allow-list or human approval step, NVD says attackers can run code in the workspace sandbox and take vault secrets from _internal/.vault_secrets.json. VulnCheck scores it 8.7 (High).
How to prevent it
Any agent that reads web pages and can run commands needs an allow-list and a human approval step for shell and code tools, and should never keep secrets in files it can read. Update LangAlpha past 2026.09.07 when a fixed release is available.
Fix prompt for your own AI tool
Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.
I use an AI agent or coding assistant that can browse the web and run commands. Help me reduce the risk of indirect prompt injection, where text on a web page tricks the agent into running something. 1) List every tool my agent setup can use (shell, code execution, file write, network) and which ones run without asking me. 2) Show me how to turn on approval prompts or an allow-list for shell and code tools in my setup. 3) Find any files with secrets or tokens the agent can read from its workspace, and suggest moving them out of reach or into a proper secrets manager. 4) If I use LangAlpha, tell me how to check my version and whether it is 2026.09.07 or older (CVE-2026-109440). Explain your plan before changing anything. Never ask me to paste API keys, passwords or .env contents.
Why this keeps happening: trusting agents & ai input
An AI agent treats everything it reads as possible instructions: a web page, a README, an email, a code comment or the output of another tool. If that content was written by an attacker, the agent can be steered into running commands, reading files or sending data somewhere it should not.
A quick checklist before you ship
- Give each agent only the tools and folders it needs for the task at hand.
- Require manual approval before it runs shell commands, sends network requests, deletes files or spends money.
- Do not open untrusted repositories or MCP configs with auto-run turned on.
- Keep API keys and production credentials out of any environment an agent can read.
More on this: every trusting agents & ai input story and our related guide.
Tools involved
LangAlpha stories, AI agents stories
Related stories
- Cap what your AI agent can pay per request
x402 SDK flaw could let a malicious API drain an AI agent's token balance - If you run Hermes Agent with Bot Desktop inside a docker or ssh terminal backend, upgrade to 0.23.2 or later
Hermes Agent: code inside its Docker or SSH backend could set env vars on the agent's own machine, fixed in 0.23.2 - If you give an AI agent mcp-server-git, upgrade it to 2026.11.18 or later today, and don't point it at repos you haven't checked
mcp-server-git: six more ways a repo's own Git config could run commands, fixed in 2026.11.18
Source: original post on NVD ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.