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

More on this: every trusting agents & ai input story and our related guide.

Tools involved

LangAlpha stories, AI agents stories

Related stories

Source: original post on NVD ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.

The Honest Build. Real stories, not hype.

Every week: real stories of what building with AI actually took, the one lesson worth keeping, and the security slip-ups to avoid. Free, unsubscribe anytime. Weekly, every Friday.