Red teaming LLM agents with promptfoo
Planning a promptfoo red team for a tool-using agent: privilege escalation, tool and API manipulation, multi-stage attack chains, and combining end-to-end, component and trace-based tests.

Using promptfoo to test agents, MCP servers, coding agents and retrieval-augmented applications for authorization failures, injection through tools and documents, and memory attacks.
Planning a promptfoo red team for a tool-using agent: privilege escalation, tool and API manipulation, multi-stage attack chains, and combining end-to-end, component and trace-based tests.
Testing Model Context Protocol servers and the agents that call them: trusted-client testing, tool poisoning across multiple servers, direct MCP testing and running these checks in CI.
Testing retrieval-augmented chatbots and search assistants for prompt and context injection, data exfiltration, fabricated citations and context overflow, end to end or component by component.
Using promptfoo redteam poison to create poisoned documents, adding them to a test knowledge base and checking whether the application follows them, plus the data that leaves for hosted generation.
Checking whether text from documents, emails, web pages or profile fields can take over an LLM application: choosing the injected variable, realistic payload placement and what a pass looks like.
Testing whether an agent fetches other users records or calls functions above the user role: setting up test identities, the BOLA and BFLA plugins and reading results against OWASP API Security.
Testing applications that combine user IDs, session context and form fields with the message: defining inputs on the target, coordinated payloads, and the authorization bypasses single-input tests miss.
Checking whether a stateful agent can be taught harmful instructions that persist into later sessions, how the memory poisoning plugin structures the test and what the agent needs to expose.
Testing coding agents for repository prompt injection, secret leaks, sandbox escapes and CI exfiltration with promptfoo coding agent plugins, and using traces and file hashes as evidence.
Wrapping a LangGraph agent as a promptfoo Python provider, writing YAML tests for its behaviour and running security scans against the graph.
Testing CrewAI multi-agent workflows with promptfoo: connecting the crew as a provider, functional tests and automated red team checks on the agents.
Testing Python openai-agents applications with promptfoo tracing, trace assertions and agent red teams, including sandboxed agent workflows and stateful red team sessions.
Testing Google Agent Development Kit Python agents with promptfoo tracing, sessions, tool and callback checks, and workflow agents.
Using the promptfoo simulated user provider to hold realistic multi-turn conversations with a support or booking agent, including function-calling agents, and grading the whole conversation.
Testing applications that accept images, audio or video with adversarial inputs in each modality, the image, audio and video strategies, and which ones depend on hosted generation.
Checking whether an assistant reveals the tools and functions it can call, or claims actions it cannot take, with the tool-discovery and excessive-agency plugins.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.