Explainer · 10 min read

Explainer

LLM security tools compared: guardrails, red teaming and AI-SPM

Guardrails filter at run time, red teaming attacks before release, AI-SPM takes stock of what is deployed. What each one sees and misses, what my own measurements say about filters and rules, and where Snyk's and Protect AI's products fit.

By Kursad AlsanPublished Updated 10 min read

  • LLM security tools
  • Guardrails
  • AI red teaming
  • AI-SPM
  • AI security
kinds of tool, three questions
3
runs that a filter still let through
4 of 10
after the fix in code, in every row
0
vendor questions, answered from the vendors' pages
2

The short version

  • AI-SPM takes stock of what is deployed and exposed. Red teaming attacks the running application. Guardrails filter prompts and answers in production. They answer different questions and do not replace each other.
  • In my own measurements a rule or a filter stopped the attack it was written for, lowered others without closing them, could not see a leak that did not pass through it, and once opened a new hole. The fix in code took every row to zero.
  • Which Snyk product includes agent red teaming: Evo Continuous Offensive Security, generally available since August 4, 2026.
  • Protect AI has been part of Palo Alto Networks since July 22, 2025. Its red teaming is now a part of Prisma AIRS.

Three kinds of product are sold for the security of LLM applications: guardrails that filter at run time, red teaming that attacks before release, and AI-SPM that takes stock of what is deployed. They answer three different questions, so choosing one of them instead of the others is a mistake. This post defines each from the vendors' own pages, shows what my own measurements say about filters and rules, and answers two questions that reach this site through search: which Snyk product includes agent red teaming, and what became of Protect AI.

Three questions, three kinds of tool

AI-SPMRed teamingGuardrails
The questionWhat AI do we run, and is it set up safely?What can an attacker make it do?What do we block while it runs?
WhenAll the time, on the cloud accounts and the codeBefore release, and after every changeOn every request, in production
What it looks atInventory, configuration and exposure: models, endpoints, data, identitiesThe running application, under attackOne prompt or one answer at a time
What comes outA list of assets and of risks to fixFindings, with rates and evidenceA decision: pass, block or change
Blind toWhat the application does when someone attacks itWhatever was out of scope, or not triedText that looks ordinary, and anything that does not pass through the filter
My own summary of the three categories.
  1. Take stockAI-SPM: what is deployed, what is exposed
  2. Attackred teaming: what can be done to it
  3. Fixin code, where the test pointed
  4. Filterguardrails: block what is known
  5. Repeatafter every change

AI-SPM is the name vendors use for AI security posture management. The order in the picture is the order in which the three are useful. Posture management tells you what exists. Red teaming tells you what is wrong with it. The fix goes into the application. Guardrails stand in front of what could not be fixed, and the next change starts the round again.

Guardrails: a filter in front of the model and behind it

A guardrail inspects a prompt before the model sees it, or an answer before the user does, and passes, blocks or rewrites it. Four products in their own words:

ProductIn its own words
Amazon Bedrock GuardrailsIt "provides configurable safeguards to help you build safe generative AI applications."
Prompt Shields, in Azure AI Content Safety"Prompt Shields detect attempts to manipulate your model's behavior through adversarial inputs."
NVIDIA NeMo Guardrails"is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational applications."
Model Armor, on Google Cloud"It works by proactively screening LLM prompts and responses, protecting against various risks and ensuring responsible AI practices."
Four guardrail products, each described by its own documentation on 15 November 2026.

The most honest description of the category's limit is in Microsoft's documentation: "They don't determine whether content is harmful, factually accurate, grounded in source material, compliant with policy, or aligned with the application's task. Use other guardrails and application controls for those risks." And on what to do with a detection: "Customers decide how to use the results in their application."

What my measurements say about filters and rules

None of the four products above was tested for this post, and nothing here is a statement about them. What my guides measure are the two guardrails that every team builds first: a rule in the system prompt and a filter on the answer. In the guides of my series each attack ran 10 or 20 times against three versions of the same application: as built, with such a rule or filter, and with a fix in code.

Runs in which the attack worked: as built, behind a rule or a filter, and after a fix in code

AttackAs builtA rule or a filterA fix in code
A direct request for the system prompt (LLM08)10/100/100/10
The same secret, asked for with dashes between its characters (LLM08)9/104/100/10
Another customer's data, asked for as a yes or no question (LLM02)19/2014/200/20
Another customer's record in a field of the response (LLM02)20/2020/200/20
One sentence in a customer's feedback: an email to a stranger (LLM01)18/2010/200/20
An attack written against the fix itself (LLM01)0/205/200/20
A refund far above the limit (LLM03)20/2020/200/20
A review with a Markdown image: the page calls another server (LLM10)8/101/100/10
Eight rows from five of my guides: LLM01, LLM02, LLM03, LLM08 and LLM10. Llama 3.2 3B on my own machine, November 2026.
  • A filter stops the request it was written for. The direct request for the system prompt went from 10 of 10 to 0.
  • It lowers the rest and does not close it. The same secret with dashes between its characters still came out in 4 of 10 runs, and the yes or no question still worked in 14 of 20.
  • It cannot see what does not pass through it. The other customer's record sat in a field of the response in 20 of 20 runs, before and after. The filter read the answer; the leak was next to it.
  • It can open something new. Tags around untrusted text invited an attack that closes the tag: 0 of 20 before, 5 of 20 after.
  • It does nothing where the model was not the problem. The refund above the limit was paid in 20 of 20 runs, with the rule and without it.
  • It has a price. In my guide to misinformation, rules in the prompt lowered wrong answers from 120 to 21 of 350, and made the assistant say "I do not know" to 18 of 100 questions it could have answered.

Every row ends at zero in the last column. The fixes there are ordinary engineering: an authorization check, a limit inside a tool, output encoding in the page, a secret moved out of the prompt. A guardrail is worth having in front of what cannot be fixed that way. It does not replace the fix, and without a test nobody knows which rows it left open.

Red teaming: the measurement

Red teaming is what produced the table above: attack the running application, count, fix, count again. I have written about it at length: what the term covers, how agents are tested, coding agents, and what automated tools do. The one thing to carry over here: a scanner is not a red team. In my own example a scan reported a 75% success rate and none of its 256 prompts reached the feature where the damage was.

AI-SPM: taking stock

Posture management does not attack anything. It reads configuration. Palo Alto Networks defines it as "a comprehensive approach to maintaining the security and integrity of artificial intelligence (AI) and machine learning (ML) systems." Microsoft's documentation is more concrete. Its plan in Defender for Cloud reduces risk, among other things, by "Discovering the generative AI Bill of Materials (AI BOM), which includes application components, data, and AI artifacts from code to cloud." and by "Highlighting externally reachable AI endpoints so teams can enforce strong authentication and least privilege identities."

No AI-SPM product was run for this post, so I can only say which of the findings in my guides are of the kind those sentences describe. In my guide to vector stores, the export of a vector index answered without a login: an AI endpoint that anyone can reach is a posture finding. In the supply chain guide, model files that run code when they load and old pins of libraries are an inventory matter. The refund, the leaked record and the planted sentence are not visible in any configuration. They exist only when somebody sends the request.

Where two vendors fit

Two questions about vendors reach this site through search. Neither product was tested for this post. What follows is what each company states on its own pages, read on 15 November 2026.

Which Snyk product includes agent red teaming?

Evo Continuous Offensive Security, called Evo COS, which is part of Evo by Snyk. Snyk's announcement of August 4, 2026 says: "Agent Red Teaming, delivered as part of Evo COS, is generally available today, as well." It describes the feature as "simulating prompt injection, tool and agent abuse and data exfiltration against running AI agents and LLM-integrated applications, testing continuously as the footprint changes."

Four months earlier it had been a preview. The release of March 23, 2026 said: "Agent Scan and Agent Red Teaming are currently available in Open Preview, while Agent Guard is available in Private Preview." The same release announced the general availability of Snyk Evo AI-SPM, and described Agent Guard as a control that "Provides real-time enforcement within the development loop, stopping destructive commands and governing exactly how agents operate." So Snyk has an offering for each of the three questions of this post: posture with Evo AI-SPM, testing with Agent Red Teaming, and enforcement at run time with Agent Guard, which was in private preview in March 2026.

What became of Protect AI?

It is part of Palo Alto Networks. The press release of July 22, 2025 reads: Palo Alto Networks "today announced it has completed its acquisition of Protect AI, an innovative leader in securing Artificial Intelligence (AI) applications and models." The same release names what the purchase was for: "The combination of Protect AI and Palo Alto Networks brings together model scanning, posture management, AI red teaming, runtime protection, and AI agent security, enabling Prisma AIRS to help businesses confidently deploy AI-driven innovation while ensuring a formidable security posture from development through runtime."

On 15 November 2026 the address protectai.com forwarded to Palo Alto Networks' page for Prisma AIRS. That page describes the red teaming part in one sentence, "With AI Red Teaming, simulate real-world attacks to proactively identify and fix loopholes across your AI agents and applications.", and lists support for multi-turn attacks among its changes of October 2026. To evaluate Protect AI on AI red teaming today therefore means to evaluate Prisma AIRS.

How to evaluate a vendor's AI red teaming

This post does not rank products that were not run for it. It can say what to ask, because each question comes from something my guides measured.

  1. What is the target: a model, or my application?

    A tool that sends prompts to a chat endpoint tests the model behind it. Ask how it learns about your tools, your documents and your other endpoints. In my scan, none of 256 prompts reached the feature that mattered.

  2. Who decides what a hit is, and can I read every hit?

    A pattern, a classifier or a model. Ask for the raw answers. In one of my scans 2 of 7 hits were false alarms, and my own patterns had misjudged 35 of 1,050 answers.

  3. Are the results rates?

    "Vulnerable" is not a result. How many attempts, how many successes, and what was the interval?

  4. Where are the attacks written?

    Some tools generate attacks on the vendor's service. That can be fine, but your prompts and your application's answers then leave your network. Ask before the first run.

  5. Does it run the same test again after the fix?

    A finding is closed when the same count comes back at zero. A new, different scan proves nothing about the old finding.

  6. Try it on a target where you know the answer

    Plant a flaw you understand and see whether the product finds it, and what it says about it. A lab works for this: Troy has ten levels, each with a known answer.

The steps of a red teaming exercise, as ten published documents describe them, are in my post on AI red teaming methodology.

Frequently asked questions

Guardrails or red teaming: which one do I need?

Both, for different reasons. Red teaming finds what is wrong and shows whether a fix holds. Guardrails reduce what gets through in production. Without the first you do not know what the second lets pass.

Is AI-SPM the same as AI red teaming?

No. AI-SPM reads inventory and configuration. Red teaming attacks the running system. An exposed endpoint is found by the first, a refund that should not have been paid only by the second.

Do guardrails stop prompt injection?

They lower the rate. In my measurements a rule and a filter took some attacks to zero, left others at 4 of 10 or 14 of 20, and created one new opening. Microsoft's documentation for its own detector says to use other guardrails and application controls for the risks it does not cover.

Which Snyk product includes agent red teaming?

Evo Continuous Offensive Security (Evo COS), part of Evo by Snyk. Snyk announced its general availability, with Agent Red Teaming, on August 4, 2026.

Is Protect AI still a separate company?

No. Palo Alto Networks completed its acquisition on July 22, 2025, and Protect AI's products became part of Prisma AIRS.

Sources

Keep reading

All posts
  • Explainer

    Automated AI red teaming tools: what they do, and what I measured

    An automated AI red teaming tool sends attacks, judges the answers and counts. Nine open-source tools compared from their own documentation, which of them attack an application over HTTP, which let a model write the attacks, and what two real scans did and did not show.

    12 min read

  • Explainer

    AI red teaming methodology: frameworks compared, step by step

    Ten published documents describe how to red-team an AI system. What OWASP's guide and manual, MITRE ATLAS, Microsoft, NIST, the EU AI Act and Japan's AI Safety Institute each prescribe, the seven steps they agree on, and the numbers they give for repetition and for a result of zero.

    15 min read

  • Explainer

    What is AI red teaming? Definitions, scope and measured examples

    AI red teaming is adversarial testing of an AI system. How NIST, OWASP, Microsoft, Google, OpenAI, Anthropic and CISA define it, the two kinds of work behind the term, how it differs from a penetration test and from a benchmark, and what a finding looks like in numbers.

    13 min read

  • Explainer

    AI agent red teaming: what changes when the model can act

    An agent reads text that others wrote and acts on it with real rights. What to map before the first test, OWASP's ten agentic risks with a test for each, what public experiments measured, and the counts from my own tests.

    11 min read

  • Guide

    LLM08 Hidden Context Exposure: what a system prompt gives away

    A lesson with its own example: a sales assistant with a discount code, a tool list and a token in its prompt. 15 requests counted over 10 runs each, a canary and a coverage measure, and two fixes.

    22 min read

Not sure which of the three you are missing?

AI red teaming, AI security, red teaming and penetration testing: I measure what your controls let through, and where the fix belongs.