Agentic offensive security
AI security testing for LLM applications and agents.
When your AI agent can read company data or use business tools, a bad instruction can become a real security incident. FailSafe tests whether an attacker can cross those permissions, expose data or trigger an unauthorized action.
Put your agent controls through an authorized assessment. Get reproduced evidence, engineering guidance and a retest of the relevant fix. Cover LLM applications, agents, retrieval pipelines and MCP tools in your agreed assessment.
Specialized AI scope is agreed separately. The $999 first-pentest offer covers one authorized black-box run and 250 credits.
Definition
What is AI security testing?
AI security testing is an authorized assessment of a deployed AI system: the model, prompts, retrieval, tools, identities and the application around them. The test asks whether an attacker can cross a permission boundary, expose data or trigger an action the system should refuse.
A model response alone is not a finding. The assessment records the test identity, the input, what the system actually allowed and what changed. That evidence is what lets an engineering team fix the boundary and a reviewer check the result. Coverage is agreed in writing and can include:
AI applications and agents
Prompt handling, output rendering, access controls, session boundaries and connected APIs.
Review the scopeAgent and MCP tools
Tool authorization, approval binding, token audience, tenant boundaries and side effects.
Review the scopeRAG and retrieval
Document permissions, tenant isolation, retrieval filters, context handling and deletion.
Review the scopeAI security testing is not a certification and does not establish that a model is free of harmful behavior. It covers the deployed system and the agreed scope. Specialized AI work can require a separate agreement from the standard black-box run.
What does LLM penetration testing assess?
LLM penetration testing investigates whether an attacker can use a deployed AI application to cross an agreed security boundary. FailSafe scopes the model together with retrieval, identities, APIs and connected tools. A concerning model response becomes a security finding when the assessment demonstrates an in-scope consequence with reproducible evidence.
| Surface | Question | Evidence to retain |
|---|---|---|
| Retrieval and tenant data | Can untrusted content or a different user’s session cross a data boundary? See the RAG security testing scope. | Test identities, permitted data set, input and observed access, with sensitive content redacted. |
| Agent and MCP tools | Can a tool call exceed the user’s authority or bypass a required approval? Review the synthetic MCP walkthrough. | The authorized role, tool arguments, approval state and resulting action. |
| Model-serving environment | Do inference, logging and fallback paths respect the deployment boundary? | Configured routes, observed egress and retention settings, checked against the agreed architecture. |
Agree scope, access and stop conditions before testing. Read the agentic penetration testing guide, the LLM application testing methodology, the MCP assessment guide, the RAG tenant isolation test plan, our model supply-chain review questions and our local inference options. This assessment does not certify that a model is free of harmful behavior.
What we mean
AI security is bigger than the model.
Agentic AI security is the practice of testing and hardening AI systems that can retrieve information, call tools, change data, or take actions.
That means testing the instructions the model receives, the data it can see, the tools it can call, and the controls that govern every action. A capable model can still become unsafe when a framework renders untrusted data as instructions or grants a tool more access than the workflow requires.
Our agentic testing combines focused LLM assessments with continuous offensive validation across the rest of the application and infrastructure stack, giving CTEM teams evidence they can act on and re-test.
Coverage
Map the full AI attack surface.
Agents & runtimes
Red-team planning, memory, permissions, multi-agent orchestration, and tool-call behavior.
LLM applications
Prompt injection, jailbreaks, output handling, access controls, and cross-user data exposure.
RAG & data
Retrieval poisoning, context contamination, sensitive-data leakage, and untrusted content.
Governance & evidence
Risk-based testing informed by relevant AI security guidance, with documented findings and remediation evidence.
Skills & orchestration
Agent identity, memory, multi-agent messages, recursive tool use, and workflow-level failure modes.
Control validation
Agent controls now ship with the platform. Test the combination.
Google, AWS and endpoint vendors are moving agent identity, MCP gateways, endpoint discovery and runtime hooks into products enterprises already run. Those controls reduce exposure, and each one can be enabled without proving that it stops a specific path. Independent testing asks whether the configured set changes the outcome, whether an alternate route avoids it, and whether the intended workflow still works.
Google Workspace and Agent Gateway
Agent OAuth identities, delegated authority, per-request DLP, confirmation for sensitive actions, egress controls and revocation during long-running tasks.
Read the validation planAWS WAF and Bedrock Guardrails
Shadow MCP discovery, protocol enforcement, guardrail coverage, short-lived assertions, IAM scope and revocation propagation.
Read the validation planEndpoint hooks and runtime enforcement
Prompt, tool-call and output interception across coding agents, including whether a background job or alternate path bypasses the hook.
Read the validation planEnabling a control is a configuration claim. Evidence is a recorded action, the policy decision and the observed result. A managed rule or endpoint hook can still miss a multi-step business-logic path where every individual call looks valid. Read the MCP regression review for cases that should stay in the test set after a patch.
Proof points
1
on CVE-Bench v2.1.0
Ranked first in our September 2026 comparison of reported CVE-Bench v2.1.0 results. Attempt budgets differ; outcomes are stochastic and do not establish production coverage. See methods and limits.
48h
from vulnerability scanning to code remediation
Deploy agents, build threat models, reproduce findings, connect ITSM and open remediation PRs within 48 hours of agreed access and integration readiness. Your team approves changes.
Local
Own your inferencing
Own the hosting and the inference. A fully local deployment keeps sensitive workloads, model processing and evidence inside your enterprise environment, with no external model calls.
Public frameworks
Ground the assessment in shared language.
AI penetration testing
Test LLM apps, models, agents, RAG, and AI integrations against real attack classes.
ExploreAgentic penetration testing guide
Review scope, authorization, safety controls, evidence, benchmark limits, and buyer evaluation questions.
ExploreMCP security
Assess Model Context Protocol servers, tool permissions, trust boundaries, and agent-tool abuse.
ExploreLLM output rendering
Assess how model output is rendered or passed to downstream systems.
ExploreAI agent release gates
Build repeatable security checks around agent changes and releases.
ExploreCOCOON post-quantum resilience
Assess cryptographic dependencies and quantum-related resilience priorities.
ExploreHIVE robotics and OT red teaming
Test mission logic and software control planes for embodied AI, operational systems and autonomous fleets.
ExploreSWARM continuous validation
Keep testing the web, API, cloud, and AI surfaces as your product changes.
ExploreTesting guides
Go deeper on retrieval and MCP testing.
Each guide covers one boundary inside an AI assessment and the evidence to keep. Start with the assessment sequence on the AI and LLM penetration testing page, then agree targets, access and stop conditions in the rules-of-engagement checklist.
- RAG security testing hub
- RAG tenant isolation test plan
- Document ingestion security review
- Permission revocation testing
- Deletion and cache invalidation
- Citation provenance security
- MCP server vetting checklist
- MCP assessment test plan
- Inference supply chain assurance
- Microsoft agent control validation
- AI agent payment authority testing
- Agent egress control assessment
- Agent secrets and tool boundaries
First pentest offer
Evaluate SWARM on one authorized target.
Startups can assess an authorized application with the one-time $999 USD offer: 250 credits for one agentic black-box run, with a written report and remediation guidance. The offer is one black-box run. Specialist AI scope, test identities, synthetic records and staging access are agreed separately.
Confirm that your AI testing requirements fit the offer before purchasing. Enterprise and sovereign deployments are quoted separately.
The FailSafe perspective
Turn the control into a question you can test.
Explore how active testing, reproduced findings and enterprise-owned inference can help your team make a better security decision.
Test what happens after the alert
Measure when a workflow actually loses unauthorized access.
Read the analysis →Verify the deployed MCP configuration
Connect the patched package to the resource-validation behavior.
Read the analysis →Review skills in the runtime that uses them
Assess the package, identity and permissions as one operating configuration.
Read the analysis →For enterprise buyers
Make the case for FailSafe.
See how active testing, FailSafe-trained cyber models and sovereign inference work together for your security and engineering teams.
Own your inferencing
Understand how FailSafe can keep model processing, code and evidence inside your enterprise environment.
Read the guide →Why our cyber models matter
Explore the role of security post-training, SWARM execution and evidence in an enterprise assessment.
Read the guide →From demonstrated weakness to reviewed fix
Follow a validated attack path into an ITSM issue, a remediation PR and a retest.
Read the guide →Sources and scope
What supports this page
This assessment framework covers the deployed application, model integrations and authorized actions. It does not establish that every model behavior is safe or provide regulatory certification.
By FailSafe Research. Editorial update: .
Cite this page: FailSafe Research, https://getfailsafe.com/ai-security, updated .
Questions & answers
Frequently asked questions
Direct answers about securing LLM applications, agents, and the systems around them.
For an agreed connected engagement, FailSafe takes the workflow from agent deployment and threat modeling through active testing, reproduction of findings, ITSM handoff and agent-generated remediation pull requests within 48 hours of full access and integration readiness. Your team reviews and merges changes and controls production rollout. Confirm the scope and prerequisites with us; the first-pentest promotion separately includes its report window and remediation retesting.
Yes. A fully local FailSafe deployment can keep model inference, source code, prompts, traces and assessment evidence inside your enterprise environment, with no external model calls or cloud fallback in that configuration. We agree hosting, egress restrictions, telemetry, updates and support access as part of deployment design. Regional data storage alone does not provide this control.
FailSafe develops and security-post-trains its GlassBreak cyber models from an open-weights base. Combined with SWARM’s active testing workflow, they support threat modeling, attack-path investigation and reproducible evidence. Enterprise teams can evaluate the model and execution workflow together and choose customer-controlled inference.
Agentic AI security is the practice of testing and hardening AI systems that can retrieve information, call tools, change data, or take actions. It covers the model and the runtime around it, including prompts, permissions, tools, memory, data, integrations, and deployment controls.
FailSafe tests prompt injection, indirect prompt injection, unsafe tool use, data leakage, RAG poisoning, tenant isolation, authentication and authorization, output handling, model access controls, and the security of connected APIs and infrastructure.
AI security assessments examine the model, agent, and integration-specific attack surface. SWARM adds continuous validation across the surrounding application, API, cloud, and infrastructure attack surface so fixes can be re-tested as the system changes.
Assessment plans can reference AI security guidance such as the OWASP LLM Top 10, MITRE ATLAS, and NIST AI RMF. Where relevant, the agreed scope can also consider customer control requirements related to ISO/IEC 42001, SOC 2, ISO/IEC 27001, or the EU AI Act. Testing does not provide an attestation or certification.
Agentic testing should cover the full action loop: untrusted prompts and retrieved content, planning and memory, tool descriptions and arguments, agent identity, least-privilege permissions, multi-agent messages, recursive tool use, secrets, data exfiltration, supply-chain components, and human approval for high-impact actions.
Cloud gateways, WAF rules, guardrails and endpoint hooks can enforce identity, DLP, protocol and tool-call policy. Testing still needs to show whether the configured combination changes the outcome of a specific attempted action, whether an alternate path bypasses it, and whether a legitimate workflow still succeeds.
Test agent versus human identity, delegated-user authority, confirmation context, DLP and classification handling, egress restrictions, revocation during a long-running task and cross-agent authorization. Record the policy decision and the action that followed, not only that the control was enabled.