PyRIT results as NIST AI RMF Measure evidence

PyRIT can produce test results that support the NIST AI RMF Measure function, but it does not certify conformity. This page maps the requirements to PyRIT capabilities, evidence and gaps.

On this page

How PyRIT results can support NIST AI RMF Measure evidence

A team that has to show an assessor how it tests generative AI risk can use PyRIT results as Measure evidence, provided the claim stays within what the framework asks for. NIST AI RMF has no certification, so no scan, tool or consultant can make a system "NIST AI RMF compliant." NIST describes the framework as voluntary, and it does not validate or endorse any organization's use of it. What an assessor can review is whether your records show that you measured the identified AI risks with methods you can explain, repeat and tie to a decision.

PyRIT helps with the Measure needs that involve adversarial testing. Its targets can point at the model or application you actually ship, its converters and multi-turn strategies can probe it in ways a single prompt cannot, and its scorers turn responses into recorded judgments. Attack success rates, scenario results and the conversations behind them can be exported and dated. PyRIT does not decide which trustworthy AI characteristics matter for your system, does not choose acceptable thresholds, and does not measure fairness, explainability or privacy on its own. Those need separate methods, and the Measure subcategories you claim should say which tool or process covers each one. Confirm the exact scorer definitions and dataset coverage in the PyRIT documentation for the version you run.

DeployOpen can plan the test scope, configure PyRIT against your environment, and prepare the evidence file an assessor will ask for, including the mapping from each Measure claim to a PyRIT scenario and the retest cadence you commit to. DeployOpen prepares systems, controls and evidence but does not issue audit reports, attestations or certifications, and that work stays with your independent assessor or certification body. Ask any provider to put the Measure subcategories covered, the test ownership and the retest triggers into the written scope before work starts.

Mapping Measure subcategories to PyRIT capabilities and configuration

This table compares the four Measure categories in NIST AI 100-1 with the PyRIT capabilities that can produce evidence for each and the configuration an assessor will ask to see. Read each row as a question that a stored run record should answer. Confirm exact subcategory wording and IDs against Tables 1 to 4 of NIST AI 100-1 before citing them, because PyRIT output is test evidence and does not establish conformity on its own.

Measure area (confirm wording in Tables 1 to 4)PyRIT capability that produces evidenceConfiguration to keep on record
Measure 1: suitable methods and metrics are chosen and appliedScenario runs with attack success rate and per-objective scorer resultsWritten metric definitions, scenario configuration file, and the denominator for each rate
Measure 2: trustworthiness characteristics are tested, including safety, security and privacyScenarios built from harm, psychosocial and data leakage datasets, plus custom objectives for security testsDataset names and versions, one documented scenario per characteristic, and the objectives used
Measure 2: testing reflects the deployed system, not a generic modelCustom HTTP or WebSocket targets and web app targets driven through PlaywrightTarget endpoint, system prompt, tool access and model version as tested in production
Measure 2: scorer results are valid and checked against human judgmentScorers using LLM judges, Azure AI Content Safety or custom logic, with scorer accuracy measurementFixed scorer identity and version, and a human-labeled sample used to check agreement
Measure 3: identified risks are tracked over time and across repeated testsMemory store (SQLite or Azure SQL) that keeps conversations and results for each runRetained memory database, run labels, PyRIT version, and the date of each retest
Measure 4: feedback from reviewers and affected users is recordedCoPyRIT for human-led review, with conversation export for reviewersReviewer identities, review decisions, access controls on harmful content, and retention period

Which PyRIT records an assessor can follow

An assessor testing a claim about AI risk measurement will ask whether a result can be traced back to the exact configuration, software version and scorer that produced it. The cards below cover the records that make a PyRIT run reproducible and reviewable, and the retention decisions your organization must make for each one.

Scenario configurations

Keep the scenario definition, objectives, seed prompt sets, converters and attack strategy used for each run, stored as files under version control. A rerun months later is only comparable to the original if the same objectives and settings were used. Check that the configuration captures the target endpoint and model version, not just the scenario name, and that configuration changes are recorded as separate commits with a reason.

Run history and timestamps

The memory database records conversations and results for each run, so keep it as the primary log of what was tested and when. An assessor will want to see that a Measure claim maps to a specific run, with start and end times, the target tested and the operator who launched it. Confirm that the database is backed up on a schedule your records policy sets, and that runs are not overwritten during reruns.

Scorer identities and versions

Every attack success rate depends on the scorer that judged each response, so record the scorer class, its model or service, its prompt or threshold settings, and the PyRIT release in use. PyRIT v1.1.0 was released on 4 September 2026, and scoring behavior can differ between releases, so pin the version in your environment and log it with each run. Ask the team to state which scorer was validated against human labels.

Attack success rates with denominators

A rate without its denominator cannot be assessed. Record the number of attempts, the number of successful attacks, the number of errored or unscored attempts, and the seed prompt set each rate is calculated from. Report rates per strategy and per harm category, so a low overall figure does not hide a high rate in one area. Exclude errors from the numerator only if your methodology says so in writing.

Labels and exported conversations

Labels attach the run to a project, a model release or a test cycle, which lets an assessor filter evidence by system. Exported conversations are the human-readable proof behind a score, so export the transcripts that support each reported finding. Set a naming and labeling convention before the first run, because labels added later are hard to apply consistently across old records.

Access and retention decisions

Harmful content in conversations is sensitive, so decide who can read the memory database and exports, and how long each record is kept. Retention periods are a client decision tied to your own policies and any contractual or regulatory obligations, not a PyRIT default. Document the decision, the access group and the deletion procedure in the same place as the evidence, and confirm the scheme with your compliance lead before the first audit cycle.

Turning Measure results into Manage decisions and findings

A PyRIT attack success rate becomes useful to the Manage function only when someone decides what it means for the system and who must act on it. A raw percentage from a scenario run does not tell a risk owner whether a finding is critical or whether a model release should wait. Before the first run, agree in writing how each scenario maps to a finding: which scorer result counts as a successful attack, what threshold triggers a finding, and which severity level applies to each harm category. Record the scorer identity and version with each decision so the severity call can be reproduced later. The severity decision belongs to a named risk owner, not to the engineer who ran the scan.

The NIST AI 600-1 Generative AI Profile is a useful reference for this step. It defines 12 generative AI risks and lists suggested actions, each tied to an AI RMF subcategory, so a PyRIT finding in a given harm area can be linked to the actions the profile suggests for that risk. Use those suggested actions as a starting point for the mitigation, not as a checklist you must complete. Each finding should carry an owner, a mitigation decision (fix, accept with a documented reason, or transfer), and a due date set by that owner. Confirm with your own governance team how acceptance decisions are approved and who may sign them.

Close the loop with a retest. A finding is open until a later PyRIT run against the changed system shows the attack no longer succeeds at the agreed threshold, using the same objectives, converters and scorers where possible so the results are comparable. Set the retest cadence by the risk and by change events such as a new model version, a changed system prompt, or a new tool connection, and confirm the cadence with the owners who will be held to it. Keep the link between finding, decision, retest run and memory record intact, so an assessor can trace a single Manage decision back to the Measure evidence behind it.

What PyRIT and a scan cannot show for Measure

A PyRIT run produces scores and attack success rates, but those numbers only support a Measure claim when the scoring, scope and framework context are understood. The cards below name the gaps an assessor is likely to probe before accepting scan results as NIST AI RMF Measure evidence.

Scorer accuracy must be measured separately

A PyRIT attack success rate is only as reliable as the scorer that labels each response. LLM judges, Likert scales and refusal detectors can misclassify harmful output in either direction. Before citing a rate, test each scorer against a human-labeled sample from your own use case, record its agreement with reviewers, and keep that measurement with the run so an assessor can see how much trust the score deserves.

A scan does not test real-world use

A scan sends the objectives and prompts you chose to the target, usually in a controlled setup. It does not reproduce your actual users, their language, their integrations or the context in which outputs are acted on. Describe the scan as adversarial testing of defined scenarios, and pair it with monitoring or user studies before claiming the system performs safely in production.

A scan does not cover all harms

The PyRIT datasets cover content harms, psychosocial risks and data leakage, but a given run only tests the categories you selected. Harms specific to your domain, such as bias in a credit or hiring workflow or errors in clinical content, may not appear in any dataset. Map each Measure claim to the harm categories actually exercised and list the untested categories as open risks.

The Playbook is dated and will change

The NIST AI RMF Playbook, the companion that lists suggested actions and documentation prompts for each subcategory, shows its last content update in August 2023. NIST has said it will update the Playbook after the AI RMF is revised. Check the current Playbook version when you write your mapping, and record the version you used so later readers can tell which guidance you followed.

Playbook audit log

The framework is under revision

As of 17 October 2026, NIST says AI RMF 1.0 is being revised as part of the White House AI Action Plan and has not published a revised version. The July 2025 AI Action Plan recommends removing references to misinformation, diversity, equity and inclusion, and climate change. Subcategory numbers or wording may change, so keep your mapping in a versioned document and plan to re-map when a revision is published.

AI Action Plan text

No certification exists and policy stays outside PyRIT

NIST does not certify, accredit or endorse organizations that use the AI RMF, so a PyRIT mapping is a self-prepared record, not a conformity result. PyRIT also does not write your AI use policy, assign owners, run human review of flagged outputs or approve releases. Those Govern and Manage activities need written decisions, named roles and sign-off records from your organization.

Setting up PyRIT runs that produce Measure evidence

This sequence turns a PyRIT run into a record that shows which system was tested, with which configuration, scorers and datasets, and what the results were. Each step leaves an artifact that an assessor can trace back to a specific run and decide whether the Measure evidence is complete.

  1. Pin the PyRIT version and environment

    The engineer responsible for the test environment installs a specific PyRIT release with pip, records the exact version, and records the Python interpreter version. PyRIT's PyPI package supports Python 3.10 up to but not including 3.15, and the documentation recommends Python 3.13, so the environment should use a version inside that range. Store the version pin and interpreter details in the test repository. Done means a fresh environment built from that pin reproduces the same version string when checked.

  2. Configure memory storage

    The engineer chooses SQLite for a local or single-team setup or Azure SQL for a shared, centrally operated store, and sets the connection so every run writes to the same memory location. PyRIT memory holds conversations and results, so this choice determines what you can query later. Confirm the storage location and access rights with your security team before the first run. Done means a test run writes a conversation record that you can query back from the same database.

  3. Set scorers and record their identities

    The engineer selects the scorers that decide whether each attack succeeded, whether LLM-based, Azure AI Content Safety or custom logic, and records each scorer's name, configuration and model or service version. Scorer choice changes attack success rates, so an assessor will ask which judge produced each result. Keep the scorer settings in the configuration files under change control. Done means each scorer used in the run can be listed with its identity and settings.

  4. Define datasets and scenarios

    The red team lead selects the objectives and seed prompts that match the harms the AI system is expected to face, drawing on PyRIT's built-in datasets for content harms, psychosocial risks and data leakage where they apply, and documents why each was chosen. The scenario is written down with its target, attack strategies and iteration limits. This document is the link between your risk statements and the tests. Done means each risk the Measure function addresses maps to at least one named dataset and scenario.

  5. Run the scenario and apply labels

    The engineer runs the scenario against the target through the pyrit_scan command, CoPyRIT or the Python framework, and applies consistent labels to each run, such as system name, release, environment and test purpose. Labels let you separate a pre-release run from a production check later. Credentials stay in ~/.pyrit/.env and settings in ~/.pyrit/.pyrit_conf, which should be kept out of the run log. Done means the run completes and every result carries the labels defined in the test plan.

  6. Export results and attack success rates

    The analyst queries memory for the run and exports the attack success rates, scenario results and the conversations needed for review, using PyRIT's reporting capabilities. Store the export with the run ID, PyRIT version, scorer identities and dataset names, so the figures can be reproduced. Restrict access to the export because it may contain harmful content. Done means the export can be regenerated from memory and matches the figures in the report.

  7. Review findings and map them to Measure

    A reviewer checks the flagged conversations, confirms whether the scorer judgments are correct on a sample, and links each finding to the relevant NIST AI RMF Measure subcategory and to any Manage action taken. Record who reviewed each finding and the decision made. Done means every finding has a status, an owner and a reference to the Measure subcategory it supports.

  8. Set the retest trigger

    The governance owner writes the conditions that require a new run, such as a model or prompt change, a PyRIT upgrade, a new scorer, a new tool or data source, or a finding that is closed. NIST does not set a fixed retest interval for AI RMF, so the cadence is your own decision and should be approved by the accountable owner. Confirm any release-specific PyRIT changes in the release notes before upgrading. Done means the trigger list is approved and linked from the run record.

Setting a retest cadence that matches your change events

Set the retest cadence by change event rather than by a fixed number of days. No supplied source sets a recommended interval for re-running AI red teaming, and NIST's AI RMF is voluntary and does not prescribe one, so the interval is a risk decision your organization owns. Start by agreeing with your risk owner which changes move the system's risk position enough to require a new PyRIT run: a change of underlying model or model version, a change to the system prompt, retrieval sources, tool permissions or guardrails, a new PyRIT release, and a change to a scorer or its threshold. Record each trigger in the AI system's risk register next to the Measure evidence it refreshes, so an auditor can see why a run happened and which scenario it covered.

Treat PyRIT upgrades and scorer changes as their own triggers, because they can change results without any change to the system under test. Pin the PyRIT version and the scorer configuration in your run records, and when a new release is adopted, re-run a baseline scenario on the unchanged system to show whether scores moved. The same applies to a scorer swap or threshold change: a lower attack success rate after a scorer change is a measurement change, not an improvement in the system. Confirm with your assessor how they expect scorer and version changes to be documented before you rely on a comparison across them.

Agree the trigger list and the verification steps in writing before the first retest, and ask your assessor whether they expect a scheduled re-run in addition to change-driven runs. Include a periodic review of the cadence itself, since new deployments, new data sources or incidents may justify tightening it. The output for each trigger should be a dated run record, a comparison against the prior baseline and a decision on whether the associated risk acceptance still stands.

How PyRIT runs feed Measure records and retests

The diagram starts with the target system and seed datasets, which feed PyRIT attacks and scorers. Every conversation and score is written to PyRIT memory, which sits inside a boundary marking where harmful content is stored and restricted. From memory, results go into reports and then into findings, fixes and a retest, and the retest loops back into a new run. Check that the memory store is access-restricted, that scorer identities are recorded with each result, and that each fix is tied to the run that found it.

PyRIT runs flow into memory, reports, findings and retests, with the harmful content store bounded.

Questions buyers ask about PyRIT and NIST AI RMF evidence

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

No. NIST does not certify, accredit or validate organizations that use the AI RMF. NIST describes the framework as voluntary, and neither its framework pages nor its FAQ describe a certification or conformity assessment program. A PyRIT report can show that you ran structured adversarial tests and recorded results against subcategories you chose to address. It cannot show that NIST has approved your program. If a customer or regulator asks for a certificate, the honest answer is that none exists for the AI RMF, and any claim of one should be checked with the party making it. Ask your legal or compliance team which third-party assessment, if any, your contracts actually require.

What does outside help cost for PyRIT evidence work, and what drives it?

No public price or fee for this work is supplied, so treat any figure you see as something to confirm in a written quote. Cost follows the written scope. The main drivers are the number of AI systems in scope, how many AI RMF subcategories you map to test results, the number of target types (a model API, a custom HTTP endpoint, a web chat UI), how many attack strategies and scorers you run, whether you need a retest cycle, and how much of the evidence package you want written for auditors. Ask each quote to separate one-time setup from recurring retesting, and to state who maintains the PyRIT environment after handover. DeployOpen does not publish a price list, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts.

How long does a first PyRIT evidence package take?

No duration is supplied for this work, so confirm the timeline in a written scope rather than relying on a general figure. The schedule depends on how many systems are in scope, whether PyRIT is already running in your environment, how quickly you can provide test access and approved endpoints, how much existing AI RMF documentation you have, and how many findings need fixing before a retest. A first package usually takes longer when the team has not agreed which Map outcomes the tests support, because that decision sets which Measure results matter. Ask for milestones that separate setup, test runs, findings review, fixes and retest, so each stage has a clear owner and a date.

What does the client need to provide for a PyRIT evidence engagement?

The client provides the inputs that make results meaningful and reviewable. Typical items include:

  • Named AI systems in scope, with owners and a description of their intended use and users
  • Test access to a non-production target that matches production behavior, plus any approved API keys or service accounts
  • Existing AI risk documentation, such as Map or Measure records, system descriptions and prior test results
  • Decisions on which harms and AI RMF subcategories the tests are meant to support
  • Approval to store harmful test content, and a location for it that meets your data handling rules
  • A named reviewer who can accept or reject findings and sign off on fixes

Confirm each item in the written scope, because gaps here are the most common reason evidence packages stall.

Can our team run PyRIT and produce Measure evidence without an outside partner?

Yes, if you have people who can run Python tools, manage secrets and credentials, and interpret scoring results. PyRIT is open source under the MIT license, installs with pip, and supports Python 3.10 up to but not including 3.15, with the documentation recommending Python 3.13. The harder parts are usually not installation. They are choosing objectives that match your risks, validating scorers so their judgments can be trusted, keeping memory records in a form an auditor can follow, and mapping outputs to specific AI RMF subcategories. Ask yourself whether someone on the team can document why each test was run and how each score was checked. If not, an outside partner can help, or you can start with a limited scope and build internal skills step by step.

Does a PyRIT upgrade invalidate our existing evidence?

Not automatically, but an upgrade can change how results are produced, so record it. PyRIT has had breaking releases, including the move from orchestrators to attacks in 0.10, a 0.12.1 security patch, the 1.0 architecture and the 1.1 scoring and CoPyRIT changes. The PyRIT v1.1.0 release date was 4 September 2026. Before upgrading, store the exact PyRIT version, scenario configuration, scorer identities and dataset versions alongside each run. Then run a small comparison suite on the old and new versions and document any differences in scores or attack success rates. Keep the old results in your evidence record rather than overwriting them, and state in each report which version produced it.

How DeployOpen prepares PyRIT evidence for NIST AI RMF reviews

DeployOpen treats PyRIT output as one input to a Measure record, not as a certificate. We scope which AI systems, harms and PyRIT scenarios the evidence covers, run the testing, and hand over records that your risk and compliance teams can review. DeployOpen does not issue audit reports or certifications, so the record is prepared for your own assessors.

How we scope

  • Agree in writing which AI systems, harm categories and PyRIT scenarios the Measure evidence will cover
  • Map each planned scenario to the AI RMF subcategories your organization has chosen to address
  • Confirm which PyRIT version, Python environment and target endpoints are in scope before testing starts

How we build

  • Configure PyRIT scenarios, scorers and memory storage in infrastructure you control, with settings recorded for review
  • Run attack scenarios and record attack success rates alongside scorer identities and labels for each run
  • Test the scorer's judgments on a sample of responses so the evidence states how far the scores can be trusted

How we hand over

  • Deliver a findings report that links each result to the AI RMF subcategory and the scenario that produced it
  • Document the retest cadence, the trigger events for a rerun, and the owner responsible for each measure
  • Provide the memory records, scenario configurations and access controls your assessors will ask to see

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
  • Ongoing support, upgrades and continuous testing are available as retainers for repeat Measure cycles
  • Retest findings after fixes and update the evidence record so it reflects the current system and PyRIT version

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.