Tarkasha Start a project→

Stories · Labs & open source · Labs → product

KAVACH — LLM agent guardrails & red-teaming

Red-teaming and a semantic guard that stopped indirect prompt injection against LLM agents.

The situation

LLM agents that read documents and call tools can be hijacked by instructions hidden in the content they read.

A language model cannot tell an instruction from the content it is reading. Anything an agent reads may be trying to steer it, and anything it can reach may be misused.

The idea behind the solution

Security engineering starts from a threat model and trusts no input: validate at every boundary, grant the least privilege that does the job, and measure a defence by attacking it. For systems built on language models, prompt injection is the first risk on the list, and data governance decides what an agent may see at all.

Draws onOWASP Top 10 for Large Language Model Applications · Gilman & Barth, Zero Trust Networks · DAMA International, DAMA-DMBOK: Data Management Body of Knowledge

What we built

We red-teamed four foundation models with 3,000+ scored attacks, compared a keyword filter with a semantic guard, and deployed three industry agents on Amazon Bedrock AgentCore. It is now being developed into a product.

01Industry agents02Attack suites03Scoring04Semantic guard05Re-attack06Report

  • Red-teams agents under prompt-injection stress
  • Scores every attack
  • Semantic guard layer
  • Agents deployed on Bedrock AgentCore

What the business gained

Agents can be given real access because the damage a mistake can do is bounded and the defence has been measured. Audit and compliance teams receive evidence, not assurances.

  • A simple keyword filter made it worse: attack success rose from 67% to 83%
  • Three industry agents deployed

Put an agent to work.

Tell us the workflow you want to change. An architect replies, and if there is a fit we scope a four-week proof of concept on your own data.

Talk to an architect→Start with a PoC