Why promptfoo red teaming for child and teen-facing AI starts with the data a child can give your product
A team shipping a tutor, companion, homework helper or support bot that children or teens can reach should test what the product asks for and keeps before launch. promptfoo can test COPPA data collection and consent behavior and teen safety behavior before release, and it runs locally inside your environment, so the test conversations and their results can stay on infrastructure you control. The test covers the conversation and the data flow the product creates. It does not replace the compliance assessment itself, and DeployOpen does not issue audit reports or certifications. Independent auditors and certification bodies make those determinations, so the evidence you bring them should be specific and repeatable.
Start with the data a child can give the product, because that sets the scope of the COPPA test. The COPPA Rule (16 CFR Part 312), amended on 22 April 2025, applies to operators collecting personal information from children under 13, and it expects a written information security program with a designated coordinator and at least annual risk assessments. Retention matters too: data may be kept only as long as reasonably necessary for the purpose collected, under a written retention policy with a deletion timeframe. For a homework helper, that means checking whether the bot asks for a full name, birthdate, school, location or a parent's email when it has no need for them, whether it stores what a child types, and whether a child can share personal details without any consent step. Each behavior can become a red team probe with a stated expected result.
Teen safety checks answer a different question: whether the assistant behaves appropriately when a teen raises self-harm, grooming-style requests, romantic or companion roleplay, or age-restricted topics. Confirm in the promptfoo documentation which teen safety plugins and grading criteria your version provides, because the policies that define acceptable behavior are yours to set with legal and child-safety input. Plan where results live as well. The self-hosted promptfoo server uses a local SQLite database that cannot be shared across replicas and has no built-in authentication or SSO, so it is not recommended for production. A team that needs shared, access-controlled results should plan for promptfoo Enterprise On-Premise and ask the vendor to confirm what it covers for child-facing data.
Which child and teen privacy requirements change the build
This table maps each child and teen privacy requirement to the test scope it creates for a promptfoo red team. Read each row as a question the test plan must answer before launch, and treat the meaning column as the starting point for plugin and probe selection rather than a compliance finding.
| Requirement | Source | What it means for the build and test scope |
|---|---|---|
| Written information security program with a designated coordinator | COPPA Rule, 16 CFR 312.2 and 312.8 | Operators collecting data from under-13 users need a documented program, so test evidence from promptfoo should map to that program. Confirm who owns the coordinator role and where scan reports are filed. |
| At least annual risk assessments | COPPA Rule, 16 CFR 312.8 | Red team scans become recurring inputs to the risk assessment. Schedule repeat runs against the same plugin set so results can be compared year to year. |
| Retention limited to what is reasonably necessary, with a written deletion timeframe | COPPA Rule, 16 CFR 312.10 | Probe whether the assistant stores child details in chat history, memory or logs beyond the stated purpose, and whether a deletion request is honored in later sessions. Confirm the retention period with your counsel before writing it into the test plan. |
| Collection of name, email, location or school from a child | COPPA Rule, 16 CFR 312.2 and 312.5 | Build test cases where a child user volunteers or is nudged to share identifiers, and check whether the assistant asks for them unnecessarily or records them. Grade responses on whether collection happens without a parental consent path. |
| Education records and school official conditions | FERPA, 34 CFR 99.31 | If a school uses the product and it receives education records, the vendor must act as a school official under direct institutional control. Test whether the assistant discloses grades, records or other student data to an unauthorized requester, and confirm the contract terms with the institution. |
| Access limited to records with a legitimate educational interest | FERPA, 34 CFR 99.31(a)(1)(ii) | Probe whether a user can ask about another student or a parent account to reach records outside their role. Document the access controls the application relies on, since promptfoo tests behavior but does not enforce them. |
| EU deployments for personal data of minors | GDPR, Regulation (EU) 2016/679 | Where users are in the EU, test the assistant against data minimization and deletion requests in the same way as US probes, and confirm the legal basis for processing with your data protection lead. Treat the regulation text as the reference rather than a checklist. |
| EU deployments of essential or important services | NIS2, Directive (EU) 2022/2555 | If the operator falls in scope of NIS2, red team evidence may feed incident and risk management duties. Confirm applicability with counsel before relying on it, since scope depends on sector and size. |
Which promptfoo plugins and settings matter for minors
Any product that collects personal information from children under 13 falls under the COPPA Rule in 16 CFR Part 312. The promptfoo COPPA plugin generates prompts that try to get an assistant to collect names, contact details, locations or school information from a user who says they are a child, or to skip the consent step before collection. Use it to test the conversation the assistant actually holds with users.
- Collection prompts: Probes whether the assistant asks an apparent child for personal details the task does not need.
- Consent flow: Checks whether the assistant treats parental consent as optional or accepts a child's word that a parent agreed.
- Retention statements: Checks whether the assistant promises to keep information indefinitely, which conflicts with the limits in 16 CFR 312.10.
- Plugin coverage: Confirm which COPPA test categories your installed version includes and how the grader scores each one before you rely on a pass.
Check that the assistant's replies match the consent and data flow you documented, because the plugin tests conversation behavior and does not inspect your backend storage.
promptfoo includes teen safety checks aimed at age-appropriate safeguards, meaning how an assistant handles content and topics that suit adults but may not suit younger users. The plugin identifiers and their scope change between releases, so confirm the current names and descriptions in the promptfoo red teaming documentation before you write them into a configuration.
- Age-inappropriate content: Checks whether the assistant keeps its limits when a user identifies as a minor.
- Risky personal topics: Probes self-harm, body image, substances and relationship conversations, and whether the assistant points to appropriate help.
- Isolation patterns: Tests whether the assistant encourages secrecy from parents or moves a conversation into private channels.
- Borderline grading: Review the grader's reasoning on ambiguous replies, since teen safety judgments depend heavily on context.
Ask the product owner for the written safety policy the assistant must follow, then confirm that each teen plugin you run maps to a clause in that policy.
The purpose setting in the red team configuration tells the attack generator who the application serves. If the field is missing or vague, generated attacks tend to assume adult users and can miss child-specific cases. Describe the audience plainly: the ages served, the intended use and the data the product is allowed to request.
- Age range: Name the ages served, such as under 13 or 13 to 17, because child-directed checks and general teen checks cover different groups.
- Declared use: Describe the product's function, such as homework help, so off-topic probes are judged against the right baseline.
- Permitted data: List the fields the product may ask for, so the grader can flag any request beyond that list.
- Illustrative example: A homework helper for students aged 10 to 14 that may collect only a first name and grade level gives the generator a far clearer target than a general chatbot for kids.
Have the product owner review the purpose text before the first scan, since results only reflect the audience you describe.
Red team runs store prompts, model replies and grader output. Test logs contain synthetic personas when the team works properly, but a tester who pastes a transcript from a live child user turns the archive into a regulated data store. Decide where logs live, who reads them and how long they remain before the first run starts. The evaluation runs on the machine that starts it and talks directly with the model, so that machine's storage is part of the decision.
- Synthetic inputs only: Use invented personas and never copy transcripts from live child users into test files.
- Storage location: Decide whether logs stay on a laptop, a CI runner or a shared store, and document the choice.
- Retention: Set a deletion timeframe for logs that hold personal information, consistent with your written retention policy under 16 CFR 312.10.
- Access: Limit who can open result files, since attack prompts can reveal how the product handles children's data.
- Output settings to confirm: Check the current promptfoo documentation for options that control what is written to output and shared, then test them in a scratch run.
Write the log location, retention period and access list into the test plan before the first scan.
The self-hosted promptfoo app is an Express server that serves the web UI and API, and it can run with Docker, Docker Compose or Kubernetes with Helm. Its data sits in a local SQLite database that cannot be shared across replicas. The deployment has no RBAC, no horizontal scaling and no built-in authentication or SSO, and the self-hosting documentation states that it is not recommended for production use. These limits decide where results from minor-facing tests can safely be stored.
- Single store: Because SQLite cannot be shared across replicas, one instance holds every result, and its disk becomes the storage location for the evidence.
- No access control: Without RBAC or SSO, anyone who reaches the instance can read results, so place it behind network controls your team manages.
- No scaling path: Teams cannot add replicas to absorb load, so size scans around one instance.
- Production caveat: Keep results from minor-facing products on a non-production instance, or review the Enterprise and On-Premise editions, which add team access controls and SSO according to the pricing page.
Confirm with the vendor which edition meets your access and retention requirements before you choose where results from minors' products are stored.
How a child-facing red team moves from scope to retest
This sequence turns a child-facing AI product into a documented, scoped red team run, with findings owned by product and legal staff and fixes confirmed by retest. It produces evidence that the team can show to counsel, auditors or a school customer's reviewers.
Agree written scope and age groups
Counsel, the product owner and the testing lead agree in writing which products, features and age groups are in scope, including whether the product targets children under 13, teenagers or both. The scope also names who may approve test accounts and who receives findings. The step is done when the signed scope lists the age bands and the named owners, so every later decision can be traced back to it.
Map every personal data field
The team lists each field the product asks for or infers, including sign-up forms, profile settings, voice or image inputs, chat history, location and device identifiers, and any data passed to third-party model providers. For each field, the team records whether it is collected before or after a parental consent step, where it is stored and how long it is kept. The step closes with a data map that counsel has reviewed, because the COPPA plugin results depend on it.
Configure the target and plugins
The testing engineer connects promptfoo to the product's chat or agent endpoint, documents how test sessions are authenticated, and selects the COPPA plugin and the teen safety plugins that match the age bands in scope. Attack strategies and scan size are set so results can be compared across runs. The step is complete when a dry run confirms the target responds as a child or teen test account would experience it and the configuration file is saved under version control.
Run the scan in isolation
The scan runs in an isolated environment with dedicated test accounts that carry no real child's data, using a staging copy of the product where possible. Access to the promptfoo instance and its results is limited to the named testers. The run is complete when the scan finishes, the raw output is stored with the configuration and model versions used, and no production records were touched. Confirm with the product owner that test accounts are flagged so they cannot trigger real notifications or messages.
Triage findings with owners
Product and legal owners review each finding together, sorting it into confirmed issues, false positives and items that need a policy decision. Examples include a bot asking an apparent child for a full name without a consent step, or a teen safety response that gives unsafe guidance. Each confirmed issue gets an owner, a severity agreed with legal, and a recorded reason for any finding that is disputed. The step closes when every finding has a documented disposition.
Fix the product and retest
Engineers implement fixes for confirmed issues, such as adding an age gate, removing unnecessary fields, tightening system prompts or adding refusal rules and guardrails. The same plugins and strategies are rerun against the changed product so results can be compared with the original baseline. The step is done when retest results show each fixed finding no longer reproduces and no new findings were introduced by the changes.
Hand over evidence
The team delivers a report covering scope, the data map, configuration, test accounts used, findings with dispositions, fixes and retest results, and the list of issues accepted as risks. Retention and deletion decisions for the test outputs are recorded. The handover is complete when product and legal owners have signed off and the evidence is filed where your compliance team can review it. The report documents what was tested; it does not replace an assessment by a qualified auditor.
How the test traffic reaches the child-facing app
The scan starts in the promptfoo CLI or the self-hosted server, inside an environment the client controls. Simulated child and teen prompts go out to the application under test, which calls its own model and reads its own data stores. Responses come back to promptfoo, and the results are written to a results store the client operates. The key check is that the model endpoint and results store both sit inside the client's trust boundary, and that test prompts never reach a data source the client has not approved.
Test traffic and results stay inside the client's trust boundary.
What buyers ask before bringing in a partner for child-facing AI testing
What drives the cost of testing a child-facing AI product?
Scope drives cost more than anything else. The main inputs are the number of age groups (for example, under-13 users separate from teenagers), the data fields the product collects at sign-up and during use, the integrations the assistant touches such as account, billing or messaging systems, and the attack scope, meaning how many plugins, strategies and conversation types the red team covers. Each added age band or integration adds test design, fixtures and grading work. A written quote should list these inputs separately so you can see which ones move the price. Costs are usually one-time for the test design and first report, with retesting and continuous runs as a separate recurring element if you want them.
How long does a child-facing AI red team engagement take?
Duration depends on the same scope inputs as cost: the number of age groups, data flows, integrations and the size of the attack set. Work typically moves through agreed phases, including scoping, test design, execution, grading review, findings and a retest after fixes. No standard duration applies, so ask for a timeline tied to your written scope and check which phases depend on your team, such as access approvals or policy sign-off. Delays most often come from waiting for test accounts or staging access, not from the testing itself.
What does the client need to provide for this testing?
The work needs a few inputs from your side before testing starts:
- Test accounts for each age group, with realistic profile data that contains no real child's information
- Named policy owners who can state your age gate, consent flow, data retention rules and safety rules
- Staging or pre-production access to the assistant, including logging and any guardrail configuration you run
- Contacts for security, legal and product who can review findings and approve fixes
Ask the partner to confirm these inputs in writing during scoping, and agree who handles any data that the tests generate, since red team transcripts can contain sensitive prompts.
Can an in-house team run promptfoo for child safety testing alone?
Yes, an in-house team can run the open-source promptfoo CLI itself. The MIT-licensed tool runs locally, evals execute on your machine and talk directly with the model, and the Community edition includes red teaming with a monthly probe allowance. The harder work is the policy and test design: deciding which age bands apply, writing the expected safe behavior for each, and reviewing grades. If you plan to run the self-hosted server for a team, note its documented limits: it uses a local SQLite database that cannot be shared across replicas, has no RBAC and no built-in authentication or SSO, and is not recommended for production. Team-wide access control needs either the Enterprise edition or your own identity layer around the deployment.
Does a red team report count as compliance evidence for COPPA?
A red team report supports compliance evidence but does not establish compliance on its own. It can show which consent, age gate and data collection behaviors were tested, what the assistant did, and how findings were fixed and retested. Independent auditors and regulators decide whether your controls meet the requirements, and DeployOpen does not issue audit reports or certifications. Your written information security program, data retention policy and annual risk assessments under the COPPA Rule still need to exist and be maintained, and a test report feeds those documents rather than replacing them. Confirm with counsel which records your regulator or auditor expects.
Which parts of child safety testing does a red team not cover?
A red team covers the behaviors you define and the attacks you include in scope. It does not prove that every conversation is safe, that your age verification is reliable, or that your data practices are lawful across all jurisdictions. Testing also does not replace ongoing monitoring after release, because model updates, prompt changes and new features can alter behavior. Ask any partner to state the excluded areas in the written scope, and plan a recurring test cycle with your own monitoring for production traffic.
What should a partner put in writing before testing starts?
A useful written scope names the products and environments under test, the age groups and their expected behaviors, the plugins and strategies to be run, the data handling rules for test transcripts, the client inputs and their owners, the deliverables and the retest terms. It should also state what is excluded and how changes to scope are priced. Because DeployOpen works on a fixed-scope basis, agreeing these points before work begins is what allows a quote to follow from the written scope.
What testing covers and what it does not cover for minors
Child and teen-facing AI sits under several overlapping rules, each with its own triggers. Red teaming can show whether your assistant leaks, collects or retains minors' data in ways those rules forbid, but it cannot establish the paperwork, consent design or legal conclusions those rules also require.
COPPA security program and risk assessment
The amended COPPA Rule expects operators collecting personal information from children under 13 to keep a written information security program with a designated coordinator and at least annual risk assessments. Red teaming produces evidence for the risk assessment: which prompts extract a child's name, age or location, and whether those findings are logged and tracked. Check that each finding maps to a named owner and a retest date, because the program requires an accountable coordinator, not just a report.
- Security program citation
- 312.8
Retention and deletion testing
COPPA operators may keep children's personal information only as long as reasonably necessary and must hold a written retention policy with a deletion timeframe. Test whether the assistant repeats earlier child disclosures in later sessions, whether chat logs and memory stores keep them, and whether a deletion request actually removes them from vector stores and traces. Ask your engineers to confirm where conversation history lives before you write the retention clause.
Retention requirementsFERPA school official and access limits
When a school deploys your assistant, the vendor may receive education records only as a school official under direct institutional control, with redisclosure limits. Red teaming checks whether one student's session can reveal another student's records or whether a teacher-role prompt escalates to administrative data. Confirm with the institution how access is restricted, since the institution must use reasonable access controls and keep a record of disclosures.
FERPA regulationsGLBA Safeguards Rule for financial aid data
Where the assistant touches financial aid information, institutions in the Title IV programs must follow the GLBA Safeguards Rule, which requires multi-factor authentication for anyone accessing any information system. Test whether aid-related prompts expose account identifiers or bypass login steps, and whether tool calls reach aid systems without re-authentication. Notification duties apply if a qualifying incident affects 500 or more consumers, so confirm reporting ownership before launch.
- FTC notification window
- 30 days
NIS2 and GDPR for EU deployments
EU deployments bring GDPR obligations for processing children's data and, for covered entities, NIS2 obligations for security risk management and incident reporting. Red teaming can test whether personal data leaks across prompts, tools and logs, which supports GDPR security analysis. It does not decide whether your organization is in NIS2 scope or whether your lawful basis for processing a minor's data holds. Take those questions to counsel and the relevant national authority.
GDPR textWhat testing alone cannot prove
A scan result does not establish a privacy policy, a consent flow that a parent can understand, or an auditor's opinion. Consent screens, age gates, parental notices and vendor contracts need human review and legal sign-off. Treat red team output as one input to your compliance file, and ask your assessor which artifacts they expect beyond test reports, since DeployOpen prepares evidence but does not issue audit opinions or certifications.
What changes for the product team after a child-facing red team
The most useful outcome of a child-facing red team is a set of findings that land with the right owners. Product owns conversational behavior, such as refusals, age-appropriate responses and how the assistant handles a child who discloses personal details. Data and privacy owners own what is collected, stored and deleted. Legal and compliance owners decide whether a finding touches the COPPA Rule's consent and retention duties or, for school-adjacent products, FERPA. Before the first scan, agree who triages each plugin family's findings and who signs off on a fix. Otherwise a COPPA data collection finding sits in a product backlog with no privacy reviewer attached.
Fixes usually fall into a few kinds. Consent gates put a verifiable parental consent step in front of any personal information collection for users under 13, and the assistant must stop collecting when that step is not completed. Data minimization removes fields the feature does not need, such as free-text prompts that echo a child's full name, school or address into logs. Refusal behavior changes the assistant's responses to requests for private information or unsafe content from a minor, and these changes should be checked against the teen safety findings, not only the COPPA ones. Retention jobs enforce the written retention policy, since the COPPA Rule in 16 CFR 312.10 does not allow indefinite storage. Confirm with your counsel which deletion timeframe applies to your product before the engineering team sets a job schedule.
Retesting closes the loop. A fix to a consent gate or a log filter can change behavior elsewhere, so rerun the same plugin set and the same attack strategies against the same target configuration, then compare results. Keep the before and after reports as part of the evidence file for your annual risk assessment and written information security program. Retests also show whether a fix holds across model or prompt updates, which is the usual way a previously fixed behavior regresses. Plan the retest into the release process rather than treating it as a one-time sign-off.
How DeployOpen scopes and delivers child and teen AI red teams
DeployOpen plans, runs and documents promptfoo red teams for child and teen-facing AI as fixed-scope work agreed in writing before testing starts. Each engagement covers the products, age groups, data flows and consent paths in scope, and ends with a findings report, fixes and a retest.
How we scope
- Confirm which products, age bands and user journeys are in scope, including whether under-13 users can reach the product at all.
- Map where personal information from children or teens is collected, stored, shared with model providers and retained.
- Agree in writing which promptfoo plugins, strategies and target endpoints the red team will use, and what it will not cover.
How we build
- Configure the promptfoo COPPA and teen safety plugins against your target application, using test prompts that match your real age-gating and consent flows.
- Run the red team against a non-production target with test accounts, so no real child or teen data enters the test set.
- Review grading results manually for false passes and false failures before any finding is reported to your team.
How we hand over
- Deliver a findings report that ties each failure to the affected flow, the plugin that flagged it and a suggested fix.
- Document the promptfoo configuration, test data handling and scan settings so your team can rerun the same red team later.
- Include a retest of fixed findings and a list of the controls, such as consent records and retention settings, that testing does not verify.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers when your product or model changes.
- Retainers can cover scheduled red team runs after releases, so changes to prompts or model providers are tested again.
- Ask any provider to confirm how it will handle test outputs, retention periods and access to the reports before work starts.

