How promptfoo red team risk scores work

promptfoo rates each red team finding on a 0 to 10 scale and maps it to severity bands. This page explains what the score measures, where its limits sit, and how to use it to order remediation.

On this page

Why a promptfoo risk score matters before you order fixes

A promptfoo risk score, on a 0 to 10 scale, lets a team rank red team findings so the most serious weaknesses are fixed first. The score is a triage aid, not an audit result: it orders work, it does not certify that an application is safe, and it does not satisfy a control on its own. Teams that treat the number as a verdict usually fix the wrong things first or close findings that deserved a second look.

Read scores closely at three points: the first scan of a new application, repeat scans after a model, prompt or guardrail change, and any sign-off review where a security or compliance owner must explain why a finding was accepted, fixed or deferred. In a first scan, the ranking is most useful because nothing has been prioritized yet. In repeat scans, compare scores for the same findings over time so a regression stands out. In sign-off reviews, be ready to show how each score was derived, which is why the component breakdown matters more than the single number.

Human review still applies to borderline findings. A score can rank a probe that was graded incorrectly, and it cannot tell you whether a business user would have been harmed by an output. Before you assign owners or deadlines, have someone who knows the application review the high-scoring items and the ones near a severity band boundary. Ask your promptfoo administrator or vendor to confirm which fields feed the score in your version, and whether your organization has changed any severity mappings.

What goes into a promptfoo risk score

Each finding in a promptfoo red team result carries a 0 to 10 score built from several parts. Reviewers who understand what each part measures can challenge a score on the right grounds and decide which fixes come first.

Impact

Impact describes how much harm a successful attack would cause if it worked, such as leaked personal data, unauthorized actions or harmful content reaching a user. It depends on the vulnerability type the plugin tests and on the context your purpose field describes. Check whether the impact assumption matches your real data and tools, because a score is only as accurate as the context behind it. Confirm the exact weighting in the current risk scoring documentation for your installed version.

Risk scoring docs

Attack success rate

Attack success rate is the share of attempts that got past the target's defenses in a given test set. It tells you how often an attack worked, not how bad the result would be, so a low rate on a severe category can still need action. Check the number of probes behind the rate, since a small sample can swing sharply after one change. Compare the rate against the same attack suite on a previous run before drawing conclusions about a model or guardrail change.

Human exploitability

Human exploitability estimates how much skill and effort a person would need to reproduce the attack by hand, without tooling. A finding that a non-expert can repeat from a chat window usually deserves more attention than one that requires specialist knowledge. Review the example prompt or transcript attached to the finding, because the rating is only as good as the evidence it cites. Ask whether the attack depends on a strategy, such as encoding or multi-turn setup, that a real user would rarely try.

Attack complexity

Attack complexity reflects the technical conditions an attacker needs before the attack can work, such as special access, particular encodings or several conversational turns. Low complexity means the weakness is reachable with little preparation, which raises its priority. Verify the preconditions yourself by reproducing the finding against the same endpoint and configuration. If a finding depends on a setting that will not exist in production, record that assumption in the report.

Severity band

The severity band places the numeric score into a CVSS-style range, with 9.0 to 10.0 labeled critical and 0.1 to 3.9 labeled low. Bands make triage and reporting easier, but the boundary between two bands can hide a small difference in score. Enterprise customers can change the severity assigned to vulnerability types, so confirm whether your deployment has adjusted any defaults before comparing results across teams or scans.

Risk scoring docs

How the CVSS-style severity bands map to scores

promptfoo places each red team risk score from 0 to 10 into a severity band borrowed from the CVSS scale. The supplied boundaries are 9.0 to 10.0 for critical and 0.1 to 3.9 for low. Those two ends are the ones to plan around first: anything in the critical band should be treated as a stop-and-fix item before the application ships, and anything in the low band is a candidate for backlog rather than an immediate change. Before you write a remediation policy, confirm the boundaries for the middle bands (typically labeled high and medium) in the promptfoo risk scoring documentation, since the middle cut points are not part of the boundaries supplied for this page.

The bands use CVSS vocabulary, but they are not CVSS vulnerability scores for a CVE. CVSS scores a published software flaw from its technical characteristics, and the result is a shared identifier that other tools and advisories can reference. A promptfoo band describes how serious a finding from one scan is for one application, based on promptfoo's own impact and exploitability inputs. Do not carry a band into a vulnerability tracker as if it were an assigned CVE score, and do not compare a promptfoo band against a vendor's CVSS rating for the underlying model. Write the scale name into your report template so auditors and engineers read the band in the right context.

Enterprise customers can change the severity that promptfoo assigns to each vulnerability type. That changes which findings land in critical or low, and therefore the order in which your team fixes them, so the same scan can produce a different queue depending on the severity map. Record the severity overrides in the scan configuration and carry them into the exported report, along with the promptfoo version used. Without that record, a later re-run may look like a regression or an improvement when only the severity mapping changed. Ask your promptfoo contact which edition and settings allow severity changes before you plan around them.

Reading a result by audience: engineers, security reviewers and product owners

Engineers usually open a result to answer one question: why did this probe fail, and what in the application produced the response? Start from the failing row in the report, not the summary score. Read the exact adversarial prompt that was sent, then the full target response, then the grader's reasoning for why the response was marked as a failure. The prompt tells you which plugin and strategy produced the attack, and the response tells you whether the model complied, leaked data, or called a tool it should not have.

  • Open the failing probe first: Note the plugin name, the strategy (if any) and the exact prompt text, since a reworded attack often exposes a different weakness.
  • Read the full target response: Check for leaked system prompt text, unauthorized tool calls, or data that should have been filtered, not just the first sentence.
  • Compare the grader reasoning with the response: If the grader's explanation does not match what the response says, treat the result as a possible false positive before writing a fix.
  • Reproduce the probe against the same target: Send the same prompt to the same endpoint and configuration to confirm the failure is stable.
  • Record the fix surface: Decide whether the change belongs in the system prompt, the tool permissions, input or output filtering, or the application code.

Before you close the ticket, confirm that the reproduced response is attached to the finding so a reviewer can see the failure without rerunning the scan.

Ordering remediation from scores without losing context

This sequence turns a list of promptfoo risk scores into an ordered remediation plan, with each step checking that a score reflects a real, reproducible weakness before time is spent fixing it. The output is a prioritized backlog with owners, fixes and a retest scheduled against the same attack suite.

  1. Group findings by plugin and strategy

    Before ranking anything, the security lead collects the scan results and groups each finding by the plugin that generated the test and the attack strategy that delivered it. Grouping shows whether many scores come from one weakness, such as several injection variants that succeed through the same tool, so the team fixes the cause once rather than each symptom separately. Done means every finding sits in a named group with its plugin and strategy recorded.

  2. Sort groups by severity band

    Within the grouped results, the team sorts by the severity band that promptfoo assigns from the 0 to 10 risk score, starting with critical (9.0 to 10.0) and working down through the lower bands. Enterprise customers may have changed the severity of some vulnerability types, so the reviewer confirms which mapping applies to this scan before sorting. Done means a ranked list exists and the severity mapping in use is written at the top of it.

  3. Check attack success rate for reproducibility

    For each high-band group, the engineer checks the attack success rate, which shows how often the strategy succeeded across its probes. A high score backed by a low or inconsistent success rate may come from a single lucky probe, so it needs more evidence before a fix is scoped. Done means each group is marked as reproducible, not reproducible, or needs more runs, with the rate recorded beside it. Illustrative example: a group that succeeds on most of its probes moves forward, while one that succeeds on a single probe goes back for a rerun.

  4. Confirm the finding is not a grader error

    Before any finding is escalated, a reviewer reads the actual target response and the grader's verdict for the top reproducible findings. Graders can mislabel a refusal as a failure or miss a subtle leak, so this check separates true weaknesses from false positives. Done means each escalated finding has a reviewer note stating that the response shows the behavior the plugin tests for, and false positives are removed from the backlog with the reason recorded.

  5. Confirm exploitability with a human reviewer

    A human reviewer with knowledge of the application, its users, data and tools assesses how an attacker would reach the weakness and what they could gain. The risk score alone does not account for access requirements or the effort needed, so this review adds that context. Done means each confirmed finding has a short written statement of the attack path, the data or action at risk, and the conditions required to reproduce it.

  6. Assign fixes with owners and scope

    The owner of the application or model configuration assigns each confirmed finding to a fix, such as a system prompt change, a tool permission reduction, a guardrail rule or an application code change. Each ticket links back to the plugin, strategy, score and reviewer note so the reason for the fix stays visible after the scan is closed. Done means every confirmed finding has an owner, a proposed fix and a ticket that references the original scan result.

  7. Schedule a retest against the same suite

    After each fix is deployed, the team reruns the same plugin and strategy combination against the same target so the before and after results are directly comparable. Changing the attack set at the same time makes it unclear whether the score fell because of the fix or because the tests changed. Done means the retest results are recorded beside the original score, each finding is marked resolved, still open or changed, and the team confirms which findings will stay in the repeat suite for future scans.

How a finding moves from probe to ranked fix

The flow starts when promptfoo sends attack probes to the target application and grades each response as pass or fail. Failed probes are grouped into findings, and each finding gets its impact, attack success rate and exploitability inputs before the 0 to 10 score maps to a CVSS-style severity band. A human reviewer confirms borderline items before the ordered list feeds remediation, and the same suite is rerun to verify the fix. Check that the reviewer step is documented in your own process, since the score alone does not settle severity.

Path from a probe result to a remediation queue, with human review as the trust boundary.

Score settings and when each fits

This table compares the score settings that change how promptfoo risk scores read in a report: the default severity mapping, Enterprise severity overrides and recording scores across repeated scans. Use it to decide which settings to keep at default and which to change before a scan is treated as evidence. Confirm which features are available in your edition before you plan around them.

SettingWhen it fitsWhat it changes in the report
Default CVSS-style bandsFirst scans, pilots and any team that wants scores to match the published banding without local judgmentScores fall into the documented bands, with 9.0 to 10.0 critical and 0.1 to 3.9 low, so readers can compare findings across applications
Enterprise severity overridesOrganizations where a vulnerability type carries a different business impact than the default assumes, such as data exposure in a regulated workflowSeverity for the chosen vulnerability types is changed in the report, which can move findings into a different band and change remediation order
Default mapping kept with documented rationaleTeams that cannot use Enterprise but still need to explain why a type is prioritized differentlyScores stay at default, so the report needs a written note on how the team ordered remediation despite the default band
Single scan scored on its ownOne-off assessments, go or no-go reviews on a single releaseEach score describes one run, so the report shows the state of the application at that moment only
Scores recorded across repeated scansRegression tracking after model, prompt or guardrail changes, and evidence trails for auditsTrends in scores and attack success rate show whether a fix held, but only if the same attack suite and settings were used each time
Community scope for score settingsTeams evaluating the free edition before committing to a paid tierConfirm on the promptfoo pricing page whether severity changes and history features are included in your edition before relying on them

Setting up score review for a first red team

This sequence gives a team a repeatable way to run a first promptfoo red team, read its 0 to 10 risk scores against the documentation for the installed version, and turn the results into a reviewed, ordered remediation list. It produces a baseline that later runs can be compared against.

  1. Confirm the installed promptfoo version

    The engineer running the scan records the promptfoo version with the command promptfoo --version and checks it against the release notes on the GitHub releases page. Scoring behavior can change between versions, so the version is written into the review record next to the results. Done when the version number, the Node.js runtime and the date of the check are in the test plan.

  2. Read the risk scoring documentation for that version

    Before running anything, the security lead and the engineer read the promptfoo risk scoring documentation that matches the recorded version. They confirm how the score is built from impact, attack success rate, human exploitability and complexity, and how scores map to the CVSS-style bands. Done when the team can explain in its own words what a critical and a low result mean in promptfoo.

  3. Record the severity mapping in use

    The team writes down the severity bands and any vulnerability-type severity overrides that apply to the scan. The documentation describes the bands, with 9.0 to 10.0 as critical and 0.1 to 3.9 as low, and notes that Enterprise customers can change the severity of vulnerability types. Ask whether your edition supports overrides and record any change so reviewers can see why a finding was ranked as it was. Done when the mapping is saved with the scan configuration.

  4. Fix the probe set for the baseline scan

    The engineer freezes the scan configuration: the purpose, the plugins, the strategies, the number of tests per plugin, the target endpoint and the grader settings. The configuration file is committed to version control so the same probes can be reproduced. Done when the file hash or commit reference is recorded and the probe count from the run matches the expected count for that configuration.

  5. Run the scan and export the results

    The engineer runs the red team scan against the target and saves the output, either by viewing the results in the web UI or by exporting the report from the CLI. The team confirms that the run completed, that errors from the target are listed separately, and that the risk score for each finding is present. Done when the raw results are stored with the scan date, the promptfoo version and the configuration reference.

  6. Review the top critical and high findings by hand

    A security reviewer opens each critical and high finding, reads the attack prompt, the target response and the grader's reason, and decides whether the score reflects real impact for this application. The reviewer notes any finding that looks mis-graded or overstated and flags it for a second look. Done when every critical and high finding has a recorded decision: confirmed, downgraded with reason, or needs more evidence.

  7. Confirm comparison runs use the same probes

    Before any later run is compared with this baseline, the team checks that the configuration hash, plugin list, strategy list, test counts and seed or generated probe set match the baseline. Scores from runs with different probes cannot be read as a trend. Done when the comparison check passes or the differences are listed and explained in the review record.

  8. Document decisions and order remediation

    The team writes a short review record covering the version, severity mapping, configuration reference, confirmed findings, downgrades and the remediation order, with the highest-scoring confirmed findings first. The owner of each fix and the retest scope are named. Done when the record is filed with the scan results and a reviewer outside the test team has signed off on it.

Security and operational cautions when acting on scores

A risk score ranks findings for attention. It does not prove a system is safe, and the report that carries it can expose sensitive material. The cards below cover the four cautions that most often change what a team does with the numbers, each with a control to put in place.

Scores are not compliance evidence

A high or low score describes how a probe fared against a grader on one run. It does not show that a control meets a regulation or framework such as the OWASP LLM Top 10, the NIST AI Risk Management Framework or the EU AI Act. Treat the score as one input to a review, not a sign-off. Before a compliance team relies on the numbers, confirm with them which evidence they need, which tests cover it and which parts still need an independent assessment.

Red teaming docs

Reports can expose sensitive content

Red team reports usually include the prompts sent, the target's responses and sometimes data the model echoed back. A report shared widely can therefore carry personal data, internal instructions or working exploit text. Set a distribution list before the scan runs, redact or restrict the report before wider sharing, and store output in the same classification tier as the system under test.

Grader errors can distort severity

A grader that wrongly passes a harmful response hides a real finding, and one that wrongly fails a safe response inflates severity and sends engineers after non-issues. Both errors change the ordering of remediation. Sample borderline results, especially the top-scoring findings, and compare them against a human reviewer before you reorder the backlog based on them.

Severity overrides need an audit trail

Enterprise customers can change the severity assigned to vulnerability types, which can move a finding across CVSS-style bands. An override that nobody records makes a later score impossible to explain. Keep a written reason, the approver and the date for every change, and re-check overrides when the scan configuration changes.

Generation and grading data flows

Scores depend on generation and grading calls, and those calls may leave your environment depending on your setup. Confirm where prompts and responses go, which steps run locally and what telemetry is sent before you accept any score from a scan. The data-flow guidance covers this review in detail and should be completed before the first scan against production-like data.

Questions teams ask about promptfoo risk scores

Does a high promptfoo risk score mean a confirmed exploit?

No. A high score ranks how serious a finding would be if it holds up, and it does not prove that an attacker can reproduce the failure against your system. The score combines impact with how often an attack succeeded and how hard the attack would be to run. Treat a high-scoring finding as a claim to verify: open the probe, read the target's response, check the grader's reasoning, and reproduce the failure in your own environment before you assign an owner or call it a vulnerability. Confirmed exploitability depends on your deployment, your data and your controls, which the scanner does not know unless you describe them in the purpose and configuration.

Are promptfoo risk scores the same as CVSS scores?

No. promptfoo maps its 0 to 10 risk scores to CVSS-style severity bands, so the bands look familiar, but the score is not a CVSS base score calculated from a standard vector. The bands in the supplied documentation place 9.0 to 10.0 in critical and 0.1 to 3.9 in low. Use the bands to sort work and communicate priority, and do not copy scores into a CVSS field or compare them directly with CVEs from scanners. If your vulnerability process requires CVSS, confirm with your security team how they want AI findings recorded before the first report.

Who can change the severity of a promptfoo finding?

According to the promptfoo risk scoring documentation, Enterprise customers can change the severity of vulnerability types. Community users work with the severity that promptfoo assigns, so the practical approach is to record your own priority decision in your ticketing or findings register and explain the reason. Whoever owns the application should agree the reasoning with the security reviewer, because a severity change should reflect your deployment, such as a tool that cannot reach sensitive data. Confirm with promptfoo which edition and permissions your team has before you plan a process around changing severity.

How much effort does reviewing promptfoo risk scores take?

The effort depends on three things: the number of findings, the quality of the grader's judgments, and the skill of the reviewer. A small scan with clear results can be triaged in a short session, while a broad scan with many borderline grades takes longer because each one needs the prompt, the response and the purpose read together. Ask for a sample review before you commit: have the proposed reviewers triage the same findings and compare their decisions. Your team can then estimate effort from its own sample rather than from a generic figure.

What drives the cost of reviewing red team findings?

Cost follows the same drivers as effort: how many findings the scan produces, how accurate the grading is, and how much context the reviewers need. Grading quality matters most. A vague purpose or weak grader guidance creates false positives, and each one consumes reviewer time. Costs are mostly people time, so they recur with every scan. The main one-time cost is setting up the purpose, grader guidance and triage process. Ask any partner to show how they would separate one-time setup from per-scan review and to state which items are included in a fixed scope.

Can an internal security team manage promptfoo risk scoring alone?

Yes, if the team has someone who can read LLM application behavior, understands the application's purpose and data, and can write grader guidance that the team trusts. The work includes choosing which findings to reproduce, deciding severity overrides where your edition allows them, assigning remediation owners and retesting fixes. Teams without that combination often struggle with grading disagreements and with retesting after fixes. A practical check is to run one scan, have two people triage the same results, and see whether they reach the same priorities.

What would a partner provide for promptfoo risk scoring?

A partner can plan and configure the scans, write the purpose and grader guidance with your team, triage findings, reproduce the high-priority ones, and produce a findings report with recommended fixes and a retest. DeployOpen tests applications, APIs and AI systems and delivers findings reports with fixes and a retest, and it runs fixed-scope engagements with scope, deliverables and timelines agreed in writing before work starts. It does not issue audit reports or certifications. Ask any partner for a written scope that names the scans, the reviewers, the reproduction steps and the retest, and confirm what happens to ongoing scans after the first engagement.

How DeployOpen scopes and supports red team score reviews

DeployOpen reviews how promptfoo risk scores were produced for your application and turns them into a ranked remediation list. The work is agreed in a written scope, tested against your own target, and handed over with the evidence your team needs to act on each score.

How we scope

  • Confirm which promptfoo scan runs produced the scores and which target and purpose they tested.
  • Agree which score components, such as impact and attack success rate, the review will examine.
  • Record in writing whether custom severity changes on Enterprise apply, and who approved them.
  • Define the findings, retest and reporting deliverables before any scoring work begins.

How we build

  • Recheck each flagged finding against the transcript to confirm the attack success rate is accurate.
  • Assess human exploitability and attack complexity from your deployment, permissions and data exposure.
  • Map each score to a CVSS-style severity band and document where the band was adjusted.
  • Build a remediation order that weighs severity, fix effort and business exposure together.

How we hand over

  • Deliver a written score review listing each finding, its inputs, its band and its owner.
  • Provide the ranked remediation list with fixes, and state which items need a retest after the change.
  • Document the scan settings, target version and date so the scores can be reproduced later.
  • Walk your security and engineering leads through the scoring logic so they can rerun it themselves.

How we support

  • Retest remediated findings and update scores so the ranking reflects the current application.
  • Offer ongoing support, upgrades and continuous testing as a retainer if scores need regular review.
  • Re-score after model, prompt or guardrail changes so severity tracks the application you run today.
  • Ask your team to confirm the business impact inputs, since those depend on your environment.

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.