Why promptfoo red teaming for financial services AI starts with data and evidence
A bank, wealth manager or payments team that puts an AI assistant in front of customers has to show, before launch and after every change, that the assistant will not miscalculate a balance, disclose confidential account data or give advice that breaks a compliance rule. Repeatable evidence is what those reviews ask for, and a one-off demo does not provide it. The starting point is to define which failures matter for this assistant, which controls in your program they map to, and who signs off on the results. Those decisions come before any test runs.
promptfoo fits this work for practical reasons. It is licensed under the MIT license, so your legal and procurement teams can review the terms directly, and its documentation states that evals run on your machine and talk directly with the model, which helps when you need to confirm where prompts and responses travel. The CLI and library can be called from CI/CD pipelines, so the same red team configuration can run on every model, prompt or retrieval change instead of only at release. Confirm with your security team how the scan traffic and any results are handled under your data policies before you point it at production-like data.
What changes is the form of the result. Each scan produces a configuration, a set of test cases and a run record that can be tied to controls already in scope, such as change management, access control and the evidence your internal audit or SOX testing already expects. Map each financial plugin or custom test to a named risk owner and a control reference, and agree in advance what a failing result blocks. Testing does not replace your control design or an independent assessment, but it gives reviewers a traceable record of what was tested, when and against which version of the assistant.
Which financial requirements shape the AI test scope
This table maps five financial requirements to the parts of a banking, wealth or payments assistant they touch and the tests that follow from them. Read each row as an input to scope: it names what the requirement asks, what an assessor will look for, and where promptfoo red teaming should focus. None of these rows is a certification or an audit result.
| Requirement | What it asks for | What it means for the assistant build and test plan |
|---|---|---|
| PCI DSS v4.0.1 scoping | Applies to entities that store, process or transmit cardholder data or could affect that environment. Scope is set by the data and systems involved. | Confirm whether the assistant can see, echo or log card numbers or authentication data. If it can, include cardholder data leakage and log exposure cases in red team plans and keep the assistant outside the cardholder data environment where possible. |
| DORA Articles 28 and 30 (ICT contracts and exit plans) | Article 28(3) requires a register of ICT contracts. Article 28(8) requires tested exit strategies for ICT services supporting critical functions. Article 30(2) requires contracts to state where services and data are processed and cover data return. | Record the model provider, gateway and hosting location in the register. Test whether the assistant reveals hosting regions, vendor names or data handling terms it was not meant to disclose, and include a provider-swap test in the exit plan. |
| SEC Release 33-8810 (SOX 404 IT general controls) | Names program development, program changes, computer operations and access to programs and data as example IT general control areas for internal control over financial reporting. | Treat prompt, model and configuration changes as program changes. Test that assistants cannot alter ledger data or reporting outputs, and keep evidence of who approved each prompt or model change, with red team runs linked to each release. |
| FTC Safeguards Rule, 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. | Test whether the assistant can be reached without the sign-in path, whether admin or tool interfaces skip MFA, and whether account takeover prompts can bypass step-up checks. Record any approved equivalent control in writing. |
| Swift CSCF v2026 attestation | 32 controls, 26 mandatory and 6 advisory. Independent assessment and annual attestation in the KYC-SA application for Swift users. | If the assistant touches Swift messaging or payment operations, map its access, logging and admin controls to the relevant controls. Use red team findings as inputs to your own assessment, and confirm with your assessor which controls apply to your architecture. |
Which promptfoo settings and integrations matter for banking and payments assistants
A financial red team is only as useful as its setup. The plugin choices, the purpose statement, the connection to the assistant, the access model, the handling of test data and the place results are kept each change what the scan can find and who can see it. The cards below take these in the order a team usually configures them.
Financial plugin selection
Choose plugins for the failures your assistant can actually cause: wrong balances, fee or interest calculations, disclosure of confidential account or pricing information, and responses that break disclosure or conduct rules. Run only the plugins that match the assistant's product, then add custom cases for your own rules. Ask which plugins are in the Community edition and which need Enterprise before you commit to a scope, and confirm the current plugin names in the docs.
Red teaming docsPurpose and grading tied to permissions
The purpose statement tells the attacker-model and the grader what the assistant is allowed to do. Describe the real permissions: which accounts it can read, whether it can initiate payments, and which actions need human approval. A grader that does not know a payment requires confirmation will miss unauthorized transfers. Review the purpose text with the product owner and the fraud team, and write it down as part of the test evidence.
Target connector to the assistant and tools
Point the scan at the assistant as users reach it, including its system prompt, retrieval layer and tool calls. Testing only the base model misses the account lookup, transfer and limit tools where the serious failures happen. Confirm that the connector can carry session identity and that test traffic never reaches live customer records or payment rails. Use a sandbox with synthetic accounts.
Access controls: Enterprise SSO and roles
Community use depends on who can run the CLI and read local files, so the account boundary is the workstation. Enterprise adds teams-based access control, SSO, custom roles and permissions. Ask your security team to map who may launch scans, view findings and change plugin or purpose settings, and confirm which of these controls the edition you buy provides before you rely on them for a banking review.
Pricing and editionsHandling account-like test data
Red team prompts often include lookalike account numbers, card patterns and personal details. Use synthetic values that match the format your systems expect, not copies of production data. Review what gets sent to the model provider under the scan, what is logged, and whether your data handling rules allow it. Keep any real data out of prompts and out of stored reports.
Where results are stored
Decide where findings live before the first scan. The self-hosted server stores data in a local SQLite database that cannot be shared across replicas, has no RBAC, horizontal scaling, built-in authentication or SSO, and is not recommended for production use. For a bank, that means a single-instance server is suitable only for evaluation, and production evidence needs an Enterprise or On-Premise deployment with access controls and retention you can explain to auditors.
Self-hosting docsWhere hosted test generation fits and where it does not
Some financial services teams can send prompts to a hosted generation service, provided the data in those prompts is synthetic or otherwise approved for that transfer. In this setup, test generation runs against the provider's service, while promptfoo itself still runs on your machine or in your pipeline and talks directly to the assistant under test. Your policy should decide which categories of content may leave the network before any scan starts.
- Synthetic account profiles: Generate fictional customers, balances and transaction histories so that no real cardholder or account data is included in the prompts.
- Scope of the provider agreement: Confirm how the provider retains, logs and uses submitted prompts and generated outputs.
- Red team configuration: Keep plugin and strategy choices in version-controlled config so reviewers can see exactly what was generated.
- Local execution: Run the scan from a controlled workstation or runner, since promptfoo runs locally.
- Output review: Treat generated attack prompts as sensitive test artifacts and store them under your normal retention rules.
Before you enable hosted generation, confirm the provider's data handling terms and your internal approval for each data category.
Many banks, payment processors and wealth managers cannot send prompts or outputs outside their own network, even when the content is synthetic. For these teams, promptfoo's local operation is an advantage, because evals run on your machine and talk directly with the model under test. The question is then where the rest of the workflow lives, including the server, shared results and any generation step that calls an external service.
- Local CLI runs: Execute evals and red team scans from hosts inside your network, with the model endpoint reachable from there.
- Self-hosted server limits: The self-hosted app stores data in a local SQLite database that cannot be shared across replicas, has no RBAC, horizontal scaling, built-in authentication or SSO, and is not recommended for production use.
- On-Premise edition: promptfoo On-Premise runs the Enterprise functionality on your own infrastructure with complete data isolation and a dedicated deployment engineer.
- Access control: Plan how team members reach shared results if you need SSO, teams-based access control or custom roles.
- Model endpoint placement: Decide whether the assistant under test runs in a cloud account you control or on-premises.
Confirm which components of the workflow make outbound calls before you approve a scan plan.
Some institutions run assistants in segments with no general internet egress, or with allowlisted destinations only. In these environments, the first step is to map every network path the testing workflow needs, including package installation, the model under test, any hosted generation service and report storage. Each path should be approved, mirrored internally or removed.
- Package delivery: Plan how the promptfoo package and its Node.js runtime reach the isolated network through an internal mirror or approved transfer process.
- Internal model endpoints: Point promptfoo at an assistant or inference service inside the restricted zone.
- Hosted generation: Assume it is unavailable unless the security team approves a specific, documented path.
- Updates and versions: Schedule upgrades through your change process, and confirm the Node.js version your release requires.
- Evidence handling: Decide how results leave the segment, if they do at all, and who approves the transfer.
Confirm the exact egress rules with your network security team and test the workflow in the restricted segment before relying on it.
Testing against data that resembles real customer records raises the stakes for every environment above. Even when the scan runs locally, the prompts, responses and logs may contain information that falls under confidentiality, privacy or payment rules. Agree on the approval path with your model provider and your security team before any run touches customer-like content.
- Provider terms: Ask the model provider how prompts, outputs and logs are retained, whether they are used for training, and which regions process them.
- Data classification: Have the security team classify the test inputs and the expected outputs under your existing scheme.
- Environment separation: Use non-production accounts and synthetic records unless a documented exception applies.
- Log and report handling: Check where promptfoo results, transcripts and red team reports are stored and who can read them.
- Sign-off: Record who approved the data categories, the endpoints and the retention period.
Do not run scans against live customer-like data until these approvals are written down and the environment is confirmed.
How a financial red team run moves through your trust boundaries
The run starts in a promptfoo CLI or CI job on a machine you control, which selects financial plugins and attack strategies and sends generated probes to the assistant under test. The assistant calls its model provider and reads its tools and data sources inside your environment, so those hand-offs are where data leaves your boundary. Check which model provider is used for attack generation and grading, and where the results store sits, before you approve any run that touches account or payment data.
Probe, model and grading hand-offs for a financial red team run.
How a financial services red team rollout runs in phases
The sequence moves from agreed scope and grading criteria through a baseline scan, triage and pipeline gating to a retest cadence, so each finding has an owner and each release is checked against the same rules.
Scope the assistant and its permissions
Work with the product owner, the risk function and compliance to write down what the assistant can see and do: account data it can read, payment or transfer actions it can initiate, the tools and APIs it calls, and the customer segments it serves. Record which systems hold cardholder data or customer financial records, since that decides which controls and evidence matter. The step is done when the scope document names the assistant version under test, its permissions and its data sources, and the risk and compliance owners have signed it.
Agree plugins and grading criteria in writing
Select the promptfoo financial plugins that match the scope, such as those for calculation errors, confidential disclosure and compliance violations, and add any plugins for the assistant's tools or data. For each plugin, write the expected safe behavior and the failure condition that the grader will apply, and agree who can change them. Ask the vendor or your own team to confirm which grading model runs and where prompts and responses are sent under your data handling rules. The step closes when the plugin list and grading criteria are approved in writing.
Run a baseline scan in non-production
Point promptfoo at a staging deployment of the assistant with test accounts and synthetic financial records, never live customer data. Run the agreed plugin set and keep the full output, configuration and version details so the run can be repeated. Confirm that the target can be reached from the machine running the scan and that the run does not write to production payment or ledger systems. The step is done when a complete baseline report exists and its configuration is archived with it.
Triage findings with remediation owners
Review each failure with the engineers who own the prompts, tools and permissions, and with someone from risk or compliance who can judge whether the output would breach a policy. Separate grader false positives from genuine failures, and assign each confirmed finding a severity, an owner and a fix or an accepted-risk decision that is signed off. Keep the triage record, since it becomes evidence of how the organization responded. The step is done when every finding has a recorded disposition.
Add the scan to the release pipeline
Wire the agreed scan into the pipeline that builds and deploys the assistant so that a prompt, model or tool change triggers it against staging. Define the pass criteria the team agreed earlier and decide whether a failure blocks release or opens a ticket for review. Check how results are stored and who can read them, and confirm that pipeline credentials for model providers are handled under the organization's secrets policy. The step is done when a deliberate test change produces the expected gate result in the pipeline.
Set a retest cadence and review trigger
Define when the full red team runs again, such as after material changes to the model, prompts, tools, data sources or regulatory obligations, and when the baseline plugin set is reviewed. Assign an owner for keeping the scope document current and for reviewing new findings from production monitoring or incidents. The step closes when the cadence, triggers and owners are written into the governance records and the first scheduled retest is on the calendar.
What financial teams ask before hiring help with promptfoo red teaming
What drives the cost of a promptfoo red teaming engagement for a financial assistant?
Cost follows the written scope, so the main drivers are how many assistants and endpoints are under test, how many integrations and tools each one calls, how many environments are covered, and what evidence format your reviewers need. A single chat assistant with no tools is a much smaller job than a banking assistant that reads account balances, initiates transfers and calls a card processor. Ask any partner to price each assistant, integration and environment separately, and to state which items are one-time (plan, configure, run the first red team, write the report) and which recur (retests, scheduled scans, retainer support). Note that promptfoo itself is free under the MIT license for the Community features, so the cost of an engagement is mostly people time and any paid promptfoo edition you choose to add. DeployOpen does not publish a price list; a quote follows from the agreed scope.
How long does a promptfoo red teaming engagement take?
The timeline depends on how quickly your team can provide access and documentation, how many assistants are in scope, and how much remediation work follows the first findings. The first scan is usually the shortest step; the time goes into agreeing the purpose and plugins, getting test accounts and tool documentation in place, reviewing results with the owners of each assistant, and retesting after fixes. Ask for a written schedule with milestones and a named point of contact on your side, and confirm which steps depend on your approvals. Because engagements are fixed-scope, any change to the number of assistants or environments should be reflected in an agreed change to the schedule.
What does the bank's staff need to provide for the work?
Expect to supply four things: test accounts with realistic but non-production data, documentation for every tool and API the assistant can call, a named owner for each assistant who can answer questions about intended behavior, and access approvals for the systems the test touches. Test accounts should be scoped so that a red team probe cannot reach live customer funds or records. Tool documentation should cover parameters, permissions and the limits the assistant is meant to respect, because those define what a failure looks like. Confirm early which network paths, credentials and change windows your security and change teams require, since these approvals often set the pace of the work.
Can an internal team run promptfoo red teaming without a partner?
Yes, an internal team can run promptfoo on its own, because the Community edition is free under the MIT license and includes red teaming with 10k probes per month. The team needs working knowledge of Node.js (promptfoo's npm release 0.124.1 requires Node.js 22.22.0 or newer), configuration of providers and targets, and enough security judgment to write financial-specific test cases, interpret grading and decide what counts as a material failure. Teams also need someone who can own the findings, track fixes and retest. Many organizations split the work: internal staff run recurring scans, and an outside partner designs the initial test plan and reviews the results. Ask any partner which parts of that split they cover and which stay with you.
What does the MIT license cover, and what requires paid Enterprise or On-Premise?
promptfoo is licensed under the MIT license, which covers the open-source software you install and run, including its LLM evaluation features, model providers, integrations and red teaming with 10k probes per month in the Community edition. The paid promptfoo Enterprise edition adds team sharing, teams-based access control and SSO, custom roles and permissions, continuous monitoring, a centralized guardrail dashboard, remediation recommendations and priority support with SLAs, at custom pricing. promptfoo On-Premise runs that Enterprise functionality on your own infrastructure with complete data isolation and a dedicated deployment engineer. Note that the self-hosted app stores data in a local SQLite database that is not recommended for production and has no RBAC or built-in SSO, so a team sharing results across the bank will need to plan authentication and access control carefully. Confirm current terms directly with promptfoo, since licensing and pricing are its decisions.
Does DeployOpen's red teaming output count as an audit or attestation?
No. DeployOpen delivers testing, findings, fixes and retest evidence, and that evidence can support a compliance assessment, but it is not an audit report, attestation or certification. Under PCI DSS, for example, the assessment is documented by a Qualified Security Assessor (Report on Compliance) or a Self-Assessment Questionnaire with an Attestation of Compliance, and the payment brands decide who must validate. Under DORA, no certification scheme exists for this kind of testing. Your independent auditor or the relevant authority decides what the evidence is worth. Ask your auditor early which artifacts they will accept, such as test plans, scan logs, findings reports and retest records, so the engagement produces the right format.
What evidence format should we ask for in the deliverables?
Ask for evidence that a reviewer outside the project can follow without the testers present. In practice that means a written scope and purpose, the list of plugins and strategies used, the target configuration with secrets removed, raw scan outputs, graded findings with severity and reproduction steps, the fixes agreed with each owner, and retest results showing what changed. If your compliance team maps controls to the OWASP LLM Top 10, the NIST AI Risk Management Framework or the EU AI Act, ask for the mapping in a format they can file. For SOX-related work, confirm whether the evidence needs to tie to change management and access records. Agree the format in the scope document so it is not reworked at the end.
Compliance questions that testing evidence supports but does not settle
Red teaming output can feed several financial compliance reviews, but each review has its own owner and its own evidence standard. The cards below separate the questions where promptfoo results help from the decisions that remain with your auditors, assessors, regulators and control owners.
SOX 404 ITGC evidence for AI changes
SEC Release 33-8810 names program changes and access to programs and data as IT general control areas in a SOX Section 404 assessment. If your assistant's prompts, models, tools or routing rules change, those changes may fall within the scope of your change management controls. Ask your auditors which promptfoo configuration files, run reports and approval records they will accept as evidence, and confirm who signs off each change before a red team run is treated as a control.
SEC Release 33-8810DORA register and exit inputs
DORA Article 28(3) requires a register of information covering all contractual arrangements for ICT services, and Article 28(8) requires documented, tested exit strategies for ICT services that support critical or important functions. If an AI model provider or hosted assistant platform supports such a function, red team results can inform the risk assessment for that vendor. Confirm with your legal and third-party risk teams which vendor records the register needs, and whether your exit plan covers prompt, log and evaluation data.
DORA textPCI DSS scoping for cardholder data
PCI DSS applies to entities that store, process or transmit cardholder data, or that could affect the security of the cardholder data environment. An assistant that can read card numbers, tokens, dispute details or payment history may bring its logs, prompts and vector stores into scope. Testing shows whether the assistant discloses such data, but scoping decisions depend on your data flow mapping and your qualified assessor's view. Ask whether your evaluation datasets and promptfoo outputs contain real cardholder data.
PCI DSS standard pageFTC Safeguards MFA for admin access
The FTC Safeguards Rule requires multi-factor authentication for any individual accessing an information system, unless the Qualified Individual approves an equivalent control in writing. If promptfoo server, red team dashboards or assistant administration consoles are reachable by staff, MFA applies to them as well. Note that the self-hosted promptfoo server has no built-in authentication or SSO, so access must be controlled by your identity layer. Confirm the written approval for any equivalent control.
16 CFR Part 314Swift CSCF assessment for payment messaging
The Swift Customer Security Controls Framework v2026 contains 32 controls, 26 mandatory and 6 advisory, and Swift users must have these independently assessed and attest compliance annually in the KYC-SA application. If an assistant touches payment messaging, operator tooling or message handling, its environment may fall within the controls. Testing can surface weaknesses in the assistant's ability to initiate or alter payment instructions, but control mapping and attestation rest with your independent assessor and your Swift submission.
Swift CSCF controlsWhat testing alone does not cover
A red team report is evidence of what was tested, against the plugins, strategies and scan size you configured. It does not issue an audit opinion, a Report on Compliance from a Qualified Security Assessor, or an Attestation of Compliance, and it does not establish that a regulator is satisfied. The PCI SSC does not enforce compliance, and the payment brands decide who must validate. Ask each assessor which artifacts they require, and keep test scope, dates and limitations documented so the report can be read accurately.
PCI SSC compliance certificates FAQWhat to ask a partner before you approve a financial AI red team scope
Before you sign, make the written scope fix three things: which promptfoo plugins and strategies will run, which environments they will hit, and which deliverables you will receive. Ask the partner to list each financial plugin by name, such as the ones covering calculation errors, confidential disclosure and compliance violations, and to state which assistant endpoints, test accounts and data sets are in scope. Ask whether the scope includes SOX-relevant areas such as access to financial reporting systems, or whether those are excluded. A scope that says only "test the chatbot" leaves the plugin list, the environments and the acceptance criteria open to interpretation, and those gaps are where disputes appear later.
Ask how the partner handles prompts that contain account-like data. Test prompts often need realistic-looking account numbers, card-like strings or balances, so ask whether the partner uses synthetic values, where generated prompts and model responses are stored, who can read them, how long they are kept and whether they are deleted at the end. Remember that promptfoo runs locally and talks directly to the model under test, but the model provider you choose may still process the traffic, so confirm which provider receives test data and under what terms. If your assistant falls within PCI DSS scope, ask the partner to explain how the test environment is separated from the cardholder data environment.
Ask whether the partner will deploy promptfoo On-Premise or Enterprise inside your infrastructure, or whether results will stay on the partner's own systems. Community edition is free and runs locally, but the self-hosted server is not recommended for production because its SQLite database cannot be shared across replicas and it has no built-in authentication or SSO. Ask who operates the server, how access is controlled, and how the partner would support a multi-team rollout. Also ask for the findings, fixes and retest records in a format your compliance team can keep, and confirm that the partner will not describe the work as an audit, attestation or certification. Those are issued by independent auditors or certification bodies, so confirm which of your assessors will rely on the evidence before the engagement starts.
How DeployOpen scopes and delivers promptfoo red teaming for financial AI
DeployOpen runs promptfoo red teaming for financial services AI as a fixed-scope engagement, with scope, deliverables and timelines agreed in writing before work starts. The work covers the assistant, the data it can reach and the controls around it, and ends with findings, fixes and a retest.
How we scope
- Written scope names the banking, wealth or payments assistant, its models, tools and data sources under test.
- Scope records which financial risks are in play, such as calculation errors, confidential disclosure and SOX-relevant controls.
- Scope states where test generation runs, so hosted-generation limits and data handling are agreed before any probes start.
How we build
- We connect promptfoo to the assistant through its provider or HTTP target configuration in your test environment.
- We configure red team plugins, strategies and grading criteria to match the agreed financial risks and your policies.
- We run scans, review grader results by hand, and separate true findings from noise before reporting.
How we hand over
- You receive a findings report with reproducible test cases, severity, affected flows and recommended fixes.
- Configuration files, scan settings and run instructions are delivered so your team can repeat the tests.
- A retest follows the fixes, and the report records which findings are closed, open or accepted by you.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial engagement.
- Confirm with us how promptfoo versions, plugin changes and model updates will be re-tested over time.
- Ask for a written quote that lists scope items, deliverables and what your team must provide during the work.

