AI security testing & red-teaming

AI security testing and LLM red-teaming for chatbots, RAG systems and AI agents. Adversarial testing of your chatbots, RAG systems and AI agents against prompt injection, data leakage, tool misuse and jailbreaks, mapped to OWASP and MITRE ATLAS, with fixes and a retest to confirm they hold.

A free first call with an engineer. You leave with a scoped next step.

Discovery Sprint to a roadmap
1–2 wks
Scope quote before anything is built
Fixed
30-minute first call
Free

What we deliver. Written by engineers who build these systems.

AI applications fail in ways ordinary penetration tests do not cover. A hidden instruction in a web page, email or PDF can steer a model, leak data or make an agent call the wrong tool. Gepton tests your AI systems the way an attacker would, using the OWASP Top 10 for LLM Applications, the OWASP Top 10 for Agentic Applications and MITRE ATLAS as the map. You get a test plan, reproducible findings ranked by impact, concrete fixes, and a retest that confirms the fixes work.

Technologies

  • OWASP LLM Top 10
  • OWASP Agentic Top 10
  • MITRE ATLAS
  • PyRIT
  • garak
  • promptfoo
  • Burp Suite
  • NeMo Guardrails
  • Llama Guard
  • Semgrep
  • OpenTelemetry
  • Python
  • Threat model of the AI system: data flows, trust boundaries, tools, retrieval sources and attacker goals
  • Test plan mapped to OWASP LLM Top 10 (2025), OWASP Agentic Top 10 (2026) and MITRE ATLAS techniques
  • Manual adversarial testing for direct and indirect prompt injection, jailbreaks and system prompt extraction
  • Data leakage testing across retrieval, memory, logs, multi-tenant boundaries and outputs
  • Tool and agent misuse testing: excessive permissions, unsafe actions, chained calls and output handling
  • Automated attack runs with open-source tools, kept as a regression suite you can re-run
  • Findings report with reproduction steps, evidence, severity and business impact for each issue
  • Remediation guidance with specific code, configuration, permission and guardrail changes
  • Retest of fixed issues and an updated report showing status
  • Executive summary for leadership and auditors

What gets in the way. The problems teams bring to us.

Use cases. Where clients put AI security testing & red-teaming to work.

  • Customer-facing support bot before launch

    Testing for jailbreaks, off-policy answers, system prompt leakage and exposure of other customers' order or account data.

  • Email or inbox assistant

    Checking whether a crafted incoming email can make the assistant forward data, change settings or send messages on its own.

  • RAG assistant over internal documents

    Testing access-control bypass across document permissions, poisoned documents and extraction of confidential content.

  • Coding agent with repository and CI access

    Testing whether malicious code comments, issues or dependencies can make the agent run commands or leak secrets.

  • MCP servers and tool integrations

    Reviewing tool descriptions, parameters and permissions for tool poisoning, over-broad scopes and unsafe chaining.

  • Multi-agent workflow in finance operations

    Testing trust between agents, approval bypass and cascading errors when one agent receives manipulated input.

  • Pre-audit testing for regulated AI

    Producing adversarial testing evidence for customers, auditors or regulators who ask how the system was assessed.

How a project runs. A fixed-scope plan before anything is built.

How we work
  1. 1

    Scope and threat model

    We agree what is in scope (models, prompts, retrieval, tools, integrations), the rules of engagement and test environments, and build a threat model with attacker goals.

  2. 2

    Test plan

    We map threats to OWASP and MITRE ATLAS categories, pick attack techniques and define what counts as a successful attack for each.

  3. 3

    Adversarial testing

    We run manual and automated attacks: direct and indirect injection, jailbreaks, data extraction, tool abuse, resource exhaustion and output-handling flaws.

  4. 4

    Report and fix

    You receive findings with evidence and severity, and we work with your engineers on fixes: permissions, input and output handling, isolation, guardrails and monitoring.

  5. 5

    Retest and regression suite

    We retest every fixed issue and hand over the automated attack suite so the same tests run before future releases.

Who it is for. And how we work with you.

A good fit if you are

  • Teams about to launch a customer-facing chatbot, copilot or AI agent
  • Companies whose AI agents can send messages, change records, move money or run code
  • Security teams that need AI-specific testing alongside their existing pentest program
  • SaaS vendors facing enterprise security reviews that ask about prompt injection and data isolation
  • Regulated businesses that need documented adversarial testing for AI systems

How we work

We test and we fix
Our engineers build AI agents and RAG systems, so findings come with specific, workable fixes rather than generic advice.
Evidence you can reproduce
Every finding includes exact inputs, context and outputs, so your team can confirm it and verify the fix.
Impact over novelty
We rank issues by what an attacker could actually achieve in your business, not by how clever the prompt is.
Tests that stay with you
Automated attack cases become a regression suite in your pipeline, so protection does not decay with the next model or prompt change.

A closer look at AI security testing & red-teaming

Why AI systems need their own security testing

Large language models read instructions and data through the same channel. They cannot reliably tell a user's request from text that merely looks like an instruction inside a retrieved document. That single property creates a family of attacks that ordinary application testing does not cover, and it becomes more serious once a model can call tools, remember context and act on behalf of users.

The main risk categories

The OWASP Top 10 for LLM Applications 2025 lists: prompt injection, sensitive information disclosure, supply chain, data and model poisoning, improper output handling, excessive agency, system prompt leakage, vector and embedding weaknesses, misinformation, and unbounded consumption. For autonomous systems, the OWASP Top 10 for Agentic Applications, published in December 2025, adds agent goal hijack, tool misuse and exploitation, identity and privilege abuse, agentic supply chain vulnerabilities, unexpected code execution, memory and context poisoning, insecure inter-agent communication, cascading failures, human-agent trust exploitation and rogue agents. MITRE ATLAS complements both with a matrix of adversary tactics and techniques against AI systems, modeled on ATT&CK and expanded in 2025 and 2026 with agent-specific techniques. We use all three so findings speak the language your security team already uses.

Direct and indirect prompt injection

Direct injection is a user typing instructions to override the system prompt. Indirect injection is more dangerous: the attacker plants instructions in content the system will read later, such as a web page, shared document, support ticket, calendar invite or tool response. When an agent reads it, it may leak data through a link or image URL, change its goal or call tools. We test every source your system ingests, not just the chat box.

Data leakage

Leaks come from the system prompt, retrieval that ignores document permissions, shared memory across users or tenants, verbose error messages, and logs or traces sent to third-party tools. We test each path and check that access control is enforced outside the model, where it belongs.

Tool misuse and excessive agency

When a model can send email, query databases, create tickets or run code, a successful injection becomes an action. We test whether tools accept parameters they should reject, whether dangerous actions require confirmation, whether outputs are passed unsafely to shells, SQL or browsers, and whether one compromised step can cascade through a multi-agent workflow.

Jailbreaks and guardrail bypass

We apply known jailbreak families such as role-play, encoding tricks, many-shot prompting, language switching and gradual multi-turn escalation to see how easily policy and safety controls give way. The goal is not a perfect score, since no guardrail is unbreakable, but to confirm that a bypass cannot lead to serious harm.

What good defenses look like

  • Least-privilege tools with narrow scopes, and human approval for irreversible or sensitive actions.
  • Authorization enforced in code and data layers, never delegated to the prompt.
  • Untrusted content clearly separated and treated as data, with outbound links and data exfiltration channels restricted.
  • Output validation before anything reaches a shell, database, browser or another agent.
  • Rate limits and token budgets to prevent resource abuse.
  • Logging and tracing that let you detect and investigate an attack.

How findings are rated

Severity combines how easy an attack is to reproduce with what it achieves. A jailbreak that produces rude text is low severity; an indirect injection in a shared document that makes an agent email customer records to an outside address is critical. Each finding records the attacker position needed (anonymous user, authenticated user, or someone who can only plant content), the success rate over repeated attempts, since model behavior is probabilistic, and the business impact in plain terms.

Common mistakes

  • Relying on a system prompt that says "never reveal this" as a security control.
  • Testing only the chat interface and ignoring documents, email and tool responses.
  • Running a one-time test and never repeating it after model or prompt changes.
  • Treating guardrail products as a complete solution rather than one layer.

Scope notes: identity, permissions and inventories for agents are covered in Agent Access Governance; pipeline and code security in DevSecOps; regulatory evidence in AI Regulatory Compliance.

Engagement models. Each one scoped and quoted after a first call.

How engagements work

1–2 weeks

Discovery Sprint

We map one process with your team, check the data and systems, and hand you a roadmap with a fixed-scope quote for the first build. You also get our technology recommendations and the success measures we agree with you up front.

4–8 weeks

Pilot Project

Our engineers build one focused system in weekly releases, connect it to your tools and put it in front of real users. Testing, deployment, monitoring, training and documentation are part of the pilot, with 30 days of support after launch.

Monthly retainer

Ongoing Partnership

A dedicated team that keeps building, runs what is live, and reports on quality and cost every month. It covers new features, performance and infrastructure work, model updates, and priority support under an agreed SLA.

No prices are published: you approve a written scope and quote before we build.

AI security testing & red-teaming in depth

Rules of engagement and test environments

AI security testing involves deliberately trying to make a system misbehave, so the ground rules are agreed in writing first. We define what is in scope (applications, models, retrieval sources, tools, integrations), what is off limits, test windows and the contacts who can stop testing. Where possible we test in a staging environment that mirrors production: the same prompts, models, tools and permission model, with test accounts and planted canary data, such as fake customer records with unique markers, so any leak is easy to detect and harmless. Exfiltration tests send data only to endpoints we control. We also check the acceptable use terms of your model providers and follow any notification steps they require for security testing.

Mapping entry points by attacker position

A useful threat model starts with who the attacker is and what they can touch. The same system can look safe to an anonymous user and be wide open to someone who can only plant a document.

Attacker positionEntry pointsExample test
Anonymous userPublic chat widget, WhatsApp number, voice lineJailbreaks, system prompt extraction, cost exhaustion through long inputs
Authenticated customerAccount-linked assistant, order or ticket toolsAccessing another customer's records through crafted questions or IDs
Content planterEmails, uploaded files, web pages, reviews, tickets the system later readsHidden instructions that make an agent leak data or call a tool
Insider with limited rightsInternal assistant over shared documentsRetrieving documents outside their permission level
Supply chainModel files, MCP servers, plugins, datasets, dependenciesPoisoned tool descriptions or tampered packages

Building the attack corpus

Public jailbreak lists are a starting point, not a test plan. We build a corpus specific to your application: attacks written against your system prompt, your tools and your business rules, then mutated automatically into many variants through paraphrasing, encoding, splitting across turns and embedding in different document formats. For Indian deployments we include attacks in Hindi, Hinglish and other languages your system accepts, including romanized text and script mixing, because safety filters are often weaker outside English. Indirect payloads are placed in every content source the system reads, in the places a real attacker would use: email signatures, PDF metadata, alt text, hidden spreadsheet cells and tool responses.

Measuring results that are probabilistic

Model behavior varies between runs, so one failed attack proves little and one success may be rare. We repeat important attacks many times under production settings and report the success rate as attempts succeeded out of attempts made, together with the conditions. A rare success that leads to data leaving the company still matters; a frequent success that produces only an off-topic answer may not. Reporting both rate and impact lets your team prioritize sensibly and gives a precise baseline for checking that a fix actually reduced the risk.

Each finding in the report includes the exact prompt or payload, the conditions, the number of attempts and successes, the observed effect with evidence such as trace excerpts, and the attacker position needed. That lets your engineers reproduce the issue on their own, confirm the fix, and add the case to the regression suite without needing us in the room.

Continuous testing, not a one-off

Every change to a model, prompt, tool or retrieval source can reopen a closed issue. The automated attack suite we hand over is designed to run in your CI pipeline: a fast subset on every change to prompts or tools, and the full suite before releases and after model upgrades. Results are tracked over time, so you can see whether a new model version is more or less resistant. New attack techniques are added as they are published. Pipeline security more broadly is covered in DevSecOps.

Detection, not only prevention

No set of defenses stops every attack, so you need to notice when one is attempted or succeeds. As part of remediation we help define detections in your logging and SIEM: unusual tool call patterns, outbound links or image URLs containing encoded data, requests for other users' records, spikes in refusals that suggest probing, and sudden increases in token use. We check that traces capture enough context to investigate an incident, with personal data handled according to your rules, and we write a short response runbook covering how to contain an affected agent, preserve evidence and inform the right people.

Model or application: what we test

We test the application around the model, because that is where business risk sits: system prompts, retrieval, permissions, tools, memory, output handling and integrations. Testing a foundation model's general safety is the model provider's job, and we do not try to repeat it. Where you host or fine-tune your own model, we add checks specific to it, such as whether fine-tuning weakened refusal behavior. Identity and permission design for agents is covered in Agent Access Governance.

Questions about AI security testing & red-teaming

Something else? Send us your question and an engineer replies with next steps.

How is this different from a normal penetration test?

A normal pentest checks the web application, APIs and infrastructure for issues like injection, broken authentication and misconfiguration. AI red-teaming tests how the model and agent behave under adversarial input: prompt injection, jailbreaks, leakage through retrieval or memory, and misuse of tools. The two are complementary. Where it helps, we coordinate with your existing pentest provider so coverage does not overlap or leave gaps.

Which systems can you test?

Chatbots and copilots, RAG applications, AI agents that call tools or APIs, multi-agent workflows, MCP servers, voice assistants and AI features embedded in SaaS products. We can test systems built on any major model provider or open-weight model.

Do you test in production?

We prefer a staging environment that mirrors production, with test accounts and synthetic data. Some tests, such as checking live guardrails, can run in production under agreed rules of engagement, rate limits and time windows. We never run destructive actions against production data.

How long does an engagement take?

A focused test of one chatbot or RAG application typically takes 2 to 3 weeks including reporting. Agentic systems with several tools and integrations take 3 to 6 weeks. The retest usually takes a few days once fixes are ready.

What access do you need?

Test user accounts with realistic roles, API access to the AI endpoints, architecture and data-flow documents, the list of tools and permissions the system uses, and ideally read access to prompts and configuration for a grey-box test. Access is through least-privilege accounts you control and revoke at the end.

Can you guarantee our AI system cannot be jailbroken?

No one can honestly guarantee that. Prompt injection and jailbreaks are open research problems. What testing can do is show how easily controls are bypassed and, more importantly, make sure a bypass cannot lead to data leakage or harmful actions because permissions, approvals and output handling are designed defensively.

What tools do you use?

Manual testing by engineers is the core, supported by open-source tools such as PyRIT, garak and promptfoo for automated attack generation and regression runs, plus standard security tools for the surrounding application. Tests are mapped to OWASP and MITRE ATLAS categories.

How are findings reported and kept confidential?

Findings go into a report with severity, evidence, reproduction steps and fixes, shared only with the contacts you name. Test data, prompts and logs stay in your environment or in encrypted storage and are deleted at the end of the engagement on request. We can sign your NDA before scoping.

Do you help fix the issues?

Yes. Remediation guidance is part of every report, and our engineers can implement fixes with your team: permission changes, output validation, content isolation, approval steps, guardrails and monitoring. A retest confirms the fixes hold.

How often should we test?

Before first launch, after significant changes such as a new model, new tools or new data sources, and on a regular schedule for high-risk systems. The automated regression suite we hand over lets you check known attacks on every release between full engagements.

Do you test in Hindi and other Indian languages?

Yes, whenever your system accepts them. Safety filters and guardrails are often trained mostly on English, so attacks written in Hindi, Hinglish, romanized text or other Indian languages can succeed where the English version fails. We include these in the attack corpus and report results by language, so weaknesses specific to one language are visible and can be fixed.

Will security testing break our model provider's terms of use?

We review the acceptable use and security testing terms of each provider involved before testing starts, follow any notification or approval steps they require, and keep tests within agreed limits. Testing focuses on your application rather than attacking the provider's infrastructure. If a test type is not allowed for a provider, we agree an alternative approach with you.

Can you test a third-party AI product we bought?

Yes, within limits set by the vendor's terms. We can test how the product behaves in your configuration, with your data and integrations, such as whether it leaks records across users or follows instructions planted in documents. Testing the vendor's own infrastructure needs the vendor's permission. Findings help you ask the vendor for fixes and decide what controls to add on your side.

If there are many findings, what should we fix first?

Start with findings that let an attacker reach data or trigger actions with real impact, especially those reachable by an anonymous user or by planting content. Fixes in permissions and architecture, such as narrowing tool scopes or enforcing access control outside the model, usually close several findings at once. Lower-impact issues such as rude outputs can follow. The report ranks findings with this logic.

Do you test the model itself or the application around it?

Mainly the application: prompts, retrieval, permissions, tools, memory, output handling and integrations, because that is where business risk sits. The general safety of a foundation model is the provider's responsibility. Where you host or fine-tune a model yourself, we add checks specific to it, such as whether fine-tuning weakened its refusal behavior or whether model files come from a trusted source.

Related services. More from AI Consulting & Strategy.

See AI consulting & strategy

Jump to

↑↓ to move↵ to open