promptfoo red teaming for the NIST AI Risk Management Framework

promptfoo can produce test evidence for the Measure function of the NIST AI RMF. It does not cover Govern, Map or Manage, and it does not make an organization compliant with anything.

On this page

How promptfoo red teaming supports the NIST AI RMF Measure function

Promptfoo red teaming mainly supports the Measure function of the NIST AI Risk Management Framework. It does not cover Govern, Map or Manage, and a team that presents its results as evidence for all four functions will overstate what the tests show. The AI RMF is a voluntary framework: NIST's FAQ says neither private nor public sector organizations are required to use it, and there is no AI RMF certification, accreditation or conformity assessment program. No one can be certified against it, so the question your auditors or customers will ask is whether your evidence is traceable to specific subcategories, not whether you hold a badge.

DeployOpen can plan the red team, configure promptfoo, run the tests against your application and prepare the results so they map to the Measure subcategories you choose. DeployOpen prepares systems and evidence but does not issue audit reports, attestations or certifications; that judgment rests with your own assessors. Before work starts, confirm which Measure subcategories your organization intends to claim, since NIST's own AI RMF resources say users may select some or all categories and subcategories rather than following a fixed checklist.

Ask the team building the evidence to write down, for each claim, the test configuration, the promptfoo version used and the date of the run. Also confirm with your risk owners which trustworthy AI characteristics the tests are meant to inform, such as safety, security and resilience, and which need a different kind of evidence. A passing red team report is one input to Measure. It is not proof that the system is trustworthy, and it does not replace the Govern, Map and Manage work that your organization still has to carry out.

Which NIST AI RMF requirements the nist:ai:measure preset maps to

This table compares the NIST AI RMF Measure requirements with what the nist:ai:measure preset tests, the configuration step for each, and whether the preset covers the row. Rows marked false depend on Govern, Map or Manage work that a scan cannot supply. Confirm exact subcategory IDs against the NIST AI 100-1 tables and the promptfoo NIST AI RMF page before citing them in evidence.

Requirement areaWhat the preset testsConfiguration stepIn preset
Measure: test and evaluation methodsRed team probes against the application under test, with graders scoring responses for the risk categories selected in the presetPoint the red team target at your application, select the nist:ai:measure framework, and run the scanYes
Measure: trustworthiness characteristicsProbes that exercise safety, security and privacy failure modes; confirm which of the seven AI 100-1 characteristics the report labelsReview the generated report and map its labels to the characteristics your assessor expectsYes
Measure: risk tracking over timeA single scan is a point-in-time result and does not show trends across releasesRun the scan in your CI/CD pipeline on each release and retain each report as a versioned recordNo
Measure: accuracy and bias on your dataRed team probes do not measure accuracy or bias on your own datasetsAdd LLM evaluation test cases built from your data, with assertions for the outputs you need to measureNo
Measure: feedback from users and affected communitiesNothing in a scan collects this inputSet up user feedback channels and document how findings from them reach the test suiteNo
Thresholds and acceptance criteria (Govern)The preset reports results but does not decide what counts as acceptable risk for your organizationAgree pass thresholds and risk acceptance owners in written governance before setting CI gatesNo
System context and intended use (Map)Scan results are only meaningful when the system's purpose, users and deployment context are documentedDocument the system scope and intended use, then configure the purpose field to matchNo
Response to findings (Manage)The report lists findings, but remediation, residual risk decisions and retesting sit outside the presetAssign owners to each finding, track fixes, and rerun the scan after each changeNo

What test evidence promptfoo produces for auditors

A promptfoo red team run leaves several distinct records, and each answers a different question an assessor may ask. Treat them as a set: the configuration explains what was tested, the results show what failed, and the retest shows what changed afterward. Confirm the exact report formats in the version you run, because they can change between releases.

Nist:ai:measure report output

The report tagged with the nist:ai:measure framework ID is the document most teams will show first, since it maps the run to the Measure function. It summarizes which plugins ran and how the target scored against them. Check that the tag appears in the report you export from your version, and confirm that the mapping still reads as you expect before you cite it in a review.

promptfoo NIST docs

Run configuration as the test record

The configuration file defines the target, the plugins, the strategies, the grading and the scan size. Kept under version control, it shows what was tested on a given date and lets an assessor rerun the same scope. Record the promptfoo version and the model or application version alongside the config, because a result without those details cannot be reproduced.

Per-plugin results and failures

Results broken down by plugin show which risk categories produced failing outputs and which passed. Failing cases, with the prompt, the response and the grader's reason, are the most useful evidence for remediation tickets. Store them with the run identifier so each finding can be traced back to the exact test that raised it.

Retest outputs after fixes

A retest run after a fix shows whether a failing case now passes against the changed system. Keep the before and after results side by side, with the change record that explains what was modified. Without the retest, a finding is closed only on the team's word. Confirm how your version compares two runs, since the comparison view may differ from the raw files.

Storage and retention process

Evidence needs an owner, a location and a retention period set by your policy, not by the tool. Store configs in the same repository as the application, keep exported reports in a controlled system with access logging, and record who reviewed each run. The self-hosted server keeps data in a local SQLite database that cannot be shared across replicas, so do not treat it as the only copy.

Self-hosting docs

What the evidence does not prove

These artifacts show what was tested, what failed and what was retested. They do not show that the system is compliant with the NIST AI RMF, and no AI RMF certification exists. Present the results as test evidence within a wider risk management program, and state the scope and limits of each run so reviewers do not read a passing scan as a clean bill of health.

Why Measure depends on the trustworthy AI characteristics

Before you read a promptfoo report as Measure evidence, decide which of the seven trustworthy AI characteristics in NIST AI 100-1 each result can actually speak to. The characteristics are valid and reliable; safe; secure and resilient; accountable and transparent; explainable and interpretable; privacy-enhanced; and fair with harmful bias managed. Red team probes are strongest on the characteristics that can be tested by sending adversarial inputs and grading the response: secure and resilient and safe map most directly to the attack categories the nist:ai:measure preset runs, such as prompt injection, jailbreaks and harmful content. Privacy-enhanced is partly covered where probes try to extract personal data or system prompts, but the coverage is only as wide as the plugins you enable and the data your target can reach.

The other characteristics need design work before a scan means anything. Valid and reliable depends on whether your evaluation set reflects the task the system performs, which is a question for evals built on your own data, not for generic attack probes. Fair with harmful bias managed requires you to define which groups and outcomes matter for your use case and to choose graders that can detect differences. Explainable and interpretable and accountable and transparent rely on documentation, logging and human review, which a probe result does not establish. Ask your team to write down, for each characteristic, whether the evidence will come from automated tests, evaluation design or a named reviewer.

AI 100-1 does not present the Measure function as a checklist or an ordered set of steps. It lets you choose which categories and subcategories apply, and it says most users start with Map once Govern outcomes are in place, then move to Measure or Manage. In practice, that means the characteristics you choose to prioritize should follow from the context and risks you mapped earlier, and a promptfoo scan should be scoped to the characteristics that matter for that system. Confirm your chosen scope with the people who own the Govern policies before you treat a clean scan as coverage of the framework.

What promptfoo does not cover in the Govern, Map and Manage functions

The nist:ai:measure preset only produces Measure evidence. The other three functions of the AI RMF Core are organizational work that a test run cannot generate, and each card names the records your organization must write and own.

Govern: policies and accountability

Govern is cross-cutting, so it applies to every other function. Your organization must set AI risk policies, name the people accountable for each system, define roles across legal, security and product, and state its risk tolerance in writing. A promptfoo report can show a failing probe, but it cannot show who decided that a given failure rate is acceptable. Check that each red team report is tied to a named owner and a documented tolerance.

AI 100-1 text

Map: context and intended use

Map establishes the context in which an AI system operates: its intended use, the people and groups it affects, the stakeholders who depend on it, and the potential impacts on them. None of this is inferred from scan output. Your team must document the use case, the users, the data the system touches, and an impact assessment that covers harms beyond security, such as bias and misinformation. Red team purposes in promptfoo should be written from this context, not invented during setup.

Manage: risk response and prioritization

Manage decides what to do about identified risks: accept, mitigate, transfer or avoid them, and in what order. Findings from promptfoo become inputs to this decision, but the prioritization and the residual risk acceptance belong to your risk owners. Record each finding with its response, owner and retest date so the evidence shows a decision, not just a result.

Manage: monitoring after deployment

A pre-deployment red team run describes the system at one point in time. Manage also requires monitoring after deployment, including tracking new failure modes, model and prompt changes, and user feedback. Plan a recurring scan schedule and a process that reopens risk decisions when the system changes. Confirm with your platform team how scheduled runs will be stored and reviewed, since the self-hosted server is limited to a single instance.

Manage: incident handling

When a live system produces harmful output or a security incident, your organization needs a documented response path: triage, containment, notification, root cause analysis and a retest. Red team results can reproduce a known failure, but they do not run the incident process itself. Define who can disable a model or feature, where incident records are kept, and how a fixed issue is verified before it closes.

No certification and a revision in progress

No AI RMF certification exists. NIST does not validate or endorse any organization's use of the framework, so a promptfoo report is internal evidence, not a conformity result. AI RMF 1.0 is also being revised under the White House AI Action Plan, and the Playbook has not been updated since August 2023. Confirm the current framework version and Playbook status before you map controls, and state in your documentation which version you used.

NIST AI RMF Playbook

Configuring a Measure-focused red team run for evidence

This sequence turns a promptfoo red team scan into Measure evidence that can be traced back to the system's purpose, the Govern and Map documents, and a recorded set of grading and data handling choices. It is written for teams that need results a compliance or risk reviewer can follow.

  1. Define the system under test and its intended use

    The AI system owner writes down what the application does, who uses it, what data it touches, and which harms matter most for that use. This statement comes from the Map work and sets the scope of the red team, so the plugins chosen later have a clear reason to exist. The step is done when the owner and the risk lead have signed the scope note and it is stored with the Map documents. Without it, a scan result cannot be tied to a risk the organization accepted or rejected.

  2. Connect promptfoo to the target application

    The engineer who operates the test environment sets up the provider configuration so promptfoo calls the application under test, or the model behind it, through the interface real users reach. Test against a staging deployment that matches production settings such as system prompts, tools and retrieval sources, and record the version or commit being tested. The step is done when a small sample request returns the expected response through the configured provider and the configuration file is saved under version control.

  3. Select plugins and strategies for Measure subcategories

    The red team lead chooses plugins and attack strategies that match the Measure subcategories relevant to the scoped use case, such as validity, safety, security and resilience, privacy and bias. Map each selected plugin to the subcategory it is meant to exercise in a short table, and state plainly where no plugin covers a subcategory. Confirm the current plugin list and mappings in the promptfoo documentation for the version in use. The step is done when the table is reviewed and approved by the risk owner.

  4. Run the scan with the Measure framework report

    The engineer runs the red team scan and generates the report with the nist:ai:measure framework so results are organized against the Measure function. Keep the run configuration, the promptfoo version and the date of the run with the output. The step is done when the report file is produced without errors and the failing and passing probes are visible by plugin. Check that the report lists the subcategories you expected to cover, because a missing mapping is a gap to document, not a pass.

  5. Record grading and data handling choices

    The red team lead records how responses were graded, including whether grading used deterministic checks, an LLM judge and which model acted as judge, and any human review of borderline results. The same record states where prompts and responses were stored, which model providers received the test traffic, and how test data containing personal or sensitive content was handled. The step is done when this record is attached to the run and an independent reviewer has confirmed it can reproduce the grading logic.

  6. Plan access controls for evidence storage

    The security lead decides where scan outputs and reports live before the first run, because the self-hosted promptfoo server is not recommended for production use and lacks role-based access control and single sign-on. If you run it, treat the local SQLite database as a single-instance store, limit access at the host or network layer, and keep exports in a repository or evidence system with its own access logs. The step is done when the storage location, the people allowed to read and change results, and the retention owner are written down and approved.

  7. Store outputs with Govern and Map documents

    The compliance lead files the scan report, configuration, grading record and access plan alongside the Govern policies and the Map scope note, using a consistent naming scheme keyed to the run date and system version. Link each Measure result to the risk it addresses and to any open finding with its owner. The step is done when a reviewer who has never seen the run can follow the chain from policy, to scope, to test, to result, and to the decision taken. Only at that point can the output be called evidence rather than a scan log.

Why the framework may change before your evidence is reviewed

AI RMF 1.0 is under revision, and NIST has not yet published a revised version. As of 17 October 2026, NIST says the framework is being revised as part of the White House AI Action Plan. The July 2025 Action Plan recommends revising it to remove references to misinformation, diversity, equity and inclusion, and climate change. Any mapping you build today is therefore a mapping to a version that may be replaced. Auditors and internal reviewers will ask which version you used, so the mapping has to say so explicitly. Record the framework name, the version (AI RMF 1.0, published as NIST AI 100-1 in January 2023), the date you mapped the results, and the nist:ai:measure preset version or promptfoo release you ran, such as the release you pinned in your pipeline.

The version scheme shows how a change will be signaled. AI 100-1 says the first number changes only with major revisions, and minor revisions add a decimal, so a change from 1.0 to 1.1 would be a smaller update than a move to 2.0. NIST also expects a formal review with input from the AI community no later than 2028. Confirm the current status on the NIST AI Risk Management Framework page before each evidence review, and note the version and date of your check in the evidence file. Subcategory IDs you cited could be renumbered or reworded, so keep the subcategory text you relied on alongside the ID.

The companion Playbook is also out of date. Its audit log shows the last content update in August 2023, and AIRC says it will be updated after the AI RMF is revised, so its suggested actions and documentation prompts may not match a future version. Do not treat the Playbook as the current wording for what Measure requires. Plan for two practical steps: keep a dated copy of the Playbook text you used, and assign an owner to review your mapping whenever NIST publishes a revision, including any change to the Measure categories or subcategories. Ask your auditor which framework version they will accept for the assessment period before you finalize the mapping.

Questions buyers ask before using promptfoo for NIST AI RMF evidence

Does NIST certify that an organization complies with the AI RMF?

No. NIST does not certify, accredit or validate organizations against the AI RMF, and it does not publish a conformity assessment program for it. NIST describes the framework as voluntary, and its use cases page states that NIST does not endorse any individual organization or its approach to using the framework. Any claim of AI RMF certification should be treated with suspicion. What you can produce is evidence that your team applied the framework's functions and subcategories, such as test results, documented decisions and owner sign-offs. Ask any provider, including DeployOpen, to describe that evidence rather than a certificate. DeployOpen prepares systems, controls and evidence for assessments, but it does not issue audit reports, attestations or certifications.

Does promptfoo red teaming alone cover the NIST AI RMF?

No. promptfoo red teaming focuses primarily on the Measure function, and the nist:ai:measure preset is the part of the framework its probes can speak to directly. The AI RMF Core has four functions, 19 categories and 72 subcategories, and Govern is cross-cutting. Govern, Map and Manage depend on organizational decisions: who owns the system, what the intended use and affected people are, how risks are prioritized, and how incidents are handled. Automated probes cannot produce those records. NIST also says the framework is not a checklist and that users choose which categories and subcategories apply. Plan your evidence pack so promptfoo results sit alongside governance documents and review records.

What does the work need from our team?

The work needs access and people in three areas. Engineering needs a test target, meaning a running endpoint or application you are willing to probe, plus credentials and a non-production environment where possible. Security or the platform team needs to review the scan configuration, data handling and where results are stored. Governance owners need to supply the Govern and Map material: a named accountable owner, the system's intended purpose and users, risk tolerances, and the decision makers who accept residual risk and approve fixes. Without those owners, Measure results have nowhere to go in the Manage step. Confirm these roles, and who signs each document, before the scope is agreed in writing.

How does effort change with the number of systems, plugins and retests?

Effort grows with each dimension you add. Each system under test needs its own target setup, configuration and baseline run. The number of plugins and strategies sets how many probes run and how many findings need review, so a broader preset takes more triage time than a narrow one. Retests add a cycle each time fixes are made, and the evidence has to show before and after results. Documentation effort grows with the number of systems because each one needs its own intended-use and risk records. Ask any quote to break effort down by system, plugin set, number of retest rounds and the documentation deliverables, so you can see which item changes the price if your scope moves.

Can our team run promptfoo for NIST AI RMF evidence with the Community edition?

Often yes for the testing itself, but the answer depends on your deployment and governance needs. The Community edition is free, includes all LLM evaluation features, all model providers and integrations, and red teaming with 10k probes per month, with community support. The promptfoo documentation states that it runs locally on your machine. The self-hosted app stores data in a local SQLite database that cannot be shared across replicas, has no RBAC, no horizontal scaling, and no built-in authentication or SSO, and is not recommended for production. If several teams need shared results, access control or SSO for reviewers, check the Enterprise features listed on the promptfoo pricing page, which include team sharing, teams-based access control, SSO and custom roles. Confirm current terms with promptfoo before deciding.

How is a DeployOpen fixed-scope engagement quoted?

DeployOpen does not publish a price list. Most engagements are fixed-scope, and scope, deliverables and timelines are agreed in writing before work starts, after which a quote follows from that written scope. Ask for the quote to list the systems covered, the red team configuration and plugin set, the number of retest rounds, the documents DeployOpen prepares and the documents your owners must provide. Also ask which items are one-time work and which recur, such as ongoing support, upgrades or continuous testing, which are available as retainers. Ask what the quote excludes, including any legal review or formal audit fees paid to independent auditors.

Which parts of the NIST AI RMF should we document ourselves before testing starts?

Start with the Govern and Map material, because testing results mean more when they trace back to a defined system and an accountable owner. Document the system's intended purpose, its users and affected groups, the context of deployment, the risks your team has identified, and who decides on acceptable residual risk. Then define the trustworthiness characteristics you care about, such as safety, security and resilience, and privacy, so the Measure tests map to them. The NIST AI RMF Playbook offers suggested actions and documentation prompts for each subcategory, but NIST says it is neither a checklist nor a set of steps, and its last content update was in August 2023. Use it as a prompt list, not a template to copy.

How red team results move into AI RMF evidence

The diagram starts with the target application inside the client's boundary, which promptfoo red teaming runs against from the CLI, optionally through a self-hosted server. The run produces a nist:ai:measure report, which goes to findings triage, then to fixes and a retest. Each result lands in an evidence folder beside the Govern, Map and Manage documents that the organization maintains itself, because promptfoo does not produce those. Check that the report and retest records are versioned with the application build they describe.

Red team results flow from the application through triage into the evidence folder.

How DeployOpen prepares AI RMF test evidence

DeployOpen plans and runs promptfoo red teaming for the NIST AI Risk Management Framework inside your own infrastructure, so the Measure evidence reflects your actual application and deployment. We pair the test results with the Govern, Map and Manage work your organization still has to own.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • The written scope names the target application, the AI RMF subcategories the tests will support, and the report format.
  • We confirm which parts of Govern, Map and Manage the client owns and records them as out of scope for testing.

How we build

  • We configure the nist:ai:measure preset against the model endpoint or application you specify, with grading and data handling agreed first.
  • Where the self-hosted promptfoo server is used, we deploy it in your infrastructure and confirm its single-instance limits.
  • We run the red team scans and record the configuration, plugin set and scan size so results can be reproduced later.

How we hand over

  • You receive a written report mapping each test result to the relevant Measure subcategory, with the limits of each result stated.
  • The handover includes the promptfoo configuration files and run records so your compliance and security teams can review them.
  • The report lists the gaps testing cannot close, such as governance decisions, documentation and risk ownership, for your own owners to address.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, which suit re-runs after model or prompt changes.
  • We can retest after fixes are made so the evidence trail shows what changed and what was verified.
  • Ask us to confirm the current NIST guidance status for AI RMF 1.0 before you finalize any evidence package.

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.