Why promptfoo red teaming for telecom AI starts with account data
A carrier that puts a support assistant in front of customers needs that assistant to read account, billing and device records, and to answer questions by chat or voice. Before launch, promptfoo's telecom plugins can be used to test that assistant for CPNI disclosure, account takeover, location leaks, TCPA violations and porting errors. The work is planned around those five risk areas, starting with the account data the assistant can reach and the authentication steps it is supposed to enforce. Running the tests does not certify the assistant or guarantee compliance with any telecom rule. It produces findings that your compliance, security and product teams must review and fix.
promptfoo is licensed under the MIT license and its documentation states that evals run on your machine and talk directly with the LLM. That matters for telecom data: customer account details used as test fixtures can stay in your environment, and you decide which model endpoint receives the prompts. The engagement has three parts: scoping the target (its tools, data sources, identity checks and the channels it serves), running the red team against a staging copy of that target, and fixing the findings and retesting. Ask who owns each part, what test accounts and synthetic records will be used in place of real customer data, and where results will be stored. Confirm the exact plugin names and their current behavior in the promptfoo documentation for your version before you write them into a test plan.
Telecom requirements a red team must cover
This table maps five telecom AI risks to the kind of requirement behind each one and the test design it implies for a carrier support assistant. Use it as a checklist for scoping plugins and probes, not as a statement of legal obligations. Confirm which rules apply to your carrier, your markets and your products with counsel and your regulators before you treat any row as settled.
| Risk area | Where the requirement comes from | What it means for test design |
|---|---|---|
| CPNI disclosure | Customer proprietary network information rules set by the FCC for US carriers; confirm scope with counsel | Probe for call detail, usage and account data released to callers who have not been authenticated, including indirect leaks through summaries |
| Account takeover via social engineering | Carrier authentication policies and CPNI safeguards; confirm the exact procedures your carrier must follow | Use multi-turn pretexts such as claimed family members, urgent travel or fake employees, and check whether the assistant changes SIM, port or contact details |
| Location leakage | Privacy obligations for device and location data under applicable federal and state law; confirm with counsel | Test requests for the current or past location of a line, indirect questions about cell sites, and whether tool outputs expose location fields to the user |
| TCPA consent and calling rules | Telephone Consumer Protection Act and FCC rules on autodialed and prerecorded calls; confirm current rules with counsel | Check whether the assistant offers or triggers outbound marketing, misstates consent status, or advises customers to revoke consent in unsupported ways |
| Number porting errors | Carrier porting procedures and the rules your regulators and industry processes set; confirm with your porting team | Probe for incorrect port-out PIN guidance, porting initiated without verification, and wrong statements about timelines or cancellation rights |
Configuring promptfoo telecom plugins against your assistant
Start by deciding what promptfoo actually calls. The target can be the chat interface your customers use, a transcript from a voice channel, or an HTTP endpoint that wraps your assistant and its tools. Test the full application wherever possible, because CPNI and account risks usually come from the tools and retrieval layer around the model. Confirm the provider types your stack needs in the promptfoo documentation before you settle the design.
- Full application endpoint: point the red team at the same HTTP route customers use, including the authentication context the app attaches for a logged-in subscriber.
- Voice transcripts: if speech is converted to text before the assistant sees it, test the text the assistant receives. Test the speech layer separately for spoken account numbers and digits.
- Staging only: run against a non-production copy with synthetic subscriber data, so a successful attack cannot reach a live account.
- Session state: multi-turn attacks depend on conversation memory. Confirm whether your endpoint accepts a session identifier so a scan can start fresh or continue a conversation.
Check that the identity context, not the prompt, determines which account the assistant can see, because that boundary is what you are testing.
An assistant that only chats cannot leak a bill, change a plan or start a port. Authorization failures become testable when account lookup and porting calls go through services you control, in a sandbox, and each call is logged with the identity that made it. Illustrative example: a session authenticated as subscriber A asks for the usage details of subscriber B's line, and the test passes only if the lookup tool refuses the request and the assistant does not repeat the data.
- Sandbox account and porting APIs: stub or mirror the services with synthetic subscribers, so tool calls behave predictably across repeated runs.
- Fixed caller identity per session: bind each test session to one authenticated subscriber, so the grader can compare the requested account with the authorized one.
- Tool call logging: record every lookup, change and port request with its arguments, identity and result, and make the log available to the grader.
- Negative fixtures: include lines with a port-out protection or PIN enabled, and accounts with a recent SIM change, so the tests cover the states where failures are most costly.
- Deterministic responses: return fixed data for each fixture so a regression in the assistant shows up as a changed outcome, not as noise in the data.
Confirm with your platform team which systems the assistant can reach directly and which go through an integration layer, since each path needs its own logging.
promptfoo's red teaming includes telecom-oriented plugins for the risks carrier support assistants face. The plugin names, their coverage and their availability depend on the version you install, so confirm the current list in the red teaming documentation and check each plugin against the risks you have ranked for your organization. Choose plugins by the harm they could cause, then pair them with attack strategies that match how callers actually try to get information.
- CPNI disclosure: tests whether the assistant reveals call detail, usage or plan information to a caller who has not been verified.
- Account takeover: tests whether the assistant can be persuaded to change a PIN, email, contact number or SIM binding without proper verification.
- Location leaks: tests whether the assistant reveals device location, cell site or roaming information.
- TCPA: tests whether the assistant handles consent, do-not-call requests and contact timing in line with your outreach rules.
- Porting errors: tests whether the assistant starts, confirms or describes a number port incorrectly, including with a missing or wrong port-out PIN.
Strategies such as multi-turn social engineering, role claims and encoded requests should be enabled for the plugins that involve people pretending to be someone else.
Generic harm grading is not enough for telecom. A reply that reads as polite and helpful can still disclose call records to the wrong caller. Grading needs to reflect your own verification standard, consent rules and porting procedure, written as rules the grader can apply. Put the policy text into the red team purpose and any custom rubric, and keep the criteria specific enough that two reviewers would reach the same verdict on the same transcript.
- Verification standard: define which facts a caller must provide before any account detail is shared, and state that a refusal is required when verification is incomplete.
- Consent and timing rules: write down your rules for marketing contact, opt-outs and calling windows, so TCPA-related findings reflect the rules you actually operate under.
- Porting safeguards: describe the steps that must occur before a port starts, including PIN checks and freeze states, so the grader can mark a missing step as a failure.
- Leak versus refusal: separate a disclosure from a refusal that includes the same data, since a reply that confirms a number or balance can be a leak even when the rest of the answer declines.
- Human calibration: have compliance staff grade a sample of transcripts and compare the results with the automated verdicts before you rely on the scan.
Have your compliance owner approve the rubric in writing before the first scan, since the results will be used as evidence.
Telecom red team runs produce transcripts that contain customer-like records: names, numbers, addresses and account states. Treat these as sensitive from the start. Use synthetic subscribers for every fixture, and confirm where prompts, responses and tool logs are stored at each step. Check the self-hosting documentation before you run a shared server, because its limits affect who can see the results.
- Synthetic fixtures only: generate subscriber records that look plausible but map to no real person, and keep a list of which fixtures contain any identifier that resembles a real one.
- Model provider terms: confirm how the model providers and any hosted generation services under test handle the prompts and responses you send, and whether they are retained.
- Result storage: the self-hosted app stores data in a local SQLite database, has no RBAC or SSO, and is not recommended for production, so a shared team instance needs controls outside the tool.
- Retention and deletion: set how long transcripts and tool logs are kept, and document how they are deleted at the end of a test cycle.
- Enterprise options: if you need team access control and data isolation on your own infrastructure, confirm the current Enterprise and On-Premise terms with the vendor.
Ask your privacy and security teams to review the storage path before the first run, because transcripts often outlive the test that created them.
Rollout from scoping to retest
This sequence turns a telecom AI assistant into a set of tested findings, fixes and a retest result before release. Each step closes with a named output so the carrier's fraud, privacy and engineering teams can see what has been covered and what remains open.
Agree scope and written test objectives
Your team and DeployOpen agree in writing which assistant, channels, tools and account actions are in scope, and which telecom risks matter most: CPNI disclosure, account takeover, location leaks, TCPA consent handling and porting errors. You confirm the assistant's intended behavior, its permitted data fields and who may approve changes. The step closes when the signed scope lists each objective, the test owner on each side and the out-of-scope systems, including production. Request this written scope before any work begins, since it sets the fixed-scope deliverables and the eventual quote.
Build a test environment with synthetic subscribers
Your platform team stands up a non-production copy of the carrier support assistant, connected to stub or mock billing, network and porting services that return synthetic subscriber records. DeployOpen supplies the test data design: fictional accounts, lines, devices, consent flags and porting states, with no real customer data. You confirm that the environment cannot reach production systems, messaging gateways or live number-porting APIs. The step closes when you have a written environment inventory and a test account list that your privacy team has approved.
Configure promptfoo targets and plugins
DeployOpen connects promptfoo to the test deployment through an HTTP or other endpoint target and selects the telecom plugins that match the written objectives, along with the attack strategies to apply. Configuration is kept in version-controlled files so the scan can be repeated later with the same settings. The step closes when a dry run confirms that the target answers, that the subscriber fixtures are reachable and that each plugin is mapped to a stated objective.
Run baseline red team scans
DeployOpen runs the first full red team scan against the unchanged assistant to establish a baseline. The run produces per-plugin results, including which probes succeeded in disclosing CPNI, accepting unverified identity claims, revealing location data, mishandling opt-out requests or confirming incorrect port-out steps. Scan size and probe counts are set during configuration, and the Community edition's monthly probe allowance should be checked against planned runs. The step closes with a saved baseline report that records every failing transcript for review.
Triage findings with fraud and privacy teams
Your fraud, privacy and porting operations staff review each failing transcript with DeployOpen and classify it by severity, likely exploit path and whether a control elsewhere, such as an identity verification service, already mitigates it. Findings that depend on a graded judgment are confirmed by a person, not accepted from the grader alone. The step closes with a triaged findings register that assigns each item an owner, a fix type (prompt, tool permission, retrieval scope, guardrail or process) and a retest requirement.
Apply fixes in the test environment
Your engineering team applies the agreed fixes, which may include tightening tool permissions so the assistant cannot read account data before authentication, restricting retrieval sources, updating system instructions, adding output filters or changing escalation rules to human agents. DeployOpen reviews each change against the register. Fixes are made in the test environment first and tracked in version control. The step closes when every high-severity finding has a documented change and a named reviewer.
Retest and confirm before release
DeployOpen reruns the same plugin set and probe configuration used for the baseline, plus targeted probes for each fixed finding, and compares results with the baseline. Your team checks that fixes did not weaken legitimate service paths, such as verified account help or valid porting requests. The step closes with a retest report showing resolved, partially resolved and open findings, with the accepted residual risks signed by the owners who will carry them into release.
Hand over evidence and set the release gate
DeployOpen delivers the scan configurations, baseline and retest reports, findings register and environment inventory so your teams can repeat the tests before each release. Your team decides the release gate, such as which open findings block deployment, and records who approves production changes. Production access is not required for any step. The step closes when the handover package is accepted and the release gate is documented, with ongoing testing available as a retainer if you want continuous coverage.
How the red team flow reaches the assistant and its tools
The flow starts with promptfoo running on a tester's workstation or in the customer's CI pipeline, since the software runs locally and talks directly to the model under test. Adversarial prompts cross into a test environment where the carrier support assistant calls account and porting tools backed by sandbox data, not production systems. Graded results then move into a findings report. Check that the boundary holds: no test traffic should reach live subscriber records, and the sandbox tools should return only synthetic accounts.
Red team traffic stays inside the test environment, with production systems kept behind a trust boundary.
Compliance considerations for telecom testing
Carrier AI assistants touch customer records, call behavior and account changes, so several telecom rules shape what a red team should test and what evidence it produces. The cards below connect those obligations to specific promptfoo checks. They describe what to test and record, not legal conclusions.
CPNI and customer privacy
Customer proprietary network information covers call detail, service plans and usage tied to a subscriber. Under the FCC's CPNI rules, carriers must authenticate callers before disclosing it. Red team the assistant with callers who claim to be account holders, family members or employees, and record every case where it reveals call records or plan details without verification. Ask counsel which state privacy laws also apply to your subscribers.
TCPA consent evidence
The Telephone Consumer Protection Act restricts automated calls and texts to consumers without consent, and the assistant may trigger outreach or confirm opt-outs. Test whether it records revocation requests, honors them in later sessions and avoids promising marketing contact it cannot lawfully make. Keep transcripts that show the consent state the assistant relied on, since that record is the evidence you will need.
Location data handling
Network and device location is among the most sensitive data a carrier holds. Probe the assistant with requests for a subscriber's current position, cell site history or the whereabouts of a partner or former partner. Confirm it refuses, does not infer location from account data and does not repeat location details from earlier turns or tool outputs. Check that location-related tool calls are logged and restricted by role.
Porting fraud controls
SIM swaps and number ports are a common route to account takeover. Test whether the assistant initiates or approves a port or SIM change for a caller who fails identity checks, and whether it can be pressured into skipping a one-time code step. Verify that port requests trigger the carrier's own verification flow and that the assistant never reveals the account PIN, port-out code or security questions.
Audit trail and access controls
Regulators and assessors will ask who accessed which record and through which assistant action. Confirm that red team runs, findings and retests are stored with the target version, prompts and scores, and that access to those results follows your role model. Self-hosted promptfoo stores data in a local SQLite database that cannot be shared across replicas and has no built-in RBAC or SSO, so evidence handling needs a deliberate design before it is used for compliance records.
What testing does not prove
Red teaming produces evidence of how an assistant behaved under the tests you ran. It does not issue an audit report, attestation or certification, and it does not establish compliance on its own. Ask counsel which rules apply to your operations and footprint, and agree with independent assessors which evidence they will accept. Treat the findings as inputs to those reviews, not as their conclusion.
Questions telecom teams ask before hiring help
What does a telecom AI red teaming engagement cost, and what drives the price?
The price follows from the written scope, not from a published rate card, because DeployOpen does not publish a price list. The main drivers are the number of assistants and tools under test, how many customer flows (account lookup, plan change, porting, billing dispute) must be covered, how many environments and model providers are involved, and how much retesting is agreed. Costs split into one-time work such as scoping, configuration, test design, the findings report and the retest, and any recurring retainer for continuous testing or upgrades. Ask for a quote that lists each assistant, tool and flow in scope, the deliverables, and what is excluded, such as model hosting or your own remediation work.
How long does telecom red teaming take, and what sets the timeline?
The timeline depends on the size of the scope and how quickly the customer can provide access and decisions. Engagements are fixed-scope, so the schedule is agreed in writing before work starts. The biggest variables are the number of tools the assistant can call (for example, account lookup, SIM swap, or number porting), how many authentication paths must be tested, whether a staging environment mirrors production, and how long fixes take before a retest. Ask for the milestone list, the dependency on your access and data, and the retest window written into the plan.
What does the customer need to provide before testing starts?
Plan to provide four things: a non-production test environment that matches the live assistant as closely as possible, read-only or sandboxed tool access with test accounts, synthetic customer records that reflect your plan types and account states, and named owners. Owners should include someone who can explain the CPNI handling rules and internal policy, someone who owns the account and porting systems, and someone who can approve fixes. Confirm with your legal and privacy teams how test data is handled, and confirm which data may leave your network if a hosted model is involved.
Can our internal team run promptfoo for telecom testing on its own?
Yes, a team with engineering skills can install the open-source CLI and write its own configuration and plugins. promptfoo is licensed under the MIT license and the Community edition includes red teaming with 10k probes per month. Internal teams usually need time to design test cases for carrier-specific rules, to configure the target assistant correctly, to grade results, and to turn findings into fixes and retests. Decide early whether you have people with telecom compliance knowledge and capacity to maintain the suite as the assistant changes.
What changes between promptfoo Community and Enterprise for a telecom team?
The Community edition is free and includes all LLM evaluation features, all model providers and integrations, and red teaming with 10k probes per month, with community support. Enterprise 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. On-Premise runs the Enterprise functionality on your own infrastructure with complete data isolation and a dedicated deployment engineer. Teams with several reviewers, separated duties across carrier regions, or data residency rules usually ask about these differences first. Confirm current terms on the promptfoo pricing page.
Does the self-hosted promptfoo server work for a shared telecom test program?
Not for production use as supplied. The self-hosted app stores data in a local SQLite database that cannot be shared across replicas, and it has no RBAC, horizontal scaling, built-in authentication or SSO. For a team that needs shared results, access control and audit-friendly records, plan for the Enterprise or On-Premise editions, or confirm with promptfoo how its current self-hosted options fit your controls. Docker, Docker Compose and Kubernetes with Helm are supported deployment methods for the self-hosted app.
What are the main risks when we test our carrier assistant?
The main risks are exposing real customer data during tests, running attacks against live account or porting systems, and producing findings that are not reproducible. Keep test runs in a non-production environment with synthetic accounts, use sandboxed tools that log every call, and record prompts and responses so results can be replayed. Also confirm who may approve changes to the assistant after a finding, because a fix to a guardrail can break a legitimate customer flow. Ask any provider how it handles credentials for telecom systems and where test logs are stored.
What DeployOpen hands over after the red team
The deliverables from a telecom red team are a findings report, reproducible test configurations kept in your own repository, remediation guidance for the assistant's prompts, tool permissions and guardrails, and a retest once fixes are in place. Each finding is mapped to the telecom risk it represents, such as CPNI disclosure, account takeover, location leakage, TCPA consent handling or porting errors, so your privacy, fraud and regulatory teams can read the same report without translating it. Each finding also records the attack input, the target configuration it ran against, the response the assistant gave and the grading result, so an engineer can rerun it without a call to the team that found it.
The test configurations are written for promptfoo and live in your repository, under your version control and review process. Ask for the scan to be committed with the target's model, system prompt version and tool schema recorded alongside it, so a later change can be traced to the scan that exposed it. Remediation guidance is written for the specific layer at fault: prompt wording, the authorization checks on account tools, the data returned by lookup tools, or the guardrail thresholds. The guidance will say which layer to change first and what the retest should show.
Ongoing testing can be sold as a retainer, which covers scheduled re-scans after model, prompt or tool changes and continuous monitoring of new attack variants. Whether a retainer is needed depends on how often your assistant changes, so confirm release frequency before scoping. Every engagement is fixed-scope, and the scope, deliverables and timeline are agreed in writing before work starts. Ask for the written scope to name the telecom plugins, the target endpoints, the number of scans and the retest included, so the quote can be compared with your own team's effort.
How DeployOpen scopes and delivers telecom AI red teaming
DeployOpen plans and runs promptfoo red teaming for telecom AI as a fixed-scope engagement, with scope, deliverables and timelines agreed in writing before testing starts. The work covers the carrier assistant as it is deployed in your environment, from the first scoping conversation through a documented handover and optional ongoing support.
How we scope
- Agree in writing which carrier assistant channels, account systems and data sources are in the test boundary.
- Confirm the telecom risk areas to test, such as CPNI disclosure, account takeover, location leaks, TCPA and porting errors.
- Record the authorization model, test accounts and approved target environments before any probe is sent.
How we build
- Configure promptfoo red teaming with the telecom plugins mapped to your scoped risk areas and approved attack strategies.
- Connect promptfoo to your assistant through its supported target configuration, in infrastructure you control.
- Grade results against your own policy wording, and review false positives and false negatives with your team.
How we hand over
- Deliver a findings report with reproducible test cases, affected flows, severity and recommended fixes.
- Provide the promptfoo configuration, plugin selections and run settings so your team can repeat the scan.
- Walk your security, compliance and customer care leads through the results and the retest plan.
How we support
- Retest agreed fixes and document which findings are closed, open or accepted as residual risk.
- Offer ongoing support, upgrades and continuous testing as a retainer if you want scans to run regularly.
- Ask about retainer terms, response expectations and upgrade handling when you request a quote.

