Register an agent
Open AI Agents → Add agent and describe the endpoint under test:NameAgent type— the kind of endpoint (OpenAI-compatible, Azure AI Foundry, Anthropic API, Ollama, or a custom HTTP endpoint)Endpoint— the URL prompts are POSTed toAuth— how to authenticate to that endpoint (the header each kind sends is in Auth kinds below)- Optionally a
Model ID(the deployment/model name) and aSystem-prompt hintto sharpen the probes.
Auth kinds
You need a judge
The red-team skills probe your agent; a judge model decides whether each response is a real finding. The judge is one of your configured AI providers — Anthropic, OpenAI, or a local Ollama. If no AI provider is active for your org, the scan can’t judge results and will fail, so configure one first.The judge and the target are independent: you can red-team an Azure-hosted agent while judging with a local Ollama model, keeping evaluation fully in-house.
Run a scan
1
Open the agent
Go to AI Agents and click the registered agent.
2
Run the scan
Click Run scan. BreachLens runs its adversarial skills — prompt-injection, system-prompt-leak, jailbreak, PII-exfil, content-filter-validation, and permissions-audit — against the endpoint.
3
Review findings
Each confirmed weakness is a finding with the prompt that triggered it and the judge’s reasoning.
Next steps
Scan an MCP server
Security-test the Model Context Protocol servers your agents connect to.
Identities & NHI
The non-human identities and keys your agents hold — over-permissioned or stale.