Continuous Red Teaming vs Point-in-Time Penetration Testing for AI Agents

Sumanyu Sharma
Sumanyu Sharma
Founder & CEOAn industry expert reviewed this article for accuracy and quality., Voice AI QA Pioneer

Hamming protects 10K+ voice agents in production.

· Updated · 15 min read

Continuous Red Teaming vs Point-in-Time Penetration Testing for AI Agents

Continuous red teaming is the practice of attacking an AI agent the way adversaries would, on a cadence keyed to how often the agent changes, instead of once a year on a statement of work. Penetration testing and red teaming both produce findings. The difference that matters for AI agents is not technique. It is timing.

This argument is for teams running customer-facing AI agents in production or close to it: voice, chat, SMS or email agents that touch accounts, payments, health data or tooling. If your agent answers public FAQs, holds no session state and calls no tools, an annual application pen test plus basic LLM hygiene is a reasonable floor, though a prompt or model update can still change the agent's behavior, so reassess after those; the cadence problem below mostly does not apply.

The trap is treating the pen test report as a durable artifact. For a web application, it roughly is: the code that was tested is the code that runs until the next release. For an AI agent, the system that was tested stops existing the first time someone edits the system prompt, the model vendor ships an update, or an engineer wires in a new tool. The report stays green. The agent it describes is gone.

TL;DR: A penetration test covers the application and its APIs at a moment in time. An AI agent changes with every prompt edit, model swap, tool addition and vendor update, and it is attacked through conversation, so a point-in-time assessment goes stale before the next release. Continuous red teaming matches the testing cadence to the rate of change: rerun the relevant attack suites on every trigger event, rerun the exact attack after every fix, and turn every successful attack into a permanent regression test. Keep the pen test for the infrastructure and API layer. Close the timing gap with continuous red teaming of the agent.

Methodology Note: This guide is based on Hamming's analysis of red-team campaigns, security reviews, and production monitoring across 10K+ voice agents (2025-2026). We've tested agents built on LiveKit, Pipecat, ElevenLabs, Retell, Vapi, and custom-built solutions.

Use the attack categories and cadence rules here only for defensive testing on systems you own or are authorized to assess.

Last Updated: November 2026

Related Guides:

What is the difference between continuous red teaming and a penetration test?

A penetration test is a bounded engagement: defined scope, defined window, a report, a retest of criticals, done. Continuous red teaming is a standing program: the same adversarial techniques, run again every time the system or the threat changes, with results accumulating into a regression suite instead of a PDF.

Definition: Continuous red teaming for AI agents is the repeated, adversarial testing of an agent, its tools and the APIs behind them, triggered by changes to the system (prompts, models, tools, vendors, channels) and by changes to the threat landscape, with every finding rerun after its fix and preserved as a permanent regression test.

Both practices attack the system rather than audit it, and that is where the similarity ends. The structural differences fall out of one fact: the thing under test does not hold still.

DimensionPoint-in-time penetration testContinuous red teaming
What it coversThe application, network and API layer as deployed during the test windowThe agent's behavior: prompts, model, tools, retrieved context, and the APIs behind them
Valid untilThe next material change to the tested systemThe next trigger event, which starts the next run
Attack surfaceCode paths and configurations, which are enumerableConversation, which is open-ended and probabilistic
Finding lifecycleReport, remediate, retest criticals, closeFix, rerun the exact attack, record the result, add to the regression suite
Evidence shapeA dated reportA versioned, replayable test history tied to each release
Right cadenceAnnual or on major releaseOn every prompt change, model swap, tool addition, vendor update and new channel

The pen test is not the weak link here. For infrastructure, network boundaries and API authorization, it remains the right instrument, and DORA's threat-led penetration testing regime shows how regulators think about that layer: financial entities identified under Article 26 run TLPT on live systems supporting critical or important functions at least every three years, with the testing criteria set in RTS 2025/1190, and the ECB's supervisory guide frames the surrounding expectations. Three years is a defensible cycle for core banking infrastructure. It is roughly 150 release cycles for a production AI agent that ships prompt changes weekly.

The agent you tested stops existing before the report is filed

A web application changes when your engineers change it. An AI agent changes when anyone in the supply chain changes anything.

Count the moving parts. The system prompt, which product and operations teams edit routinely. The model, which the vendor retrains, quantizes or deprecates on their schedule, not yours. The tool set, which grows every time the agent gets a new capability. The retrieval corpus, which updates whenever the knowledge base does. For a voice agent, add the ASR and TTS layers, which have their own vendors and their own release trains. Any one of these changes the agent's behavior under adversarial pressure, and none of them requires a code deploy that would show up in your change-management gate.

The attack surface compounds the problem. A pen tester enumerates endpoints and code paths. An attacker on a phone line does not need an endpoint: the conversation is the endpoint. NIST's adversarial machine learning taxonomy (AI 100-2, 2025 edition) maps attacks across the full AI lifecycle precisely because the vulnerable surface is not a fixed set of functions but the model's behavior across stages, from training data to deployed inference. Behavior is also probabilistic: Microsoft's AI Red Team built PyRIT after finding that the same attack path can yield different outcomes run to run, so a single clean pass proves little. The OWASP AI Testing Guide makes the same point operationally: non-zero temperature means attack vectors need to be repeated multiple times, and results can be hard to replicate even then.

Put those together and the point-in-time model breaks twice over. It samples a system that will be different next week, and it samples probabilistic behavior too few times to support the pass it reports.

Bank supervisors have started writing this down. The supervisory framework the OCC attached to Bulletin 2026-54 notes that repeated testing may provide more useful evidence than a single successful run (section 2.5), and that when a vendor changes its model, the bank may retest the model before or when the changes are made (section 2.9). The framework is a resource for examiners and does not establish supervisory expectations for banks. It still signals what an examiner who reads it may ask about: evidence that testing kept pace with change, not a dated report.

How AI red teaming works

AI red teaming for an agent works in five stages: threat model the agent, build categorized attack campaigns, run them at volume, rerun each attack after its fix, and keep every finding as a regression test. "Red teaming" gets used for everything from a jailbreak prompt list to a full adversarial campaign; the last two stages are what separate a real program from a one-off assessment.

1. Threat model the agent, not the model. Start from what the agent can do, not what the model can say: which data it can read, which actions its tools can take, which workflows it can complete, and who is allowed to trigger each one. The OWASP GenAI Red Teaming Guide structures this as four phases (model, implementation, system, runtime) so that testing covers the deployed stack, including guardrails, RAG, infrastructure and live human interaction, not just the model's alignment. Red-team the full path: the agent, its tools and the APIs behind them.

2. Build attack campaigns by category. Prompt injection, jailbreaks, social engineering, impersonation, data extraction, tool escalation, and for voice: deepfaked callers, authority claims, multi-turn pressure. Each campaign names the caller's request, the protected data or action, and the control that should hold. Whether a claimed supervisor can skip an approval check is a campaign. The phrasing that worked on Tuesday is just one sample from it.

3. Run at scale, because behavior is probabilistic. One attempt per attack is anecdote. Automated red teaming exists because the probability structure demands volume: Microsoft positions PyRIT as automation that augments manual testing rather than replacing it, and Anthropic describes the same progression, from expert ad hoc probing to model-generated variations covering more surface in a fraction of the time. Human experts find the novel path; automation measures how often it works and whether it still works next release.

4. Rerun the attack after the fix and record the result. A fix is closed only when the original attack is rerun against the fixed system and the outcome is recorded; a fix without a retest is a hypothesis.

5. Convert findings into regression coverage. Every successful attack becomes a permanent regression test that reruns on later changes. Steps 4 and 5 are what make the program continuous rather than a sequence of disconnected engagements.

For regulated readers, the methodology maps cleanly to what supervisors describe. The OCC framework's section 2.13 describes red teaming as testing whether the bank can handle realistic attacks or misuse, and notes that independent or external expertise may be useful when internal capability is limited (same examiner-resource limit as above). Singapore's MAS Guidelines on AI Risk Management say financial institutions should conduct vulnerability assessments, penetration testing, and red teaming across AI systems (paragraph 5.22(b)); the guidelines apply to financial institutions in Singapore, with sections 5 and 6 applying by 7 October 2028.

How often to red team: key the cadence to trigger events, not the calendar

The decision rule is one sentence: red team when the agent changes, when its supply chain changes, or when the threat changes, and run the full campaign on a fixed backstop interval so drift cannot accumulate silently.

A calendar cadence alone fails in both directions. Quarterly testing over-tests an agent that has not changed and under-tests one that shipped nine prompt revisions since the last run. The trigger-event model spends testing budget where change actually happened. This is the cadence table we run against:

Trigger eventWhat to rerunEvidence to save
System or workflow prompt changeInjection, jailbreak and policy-boundary campaigns for every workflow the prompt touchesPrompt version diff, campaign results against old and new prompt, pass/fail delta
Model swap or vendor model updateFull attack suite; model changes shift behavior globally, not locallyModel and version identifiers, full-suite results, regression comparison against prior model
New tool or expanded tool permissionsTool-escalation and authorization campaigns for the new tool, plus data-extraction campaigns if it reads sensitive dataTool schema, authorization matrix, every attempted unauthorized call with the backend decision
Vendor update in the path (ASR, TTS, telephony, orchestration, guardrail provider)Campaigns for the layer that changed: ASR stress and spoken-injection suites for ASR, guardrail-bypass suites for a guardrail updateVendor changelog reference, before/after campaign results, any new failure class opened
New channel (voice added to chat, SMS added, new language or market)Full attack suite on the new channel; channel-specific campaigns (deepfaked callers and background-audio injection for voice)Channel configuration, full-suite results, channel-specific findings
Retrieval corpus or knowledge-base update touching sensitive contentIndirect injection and data-extraction campaigns against the updated corpusCorpus version, poisoned-document test results, retrieval logs for failed and passed runs
New public attack technique relevant to your stackThe new technique as a campaign across all channelsTechnique source, results, disposition (vulnerable, mitigated, not applicable)
Production incident or monitoring alertThe observed attack as a campaign, plus its category neighborsIncident reference, reproduction result, fix verification, new regression tests added
Backstop interval (fixed; set from your documented risk assessment and rate of change, for example quarterly where tools reach money, PHI or account data)Full attack suiteComplete run record versus previous backstop, trend on failure rates by category

The backstop exists because some drift has no visible trigger: a vendor can update a hosted model without an announcement, and retrieval content shifts gradually. The backstop catches what the triggers miss. The "what to rerun" column is scoped on purpose. Rerunning everything on every prompt edit is how continuous programs die of cost; rerunning only what the change touches, plus the full suite at the backstop, is sustainable.

This is also where the OWASP GenAI Red Teaming Guide lands: red teaming is not a one-time event; re-test after implementing fixes and integrate periodic checks into your AI lifecycle to catch new threats as your models and environment evolve.

What rerunning the attack after the fix proves

A finding without a verified fix is a liability note. Three things only a rerun can establish:

The fix works against the attack, not the example. Most first fixes patch the phrasing: a filter for the words the red team used, a prompt line forbidding the specific trick. Rerunning the campaign, not the single transcript, shows whether the control holds against the category. When the rerun uses paraphrases and escalation paths around the original, a phrasing-level patch fails immediately, which is exactly what you want to learn before an attacker does.

The fix did not break the workflow or open a neighbor. Tightening a verification step can lock out legitimate callers; a new guardrail can push the model into refusing its actual job, or into a different unsafe behavior under pressure. The rerun plus the standard functional suite is the only evidence that the fix is a net improvement.

The finding is closed on the record, not on someone's word. The rerun result, tied to the prompt version and model version it ran against, is the artifact a security reviewer, a model risk team or an auditor can accept. "Engineering says it is fixed" is not audit-ready evidence; a replayable before/after pair is. The OCC framework's observation that repeated testing may provide more useful evidence than a single successful run (section 2.5, examiner-resource limit as above) cuts in both directions: it applies to proving a vulnerability and to proving its fix.

The operational standard: a finding's lifecycle ends with a recorded rerun against the fixed system, or it is still open.

Turn every attack into permanent regression coverage

This is the compounding step, and it is the real answer to the cost objection against continuous testing.

Every successful attack, whether a red-team finding or a production incident, becomes a permanent test case: the scenario, the expected safe behavior, and the evidence to capture, versioned alongside the prompts and configuration it tests. The suite then runs on every trigger event in the cadence table and in CI before release. A prompt edit that quietly reopens a vulnerability fixed eight months ago fails the build instead of reaching callers.

The economics invert over time. A pen-test program's knowledge resets toward zero between engagements: the next firm starts from the same scoping document. A regression suite only grows. After a year, a release candidate is tested in hours against every attack that has ever worked on your agent, plus the current campaign library. That accumulated suite is also the honest answer to "how do we know the new model is safe to swap in": run it, compare, decide on evidence.

It also changes what you can show a reviewer. Audit-ready evidence for security, risk and model governance reviews is exactly this artifact: which attacks ran against which version, what failed, what was fixed, what was rerun, and what now runs on every release. A dated PDF cannot answer the question an examiner actually asks, which is what has been tested since.

Keep the pen test; close the timing gap

Nothing above retires penetration testing. The agent's supporting cast is conventional attack surface: the APIs behind the tools, the authentication in front of them, the network boundaries, the cloud configuration, the telephony integration. Those need application security testing, and an attacker who defeats API authorization does not need to say a word to the model. If your pen test scope stops at the web application and excludes the agent's tool APIs, fix the scope before adding anything.

The division of labor is clean. The pen test owns the infrastructure and API layer on its established cycle. Continuous red teaming owns the conversational layer, the agent's behavior, its tools and the path between them, on the cadence the trigger table sets. The two overlap exactly once, at the tool boundary, and that overlap is worth paying for twice: it is where a model-level compromise becomes a real-world action.

What does not work is stretching one instrument to cover the other's layer. A pen test cannot keep pace with weekly prompt changes on an annual cycle, and red-teaming an agent proves nothing about an unauthenticated admin endpoint. Continuous red-teaming, not a point-in-time pen test, is the cadence correction for the layer that changes fastest. The pen test keeps the layer that changes slowest. Run both, and let the cadence table decide when each fires.

Frequently asked questions

A penetration test is a bounded engagement that covers the application and its APIs at a moment in time; continuous red teaming is a standing program that reruns adversarial attacks against the agent, its tools and the APIs behind them every time the system or the threat changes. Because an AI agent changes with every prompt, model, tool and vendor update, a point-in-time assessment goes stale before the next release, while a continuous program accumulates findings into a permanent regression suite. Hamming recommends keeping the pen test for the infrastructure and API layer and running continuous red teaming on the conversational layer.

Key the cadence to trigger events rather than the calendar: rerun the relevant attack campaigns on every prompt change, model swap, tool addition, vendor update, new channel and relevant new public attack technique, plus a full-suite backstop on a fixed interval set from your risk assessment, for example quarterly where tools reach money, PHI or account data. A calendar-only cadence over-tests unchanged agents and under-tests ones that shipped multiple prompt revisions since the last run. Hamming's cadence framework scopes each rerun to what the change touched, which keeps continuous testing affordable.

AI red teaming attacks an agent the way adversaries would: threat model what the agent can do (data it reads, actions its tools take), build attack campaigns by category (prompt injection, jailbreaks, social engineering, impersonation, data extraction, tool escalation), run them at scale because model behavior is probabilistic, then rerun each successful attack after its fix and record the result. OWASP's GenAI Red Teaming Guide structures testing across the model, implementation, system and runtime layers, and states that red teaming is not a one-time event. Hamming runs these campaigns continuously across voice, chat, SMS and email agents and converts every finding into regression coverage.

The methodology has five stages: threat model the agent rather than just the model, build categorized adversarial campaigns, execute at volume to account for non-deterministic outputs (the OWASP AI Testing Guide notes that single runs prove little), verify every fix by rerunning the exact attack, and preserve each finding as a permanent regression test. Tools like Microsoft's PyRIT automate the volume while human experts find novel paths; Microsoft positions automation as augmenting manual red teaming, not replacing it.

Yes. The APIs behind the agent's tools, authentication, network boundaries and cloud configuration are conventional attack surface, and an attacker who defeats API authorization never needs to talk to the model. The pen test owns the infrastructure and API layer on its established cycle; continuous red teaming owns the agent's conversational behavior on a change-driven cadence. Hamming recommends running both, with deliberate overlap at the tool boundary where a model-level compromise becomes a real-world action.

Five system triggers: a system prompt change, a model swap or vendor model update, a new tool or expanded tool permissions, a vendor update anywhere in the path (ASR, TTS, telephony, guardrails), and a new channel or market. Add three external triggers: a retrieval or knowledge-base update touching sensitive content, a relevant new public attack technique, and any production incident or monitoring alert. Hamming's cadence table pairs each trigger with the specific campaigns to rerun and the evidence to save, plus a fixed backstop interval so silent drift cannot accumulate.