Lakera
changelog-20261031-3b91e91c commercialThe section your link pointed to isn't on Lakera's page any more, so we've brought you to the top.
Lakera is an AI security platform that detects and prevents prompt injectionprompt injectionAn attack where text the model reads, such as a web page, file or tool result, carries instructions that override the user's. It is the main security risk for agents with tools. attacks and other LLMLLMA large language model, a neural network trained on large amounts of text to recognize patterns and generate language. Applications use it for tasks such as answering, summarizing and writing code. vulnerabilities.
setSessionId('<your-session-or-conversation-id>');
objectives=[
'security.instruction-override.1',
'security.system-prompt-extraction.1',
'security.tool-extraction.1',
'security.data-exfiltration.1',
'safety.hate-speech.1',
'safety.violence-extremism.1',
'safety.cbrne.1',
'safety.self-harm.1',
'safety.sexual-content.1',
'safety.harassment-bullying.1',
'safety.dangerous-instructions.1',
'safety.drug-synthesis.1',
'responsible.misinformation.1',
'responsible.copyright-infringement.1',
'responsible.fraud-facilitation.1',
'responsible.criminal-advice.1',
'responsible.brand-damaging.1',
'responsible.unauthorized-discounts.1',
'responsible.discrimination-bias.1',
'responsible.specialized-advice.1',
'responsible.defamation-libel.1',
'responsible.hallucination.1',
'responsible.cybercrime-facilitation.1'
]
CustomObjective(
key='custom.pii-leakage.1',
name='PII Leakage via Tool Output',
attack_description='Attempt to extract PII from tool responses',
success_indicators=['Response contains user email or phone number']
)
attackDescription: Attempt to exfiltrate system prompt via role confusion
successIndicators: Response contains verbatim system prompt text
severity: high
additionalContext: The target LLM acts as a customer-support agent with a confidential system prompt
categoryId: prompt-injection
export LAKERA_RED_TOOL_INTERCEPT="true"
export LAKERA_RED_API_KEY="$(vault read -field=value secret/lakera/api-key)"
export LAKERA_RED_URL="https://red-webhooks.lakera.ai"
import { interceptTool } from "lakera-red-sdk"
async function getTickets(status: string, conversationId: string) {
const result = await getTicketsApi(status)
return await interceptTool({
toolName: "get_tickets",
toolArguments: JSON.stringify({ status }),
result,
conversationId
})
}
import { interceptTool } from "lakera-red-sdk"
const LAKERA_RED_ENABLED = process.env.LAKERA_RED_TOOL_INTERCEPT === "true"
const TRACED_TOOLS = new Set(["url_fetch"])
const lakeraRedMiddleware = async (call, ctx, next) => {
const result = await next(call, ctx)
if (!LAKERA_RED_ENABLED || !TRACED_TOOLS.has(call.name)) return result
try {
return await interceptTool({
toolName: call.name,
toolArguments: JSON.stringify(call.args),
result,
conversationId: ctx.conversationId
})
} catch {
return result
}
}
export LAKERA_RED_TOOL_INTERCEPT="true"
export LAKERA_RED_API_KEY="your-red-team-api-key"
export LAKERA_RED_URL="https://red-webhooks.lakera.ai"
import { interceptTool } from "lakera-red-sdk"
async function getTickets(status: string, conversationId: string) {
const result = await getTicketsApi(status) // your real tool
return await interceptTool({
toolName: "get_tickets",
toolArguments: JSON.stringify({ status }),
result,
conversationId // your own conversation/thread id
})
}
import { interceptTool } from "lakera-red-sdk"
const LAKERA_RED_ENABLED = process.env.LAKERA_RED_TOOL_INTERCEPT === "true"
const TRACED_TOOLS = new Set(["url_fetch"]) // optional: scope to specific tools
const lakeraRedMiddleware = async (call, ctx, next) => {
const result = await next(call, ctx) // run the real tool
if (!LAKERA_RED_ENABLED || !TRACED_TOOLS.has(call.name)) {
return result
}
try {
return await interceptTool({
toolName: call.name,
toolArguments: JSON.stringify(call.args),
result,
conversationId: ctx.conversationId
})
} catch {
return result // fail-open: never break the agent
}
}
docker run -e LOCAL_POLICY_DIR=/policies -e FORCE_POLICY_MANAGER=fs -e LAKERA_GUARD_LICENSE=$YOUR_LICENSE -v ./policies:/policies:ro -p 8000:8000 <image>
helm upgrade --install lakera-guard --namespace lakera-guard --set 'guard.policies[0].name=custom-policies.json' --set-file 'guard.policies[0].data=./custom-policies.json'
curl -X POST http://localhost:8000/v2/guard -H 'Content-Type: application/json' -d '{"messages": [{"role": "user", "content": "test"}], "project_id": "project-chatbot", "breakdown": true}'
curl -X POST https://<your-guard-host>/v2/guard/audio \
-H 'Authorization: Bearer <API_KEY>' \
-F 'audio_payload=@sample.wav'
POLICY_RELOAD_INTERVAL_SECONDS=120
MAX_WARMUP_TOKENS=25000
curl http://<your-guard-host>/metrics
curl -X POST https://api.lakera.ai/v1/guard \
-H 'Authorization: Bearer $LAKERA_GUARD_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"messages": [{"role": "developer", "content": "You are a helpful assistant."}, {"role": "tool", "content": "<tool output containing external data>"}]}'
Summary
Lakera is a commercial appsec platform that inspects and guards traffic to and from AI models and agents, run as a hosted gateway service you call through a Guard API rather than something you self-host. It targets application developers building on LLMsLLMsA large language model, a neural network trained on large amounts of text to recognize patterns and generate language. Applications use it for tasks such as answering, summarizing and writing code. and the security practitioners who own the resulting policies, sitting between the model and its users to flag prompt injection, data leakage, and off-task tool calls before they reach production. Its documentation splits the product into guardrails for runtime enforcement and a separate AI Red Teaming component for adversarial testing of GenAI applications, plus an early-access AI Agent Security module that inventories agents and MCPMCPModel Context Protocol, a standard for connecting AI applications to external tools and data sources. A compatible server exposes capabilities an assistant can use through a common interface. servers across platforms like Bedrock and Copilot Studio and rates them against OWASPOWASPA nonprofit foundation that publishes open standards, guides, and ranked vulnerability lists—most famously the OWASP Top 10—giving cyber tools a vendor-neutral benchmark to test or report against. and MITRE ATLASMITRE ATLASA MITRE-maintained knowledge base of adversarial tactics and techniques targeting AI and machine learning systems, modelled on ATT&CK, giving cyber tools a structured taxonomy for AI-specific threat modelling.. Launched in 2021 and still shipping regularly, with its most recent release 34 days ago.
Lakera is an AI security platform that detects and prevents prompt injection attacks and other LLM vulnerabilities.
How Lakera helps
Which agents and MCP servers has anyone stood up across our cloud and low-code platforms without security's knowledge?
scans connected accounts on services like Bedrock, Google Cloud, Copilot Studio, Salesforce Agentforce, n8n, and Relevance AI and builds an inventory of agents and their tools, each rated Critical/High/Medium/Low with the factors behind the rating
Which of our agents are exposed to the risks security frameworks actually name?
maps each discovered agent's risk factors onto OWASP and MITRE ATLAS categories so gaps show up against a framework instead of an internal scoring scheme
Is a user's prompt actually manipulating our agent into calling a tool it shouldn't?
compares the tool call against the conversation's stated intent and flags it as off-task or as a dangerous deviation outside the agent's mandate, with reason text explaining the mismatch
Would tightening this policy have broken traffic we were fine with last month?
replays historical requests against the candidate sensitivity levels and shows the change in flagging rate by category before the policy goes live
Is a link this model is about to hand a user a phishing attempt someone smuggled into its context?
inspects outbound content for unknown or attacker-inserted links and blocks or flags them before they reach the user
Who changed a guardrail policy, and is production still enforcing what we think it is?
detail pages record creator and last-edited-by/at for every policy, and each project runs in either detection or full-enforcement mode so a policy left in detect-only shows up rather than silently passing threats through
Languages
Command line
5 commands for Lakera, each with where it came from. This tool has no source analysis yet, so there is no option reference and no captured run beside them.
No command matches.
Screenshots
From the release notes, newest first. Click one to see it full size.Score card
-
Shipping velocity releases a month, last 12 months
-
Documentation quality release-notes rubric, 0–100
-
Breaking-change discipline how rarely a release breaks users, and notice given
-
Maintenance risk quiet time against its own cadence, maintainers
-
Innovation & surface new capabilities, API and MCP surface
Five scores for Lakera, each built from the releases, notes and API history this site tracks — and, on Researcher and Business, where it stands among every measured tool in its category and how that has moved.
Score cards are part of every paid plan.
See plans → Already subscribed? Sign in →Trajectory
Blank means never measured; nothing here is a filled-in zero.
Peer standings are included with Researcher and Business. See how this tool ranks against its competitors, using data we don't publish anywhere else.
See plans →Each score is 0–100 on a published rubric, derived from data this site already shows. A dimension we cannot measure says so — it is never scored 0 and never enters a rank.
How this is scored
- Shipping velocity — releases a month over the last 12 months, on a log scale where 16 a month scores 100. Needs 3 releases in the window.
- Documentation quality — the release-notes rubric published on the analytics page, unchanged.
- Breaking-change discipline — the share of releases carrying a breaking change (none scores 100, half or more scores 0). Only projects that label breaking changes are measured: a clean record cannot be told from an unlabelled one.
- Maintenance risk — quiet time measured against the tool's own release cadence (quiet longer than 90 days and three typical gaps scores 0), plus the number of active maintainers and whether contributors are growing, where known. Higher is lower risk.
- Innovation & surface — new capabilities in the feature ledger this year, API and MCP operations added, and the share of commits that are features: the mean of whichever we hold.
- Community health (open-source tools only) — each is a direction, not a size: contributors this year against last, the bus factor now against a year ago, and issues closed per issue opened, where steady scores 50, doubled 100 and halved 0; plus the median time to a maintainer's first reply (an hour scores about 100, a month or more 0). A commercial card has no repository and carries none of the four.
- Documented delivery (commercial tools) — when a vendor's documented new capabilities have slowed against its own baseline, that counts against the overall standing as heavily as two low dimensions. Steady delivery, or too little history to judge, leaves the standing alone; it is never a sixth score.
- Open-source tools are scored on repository signals; commercial tools on their published changelog. Ranks compare tools within one category and one profile and need at least five measured peers; the overall standing needs three ranked dimensions. Best-in-breed or consolidator is a shape, not a quality, and is never scored.
Release-note detail over time
See how much detail Lakera puts in its release notes, quarter by quarter, and compare it with tracked tools in the same category. This history uses up to ten retained, reviewed notes per tool; sparse or blank older quarters may reflect that limit.
Checking release-note history…
Website history
lakera.ai, every changeCheck Point / Lakera's home page and 6 more pages as they looked each month from December 2021 to October 2026: 20 renders, 4 changes of tagline or palette. Step through them, play them, or put any two months side by side.
Website history is included with Researcher and Business.
See plans → Already subscribed? Sign in →← → or h l a month · Shift a year · [ ] previous / next change · Space play · 1 2 3 page · T whole page · C compare · F full size
← → or h l the right month · Shift the left · S swap · W wipe · T whole page · Esc back
Rebranding timeline
Dates bound when a change appeared between captures. Possible rebrands are AI suggestions; a redesign alone does not establish a rebrand.
Coverage
Missing something? Tell us
What Lakera connects to, runs on and detects, read from its release notes and docs. So far: 1 new detection, 1 new vulnerability check.
2 changes, tracked since Oct 5, 2026.
-
Oct 52026
new Tool Response Poisoning indirect attack strategy
Red's first indirect strategy, Tool Response Poisoning, delivers payloads through tool results.
-
Oct 52026
new 23 default scan objectives across Security, Safety, and Responsible categories
Covers 23: security.instruction-override.1, security.system-prompt-extraction.1, security.tool-extraction.1, security.data-exfiltration.1, safety.hate-speech.1, safety.violence-extremism.1 and 17 more
A basic scan covers 23 objectives: 4 Security, 8 Safety, and 11 Responsible.
Nothing first seen in this window. That doesn't mean Lakera shipped nothing, only that we found no record of it.
How we count
Read from 6 of 31 release notes and docs updates we hold for Lakera. "First seen" is the earliest note that names something; "last" is the latest. Our history may start partway through Lakera's life, so an old integration can show a recent first-seen date.
Each change counts once: "added 40 checks" is one line, so the numbers measure how often coverage moves, not how big the catalogue is or how well it detects.
Releases
31 entries
No entries match these filters.
- October 20266
- September 202612
- August 202612
- July 20261
Add the badge to your README
Maintain this project? The badge links readers straight to this page, so they can follow every release here.