PyRIT red teaming for financial services AI

PyRIT red teaming for banking and insurance assistants covers scam and fraud content, customer data leakage, document prompt injection and evidence for operational resilience reviews.

On this page

Why PyRIT red teaming for financial services AI needs industry-specific test design

A bank or insurer rolling out an AI assistant needs to show its security team and supervisors that the assistant was tested against financial harms, not only against generic jailbreak prompts. PyRIT fits this need because it is an open source framework whose targets, scorers, memory and datasets can all be pointed at the assistant inside the institution's own environment. The framework is built from targets, converters, scorers, attacks, memory and datasets, so the test can reach a model endpoint, a custom HTTP or WebSocket app, or a web chat interface that customers and staff actually use, without sending that traffic to a third-party testing service.

What changes for financial services is the test design. The harms to test include scam and fraud content the assistant might draft or explain, leakage of customer account and cardholder data, and prompt injection carried through documents such as statements, claims files or uploaded contracts. The datasets and scorers must match those harms, so a generic content-safety baseline will not show whether a fraud scenario succeeded. Each of these needs its own objectives, seed prompts and pass or fail criteria, agreed with the risk and fraud teams before the first run.

The evidence also differs. Operational resilience and third-party reviews ask for records that show what was tested, how results were scored and how findings were fixed and retested. PyRIT memory stores conversations and results in SQLite or Azure SQL, which gives a starting point for that record, but the institution should confirm with its compliance team which retention, access and export format its reviewers expect before the test plan is written. The sections that follow cover each harm, the datasets that apply, and the evidence to keep.

Which financial services requirements shape the PyRIT test plan

This table maps each supplied financial services requirement to its source and to the part of a PyRIT build it drives, such as a target, dataset or evidence record. Read each row as a question the test plan must answer for the institution's supervisor or assessor. DeployOpen prepares the evidence, but the institution's supervisor or assessor decides what counts.

RequirementWhat it asks forWhat it means for the PyRIT build
DORA Article 26(7), threat-led testingA threat-led penetration test that meets DORA requirements can be attested by the authority; no other DORA attestation existsConfirm with your supervisor whether PyRIT results feed a TLPT or sit beside it; scope PyRIT as a separate AI test with its own run records
DORA Article 28(3), register of ICT arrangementsA register covering all contractual arrangements for ICT servicesRecord each model provider, hosted endpoint and AI gateway as a target in the register so every PyRIT target maps to a contract entry
DORA Article 28(8), exit strategiesDocumented, tested exit strategies for ICT services supporting critical or important functionsAdd a test case that switches the assistant to a second model target and reruns the core scenarios to show the exit path works
DORA Article 30(2), contract termsContracts state where services run and data is processed, with notice of changes and data returnTag each PyRIT target with its processing location and provider, and rerun the leakage dataset after any notified change
PCI DSS v4.0.1, scopingScope covers systems that store, process or transmit cardholder data or could affect that environmentIf the assistant can see card numbers or payment tokens, include it in scope and use synthetic card data only in PyRIT prompts and memory
Swift CSP controls (v2026)Independent assessment of 32 controls, 26 mandatory and 6 advisory, attested annually in KYC-SAWhere the assistant touches Swift messaging or operator tools, map PyRIT scenarios to the relevant controls and keep results with the assessment file
FTC Safeguards Rule, 16 CFR 314.4(c)(5)Multi-factor authentication for anyone accessing any information system, unless the Qualified Individual approves an equivalent control in writingTest whether the assistant's admin and tool endpoints can be reached without MFA through PyRIT web targets, and store the written exception if one exists
SEC ICFR guidance, Release 33-8810IT general control areas including access to programs and data, and program changesRun prompt injection tests that try to change tool permissions or retrieve other customers' records, and keep versioned scenario and prompt sets as change evidence

Which PyRIT components matter for banking and insurance assistants

A banking or insurance assistant is usually a chain of a chat interface, a model, a retrieval layer over customer documents and a logging store. Each PyRIT component maps to one part of that chain, so the test plan should start from the components you can reach and the evidence you must keep.

Targets for the assistant and document pipeline

Targets are how PyRIT sends prompts to the system under test. Use a custom HTTP or WebSocket endpoint when the assistant exposes an API, or a Playwright-driven web target when only the chat interface is reachable. Test the document upload path as well as the chat path, because a loan file or claim attachment can carry instructions the model reads. Confirm which environment the target points to before the first run, since production customer data should not be in scope.

PyRIT documentation

Datasets for content harms and leakage

PyRIT datasets cover content harms, psychosocial risks and data leakage. For a bank, the content harms that matter most include scam scripts, phishing text, and instructions for fraud or account takeover. Leakage prompts should target account numbers, balances and other customer fields, and should use synthetic records seeded into a test store. Ask your compliance team to approve the objective list before testing, so the results map to the risks they already track.

Scorers that judge responses

Scorers decide whether an attack succeeded. PyRIT scorers can use an LLM judge, Azure AI Content Safety or custom logic. For financial services, custom logic is often needed to detect a returned account identifier or a disclosed internal policy, because a generic harm classifier will not know your data formats. Agree on the judge model and record its accuracy, since an unreliable scorer produces findings that are hard to defend in a review.

Memory for conversations and results

PyRIT memory stores conversations and results in SQLite or Azure SQL. Memory is the record an auditor or resilience reviewer will ask for, so decide where it lives, who can read it and how long it is kept. Customer-like content in the prompts and responses may itself be sensitive, so treat the database as regulated data. Confirm the retention period with your records team before the first run.

The pyrit_scan command for repeatable runs

The pyrit_scan command runs packaged assessments from the terminal, which suits a test you repeat after each model, prompt or retrieval change. Repeatability matters for operational resilience reviews because you must show the same test ran before and after a change. Keep scan configuration in version control and record which build of the assistant each run tested.

CoPyRIT for human-led testers

CoPyRIT is the web GUI for human-led red teaming and team collaboration. Fraud and social-engineering testing often needs a tester who adapts the approach turn by turn, which a fixed scan cannot do. Plan group-based access so that only approved testers reach the instance, and keep separate instances for teams with different data permissions.

How to test scam and fraud content in customer-facing assistants

Start by writing objectives as concrete attacker goals, not topics. For a banking or insurance assistant, the useful objectives cover social engineering of customers (getting the assistant to reveal account steps, reset details or one-time codes for someone who is not the account holder), impersonation of staff (a user claiming to be a relationship manager, fraud analyst or branch employee to obtain exceptions), fraudulent payment instructions (changing a beneficiary, raising a limit or routing funds to a new account on the strength of a claimed urgent request), and insurance claim manipulation (coaching a claimant to misstate a loss, pre-approving a payout or inventing supporting detail). Each objective should name the assistant function it touches, the data or action it could expose, and the outcome that counts as a failure. Write these with the fraud and conduct teams, since they know which scams are live in their channels.

Choose multi-turn strategies by the shape of the objective. PyRIT supports Crescendo, TAP and Skeleton Key, and they suit different failures. Crescendo escalates gradually and is a reasonable fit for objectives where the assistant might drift from general guidance into account-specific steps over several turns. TAP searches over candidate attack paths and suits objectives where the team wants to explore many phrasings of the same payment or claim request. Skeleton Key tests whether a single framing can shift the assistant's behavior for the rest of a session, which matters for staff impersonation. Compare the cost of each strategy in model calls and run time against the risk the objective carries, and record the reason for each choice so reviewers can follow it later.

Scoring must reflect the institution's own fraud policy, not a generic harm scale. A response that gives a customer step-by-step guidance for a funds transfer may be acceptable in one bank and a policy breach in another, so define the pass and fail conditions in writing before the first run. Confirm dataset fit with the fraud and conduct teams before running anything: check that the scam examples match current typologies, that the staff impersonation scenarios reflect how the institution verifies identity, and that synthetic customer details cannot be mistaken for real records. Agree who signs off on the scorer criteria and on any change to them during the test, because a scorer edited mid-run makes results hard to defend in an operational resilience review.

How a PyRIT assessment of a banking assistant crosses trust boundaries

The assessment starts with a tester or a scheduled pyrit_scan run, where converters and attack strategies build the prompts. Those prompts reach the banking assistant inside the institution network, which calls its retrieval store and document ingestion path. Responses pass to scorers, and every conversation and result lands in SQLite or Azure SQL memory. Check which model endpoints sit outside the boundary, since those calls carry customer-related test data across it.

Trust boundaries in a PyRIT run against a banking assistant and its retrieval path.

Testing customer data leakage with synthetic records only

Leakage tests check whether the assistant reveals account, card or policy data it should not disclose, whether that data sits in its system prompt, its retrieval store or the results of the tools it calls. Seed the test environment with synthetic customer records, including invented account numbers, card-like values that fail real issuer validation, and fictitious policy documents, then aim PyRIT's data leakage prompts at the assistant's chat interface, its retrieval layer and its tool calls. Record every conversation in PyRIT memory so the team can show which record appeared, in which turn and through which path. Confirm before the first run that the test environment holds no production data, and that the synthetic values cannot be mistaken for live cardholder data by anyone reviewing the logs.

The PCI DSS question comes first, because it decides how much of the surrounding environment the team must document. PCI DSS applies to entities that store, process or transmit cardholder data, and also to systems that could affect the security of the cardholder data environment. An assistant that reads card data from a tool, or that sits in a path to a payment system, may bring the assistant and its test infrastructure into scope. Ask your Qualified Security Assessor or internal assessor to confirm that boundary in writing, and bring the data flow diagram to that conversation. The PCI Security Standards Council's standard page is the starting reference for the assessor discussion.

Treat the PyRIT data leakage datasets as a starting point, not a complete customer data model. The built-in prompts cover common extraction patterns, but they will not know your account numbering scheme, your product names, your policy wording or the field names your core systems return. Write a small set of organization-specific objectives that mirror your data model, store them as seed prompts, and have a data owner review each one. Then score results with a scorer that checks for the exact synthetic values you seeded, which is more reliable than a general harm judgment for this purpose. Keep the scorer configuration and its accuracy check with the test record, since reviewers will ask how a leak was detected.

What prompt injection through documents means for loan and claims workflows

What does prompt injection through documents look like in loan and claims files?

Document-borne prompt injection is instruction text hidden inside a file the assistant reads, such as an uploaded bank statement, claim form or PDF, that tries to override the assistant's own instructions. In a loan file the text might sit in a footnote, a white-on-white layer or document metadata and ask the assistant to approve an application or reveal another customer's record. In a claims workflow the same pattern can appear in a free-text incident description or a scanned attachment that has been OCR'd. The risk depends on whether the assistant treats extracted text as data or as instructions. Confirm with your own team which document types the assistant ingests, how text is extracted (native text, OCR or both) and which fields feed downstream decisions.

How do we plant test payloads in a staging document pipeline?

Plant payloads only in a staging copy of the pipeline that mirrors production ingestion, with synthetic customer data and no connection to live core banking or claims systems. Start by listing each ingestion path: upload portal, email intake, batch import and any document management connector. For each path, create test files with the same extraction steps production uses, then embed clearly labeled test instructions in the body, footers, metadata and image layers. Keep a register of every planted file, its payload and the expected safe behavior so results can be traced later. Confirm with your platform owner that staging storage, logs and retention policies match the rules that govern test data in your organization.

Which PyRIT converters and document converters apply to this test?

PyRIT converters transform prompts before they reach the target, and its documentation describes document, audio and image converters alongside encoding and LLM-based rewrites. For document-borne injection, the relevant point is that a converter can help package an injected instruction in the form a document pipeline would deliver it. Converters that change only part of a prompt are useful when you want to keep the surrounding document text realistic while varying the embedded instruction. Confirm which document converters are present in the PyRIT version you pin, since the converter set has changed across releases, and test each converter's output against your extraction step before relying on it. The PyRIT documentation is the natural next read for the current list.

How do we score whether the assistant followed an embedded instruction?

Scoring should decide whether the assistant's output or action matches the planted instruction, not whether it sounded compliant. PyRIT scorers can use an LLM judge, Azure AI Content Safety or custom logic, so you can combine a rule check with a judge. Useful rule checks look for a specific canary string, a forbidden field name, a disclosed account number from the synthetic set or an approval decision the test instruction asked for. Pair each planted payload with a named success condition and a named safe outcome, then measure the scorer against a small hand-labeled set before trusting it. Record the scorer output in memory so an auditor can trace each result to its input file.

What permissions should the assistant's tools have during testing?

During testing, the assistant's tools should have the minimum permissions needed to show whether an injected instruction can cause harm, and those permissions should point only at synthetic or sandboxed systems. Read access to a test document store is usually enough to observe extraction behavior. Write, approval, payment or messaging tools should either be stubbed to log the call without acting or be connected to a sandbox that cannot reach customer records. Service accounts should be separate from production identities, credentials should come from a secrets store, and every tool call should be logged. Confirm these settings with your security and application teams, and record the exact tool scopes used so the test can be reproduced.

Can our own team run document injection tests without a partner?

Yes, a team with Python skills, access to a staging pipeline and an owner for the assistant's tools can run these tests in-house, provided the work is scoped and recorded. The effort depends on the number of ingestion paths, the document types, the number of tool integrations and how much of the scoring is custom. Cost components are staff time for pipeline access, test design, scorer tuning and reporting, plus infrastructure for the staging environment and any model usage that PyRIT triggers. Where a partner helps, the written scope should state which paths, document types and tools are covered, what evidence is delivered and whether retesting is included. DeployOpen plans and runs such scopes as fixed-scope engagements, and a quote follows from the written scope.

What evidence should a loan or claims test leave behind for review?

The evidence should let a reviewer trace each result from the planted file to the assistant's output and any tool call. For each test, keep the file hash, the payload, the extraction output, the target response, the scorer result and the tool permissions in force at the time. Retain the register of planted files and the list of ingestion paths covered, and note any paths that were out of scope. Store PyRIT memory records and exports under the same retention rules as other test artifacts. Confirm with your risk and compliance teams which format they accept, since they will decide how the evidence is used in operational resilience and model risk reviews.

What should we confirm before we start a document injection test?

Confirm the written rules of engagement, the staging boundary and the owner of each system the assistant can reach. Check that no planted file or test instruction can leave the staging environment, that customer data in test files is synthetic and that logs are handled under your data policy. Confirm which PyRIT version and document converters you will pin, the Python version your team supports (the documentation recommends Python 3.13 for PyRIT), and where credentials will be stored. Agree in advance how findings will be reported, who receives them and how fixes will be retested before the assistant moves toward production.

How a PyRIT red teaming program for a financial assistant is rolled out

The sequence moves from a written scope to tested, calibrated runs and then to fixes, retests and handover. The result is a set of findings, memory records and runbooks that a financial institution's risk and operational resilience reviewers can follow.

  1. Agree scope and objectives in writing

    Before any testing, the client and DeployOpen agree in writing which assistant, channels, data sources and user roles are in scope, which harms are tested (scam and fraud content, customer data leakage, prompt injection through uploaded documents) and what evidence the review needs. The client names the business owner and the security contact who approve test rules. The step is done when the signed scope lists targets, out-of-scope systems, permitted test data and the escalation path for a serious finding.

  2. Set up environment and credentials

    DeployOpen installs PyRIT in a controlled environment, typically a test copy of the assistant, and configures its credentials and settings from the client's secrets store rather than from files on shared machines. Test accounts mirror real customer and staff roles but hold only synthetic or masked records. Memory is pointed at a database the client controls. The step closes when a connectivity check reaches the target from the test host and an access review confirms which identities can run attacks and read results.

  3. Calibrate datasets and scorers

    The team selects or writes the objectives and seed prompts for each harm, including fraud scenarios, leakage probes against synthetic customer records and injected instructions inside sample policy documents. Scorers are then checked against responses that a human reviewer has labeled, and the measured scorer accuracy is recorded alongside the decision to accept or adjust each scorer. The output is a calibration log that shows which scorers were trusted and on what evidence.

  4. Run tests and capture memory

    DeployOpen runs the agreed attack strategies against the target in the approved window, with rate limits and retries set so the assistant's service stays within the agreed load. PyRIT stores every conversation, score and attack configuration in memory, so each result can be traced back to its prompt, target version and run. The step is complete when every planned objective has a recorded outcome, and any run that stopped early is logged with the reason.

  5. Triage findings and agree fixes

    Each successful attack is reviewed by a person, not only by the scorer, and classified by harm, affected data and exploitability. DeployOpen proposes fixes such as system prompt changes, tool permission limits, document sanitization, output filters or logging changes. The client's engineering and risk owners accept, reject or reschedule each fix with a stated reason. The output is a triaged findings list where every accepted finding has an owner and a planned change.

  6. Retest the fixed assistant

    After the client applies the agreed changes, DeployOpen reruns the same objectives and seed prompts against the updated assistant, using the same scorers and calibration settings so results are comparable. Findings that remain open are documented with the reason and the compensating control. The step is done when each finding is marked closed with a retest record, or open with an accepted risk note.

  7. Hand over evidence and runbooks

    DeployOpen delivers the scope document, calibration log, memory export, findings report, retest results and runbooks for repeating the tests, covering setup, credential rotation, scorer checks and reporting. The client reviews the package with its compliance and operational resilience teams so that they can answer questions about test coverage and results. The handover is complete when the client confirms it can rerun the scenarios without DeployOpen, and the evidence is stored in its own systems.

Which compliance reviews a PyRIT results pack can support

A PyRIT results pack is input to several reviews, but each review belongs to a different owner. Some items DeployOpen can prepare evidence for, while others are attested by the institution, examined by a supervisor, or judged by an independent auditor.

DORA ICT risk and resilience testing

DORA, Regulation (EU) 2022/2554, has applied since 17 January 2025 to financial entities in its Article 2 list, and its Chapter II and Chapter IV require ICT risk management and digital operational resilience testing. A PyRIT run log, scenario list and remediation record can show that AI assistants were tested as part of that programme. The supervisor decides whether the programme is adequate, so confirm with your competent authority which evidence format it expects.

DORA text

Register of information and contract terms

DORA Article 28(3) requires a register of all ICT contractual arrangements, and Article 30(2) requires contracts to state where data is processed. PyRIT sends test prompts and may send customer-like data to model endpoints, so the register should list every target, scorer model and memory store used. Confirm that each provider's contract covers the locations and data return terms that apply to test traffic.

Swift CSP annual attestation

Swift users must have the Customer Security Controls Framework controls independently assessed and attest compliance each year in the KYC-SA application. The attestation is made by the institution, not by DeployOpen. PyRIT results can support the evidence for any control that concerns application security or access to AI systems, but the institution and its independent assessor decide which controls the evidence covers.

Swift controls

SEC Item 106 cybersecurity disclosure

For listed firms, Regulation S-K Item 106 covers cybersecurity risk management and governance disclosure. A red teaming record can inform the description of how risks are identified and assessed, but it does not itself create a disclosure. Legal counsel and the disclosure committee decide what is stated publicly, and DeployOpen does not draft those statements.

Item 106 text

FTC Safeguards Rule multi-factor authentication

For non-bank lenders under FTC jurisdiction, 16 CFR 314.4(c)(5) requires multi-factor authentication for any individual accessing any information system, unless the Qualified Individual approves an equivalent control in writing. If a lending assistant or its admin console is in scope, PyRIT attempts to bypass authentication or reach admin functions can produce evidence. Confirm with counsel whether the Qualified Individual's approval is needed for any alternative control.

Part 314 text

SOX ITGC evidence for AI systems

SEC Release 33-8810 names program changes, access to programs and data, and computer operations among the IT general control areas relevant to Section 404 assessments. If an AI assistant feeds financial reporting, PyRIT results on access, prompt changes and model version changes can serve as supporting evidence. The external auditor determines whether controls are effective, so agree the evidence format and sample design with them before testing begins.

How much work does PyRIT red teaming for a bank or insurer take, and what do we provide?

What makes PyRIT red teaming cost more or less for a bank or insurer?

The main drivers are the number of assistant surfaces in scope, the document types the assistant reads, how complex the target is to connect, how deep the evidence must go, and how much retesting is included. Each assistant (a retail banking chatbot, a claims assistant, an internal advisor for agents) adds its own target setup, its own harm objectives and its own scoring review. Document-driven assistants add work because prompt injection tests need realistic files in PDF, Word, spreadsheet and email formats. A target behind a single custom HTTP endpoint is quicker to connect than a web chat UI driven through Playwright or a multi-step agent with tools. Evidence depth covers how many runs are repeated, how results are exported, and whether a reviewer needs to trace every conversation in PyRIT memory. Retest scope depends on how many findings are fixed and how many need confirmation. Ask the partner to show how each driver maps to a line in the written scope.

What does the institution need to provide before PyRIT testing starts?

The institution provides a non-production test environment that matches the production assistant closely enough to be a fair test, with the same model versions, system prompts, retrieval sources and guardrails where possible. It also provides synthetic customer and policy data, because red teaming for data leakage should never use real customer records. Named owners are needed for the assistant, for the data sources it reads, for identity and access, and for the risk function that will accept or reject findings. Access includes service accounts or test credentials with the same permissions a real user would have, API or endpoint documentation, network paths from the test host, and a decision on where PyRIT's SQLite or Azure SQL memory will be stored. Confirm with your security team how test traffic will be logged and whether it must pass through your existing monitoring.

Can our internal team run PyRIT for financial services assistants by itself?

An internal team with Python skills and some security testing experience can install PyRIT from PyPI, run its packaged scans with pyrit_scan, and build custom attacks in the Python framework. PyRIT is an open source project under the MIT license, so there is no license fee to pay for the tool itself. The harder work is the financial-services part: writing objectives that reflect scam and fraud patterns in your products, designing leakage tests that fit your data model, building document injection cases, deciding what counts as a failure under your risk appetite, and producing evidence that a supervisor, auditor or internal audit team will accept. Recurring work includes keeping PyRIT upgraded across breaking releases, rerunning tests after each assistant change and maintaining the test environment. Estimate that internal effort honestly against your staff's available time.

Which regulatory obligations change how much evidence we need from the tests?

The obligations determine the depth of evidence more than the tooling does. DORA, Regulation (EU) 2022/2554, applies to 20 types of financial entity and has applied since 17 January 2025. Its Chapter IV covers digital operational resilience testing, and Article 26(7) is the only authority-issued attestation the Regulation provides for, covering threat-led penetration tests that met the requirements. Ordinary AI red teaming results are not that attestation, so ask whether your supervisor expects them as supporting evidence. PCI DSS applies if the assistant can affect cardholder data, and the PCI SSC does not enforce compliance itself. Your effort rises when the assistant touches regulated data flows, because the test record must show what was tested, how it was scored and how it was fixed. Confirm your scope with your compliance team and with the relevant assessor.

What should we ask a partner to include in a written quote for this work?

Ask for a written scope listing each assistant surface, each document type for injection testing, each target connection method and each harm category, with the datasets and scorers that will be used. The quote should name the deliverables: a findings report with reproduction steps, exported conversations, a list of fixes, and a retest against the same objectives. It should state what the institution must provide, including test data, named owners and access, and what happens if those are late. Ask which costs are one-time (setup, objective design, initial runs) and which recur (retests, upgrades, rerun after model changes). Ask how the partner handles PyRIT version upgrades, what evidence format it will deliver, and what is excluded, such as production testing or certification. DeployOpen works to a written scope agreed before work starts and does not publish a price list, so a quote follows from that scope.

How long does a PyRIT engagement for a bank or insurer run, and what sets the schedule?

The schedule depends on how many surfaces are in scope, how quickly the test environment and synthetic data are ready, how many findings need fixing, and how many retest cycles the scope includes. DeployOpen does not publish durations, so the timeline should come from the written scope and not from a generic figure. The biggest schedule risk is usually the institution's own readiness: an environment that is not ready, access requests that take weeks, or unclear owners who cannot decide on risk acceptance. Ask the partner to show the critical path, the points where your team must act, and the dates for each retest. Keep in mind that changes to the assistant's model or prompts can require a rerun of part of the test set.

Does the work include ongoing testing after the first engagement?

The first engagement produces a baseline, and the question is how often you rerun it. Ongoing testing is available as a retainer, and it fits assistants that change often, such as new prompts, new document sources or a model swap. A retainer can cover scheduled reruns of the same objectives, upgrades when PyRIT releases change its architecture or scoring, and review of new findings. Ask the partner to specify what triggers an extra test, such as a change in the model provider or a new product launch, and whether that work is counted against the retainer or quoted separately. Confirm internally which changes your change management process must route to security before release.

How DeployOpen works on this

DeployOpen plans, runs and documents PyRIT red teaming for banking and insurance AI assistants inside the client's own infrastructure. Work is agreed as a fixed-scope engagement, with findings, fixes and retesting delivered in writing, and ongoing testing available as a retainer.

How we scope

  • Written scope names the assistants, data sources, tools and document pipelines in the test.
  • Harm categories such as scam content, fraud guidance and customer data leakage are agreed before any attack runs.
  • Deliverables, timelines and evidence formats are fixed in writing before work starts, and a quote follows from that scope.

How we build

  • PyRIT targets are configured for the client's chat assistant, document ingestion path and any custom HTTP or WebSocket endpoints.
  • Attack runs cover single-turn and multi-turn strategies, prompt injection through uploaded documents, and synthetic customer data for leakage tests.
  • Scorers, memory settings and credentials are set up in the client's environment, with secrets kept out of shared configuration files.

How we hand over

  • Findings report lists each reproducible failure with its conversation record, severity and the control it affects.
  • Fixes are recommended for prompts, guardrails, tool permissions and retrieval access, then retested with the same PyRIT scenarios.
  • Documentation maps results to the evidence a risk or operational resilience review will ask for, so the client's teams can reproduce the runs.

How we support

  • Retesting after each model, prompt or document pipeline change can be added to the engagement scope.
  • Ongoing support and continuous testing are available as retainers, agreed in writing.
  • Clients should confirm which PyRIT release, Python version and storage backend their security reviewers have approved before testing begins.

Sources and further reading

Talk to our team.

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.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.