---
title: "Pentest Remediation Section Written With an LLM"
description: "Turn confirmed pentest findings into a draft remediation section: the shortest fix, the owner and one plain sentence per finding, checked by the analyst."
canonical: https://pentestllm.ai/pentest-remediation-writing
generated: 2026-11-27T06:25:54.880Z
source: https://pentestllm.ai/pentest-remediation-writing
base_url: https://api.pentestllm.ai/v1
---

Remediation section with an LLM

# Drafting the remediation section

Give `orca-zero-1.5-cybersecurity` at https://api.pentestllm.ai/v1 your confirmed findings and get a draft remediation section back: for each finding the shortest fix, the team that would own it and one sentence a non-technical reader understands. The findings are yours and already confirmed, the model drafts the wording, and the analyst checks every recommendation against the client’s real environment before it ships.

[Prices per token](https://pentestllm.ai/pricing)

[Get a key](https://app.pentestllm.ai/console) [Try it free in the browser](https://pentestllm.ai/playground)

```bash
curl https://api.pentestllm.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-ptl-live-…" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "auto/security",
    "messages": [{"role": "user", "content": "Rank these scanner findings by severity and say what to verify first."}]
  }'
```

## Confirmed findings in, prose out

Carry the approved fix into [local Jira finding drafts](https://pentestllm.ai/jira-security-finding-drafts). If the owner defers it, document their recorded choice with [risk acceptance drafts](https://pentestllm.ai/vulnerability-risk-acceptance-drafts); after a tester returns, compare the [collected retest evidence](https://pentestllm.ai/pentest-retest-evidence-review).

The remediation section is the part of a report the client acts on, and it is mostly writing. Each confirmed finding needs a fix that is specific to the thing found, a note on who in the client’s organization would make it, and a sentence that explains why it matters to someone who will never read the technical detail. A model is good at that writing when the facts are supplied and poor at it when they are not, so this page starts from findings a person on the engagement has already confirmed. The model drafts; it does not decide what is wrong or whether it is fixed. The authorized testing that produced the findings, and the signed scope it ran under, are the ground the draft stands on.

## What to send for each finding

Send one structured record per finding: a title, the affected component with client names replaced by placeholders, the confirmed severity from the [CVSS 4.0 calculator](https://pentestllm.ai/tools/cvss-v4-calculator), the evidence in one or two sentences, and anything you already know about the client’s stack that bears on the fix, such as the framework version or the fact that a service is vendor-managed. That last item is what keeps the draft from recommending a patch the client cannot apply. If the firm has a remediation template, send the template too and ask the model to fill it rather than invent a layout.

Leave out the raw evidence files. The remediation draft needs to know that a parameter is injectable, not the full request and response that proved it, and the smaller the request the less there is to redact. The gateway’s [redaction setting](https://pentestllm.ai/features/files-and-redaction) stands behind your own placeholder work for any secret that survives in a sentence.

## Ask for three things per finding

For each record, ask for the shortest fix that fully closes the finding, the role or team that owns that fix, and one sentence for a non-technical reader. Ask separately for a short-term mitigation only where a full fix would take a release cycle, and ask how the client could confirm the fix worked. Keep the model to those fields; a draft that wanders into general hardening advice makes the section longer and the client less likely to finish it. `orca-zero-1.5-cybersecurity` takes the whole findings list and the template in one request and returns the section as prose you paste into the report.

Each call reports what it cost in `usage.cost`; the response headers carry the request id should you need to refer to one. Rates for every security build are on the [pricing](https://pentestllm.ai/pricing) page.

## Read every fix against the real environment

This is where the time saved on writing is spent on checking, and the checking is not optional. A model will recommend a configuration directive from a version the client does not run, propose disabling a feature the client depends on, or describe a fix as complete when it only narrows the exposure. The analyst who confirmed the finding reads each recommendation with the client’s environment in mind and rewrites the ones that do not fit. A recommendation nobody on the engagement could defend in the readout does not go in the report.

## Order by effort and closure, not by drama

Clients act on a remediation list in the order it is written, so the order matters. Ask the model to tag each fix with one of three bands: a fix one administrator can apply the same day, a fix that waits for a maintenance window or a sign-off, and a fix that is a project. Then sort by severity within each band. The band is the model’s estimate from the finding’s description, and the lead adjusts it with what the engagement knows about the client’s change process. The [vulnerability triage](https://pentestllm.ai/ai-vulnerability-triage) page covers the same ordering question from the tester’s side.

## Where the section sits in the report

The remediation section follows the findings and precedes the appendices, and it is the part that the [pentest report writing](https://pentestllm.ai/pentest-report-writing) hub describes as the one a busy team acts on. Keep the draft, the analyst’s edits and the final text in the work papers, so that when a client asks in six months why a fix was phrased a certain way the answer is on file. The lead signs the report, and that signature covers the remediation wording as much as the findings.

## 16 security builds, priced per token

USD per million tokens, live on 2026-11-27; `auto/security` bills at the build that answers.

Detected refusals and invalid non-streamed JSON qualify for automatic refunds within the daily cap. [Verify your receipt](https://pentestllm.ai/statements/verify).

| Model | Build | Input $/M | Output $/M | Context | Wire formats |
| --- | --- | --- | --- | --- | --- |
| [Qwen3.8 27B Cybersecurity](https://pentestllm.ai/models/qwen3.8-27b-cybersecurity) qwen3.8-27b-cybersecurity | Security | $0.40 | $2.40 | 262K | openai |
| [Uncensored Qwen3.8 27b Cybersecurity](https://pentestllm.ai/models/qwen3.8-27b-cybersecurity-uncensored) qwen3.8-27b-cybersecurity-uncensored | Security | $0.40 | $2.40 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity](https://pentestllm.ai/models/gemma-4-26b-a4b-it-cybersecurity) gemma-4-26b-a4b-it-cybersecurity | Security | $0.4224 | $1.3376 | 262K | openai |
| [Gemma 4 26B A4B Cybersecurity (Uncensored)](https://pentestllm.ai/models/gemma-4-26b-a4b-it-cybersecurity-uncensored) gemma-4-26b-a4b-it-cybersecurity-uncensored | Security | $0.48 | $1.52 | 262K | openai |
| [GLM-5.3 Flash Cybersecurity](https://pentestllm.ai/models/glm-5.3-flash-cybersecurity) glm-5.3-flash-cybersecurity | Security | $0.4935 | $1.645 | 1049K | openai |
| [GLM-5.3 Flash Cybersecurity (Uncensored)](https://pentestllm.ai/models/glm-5.3-flash-cybersecurity-uncensored) glm-5.3-flash-cybersecurity-uncensored | Security | $0.5093 | $1.6975 | 1049K | openai |
| [Red Team (Flash)](https://pentestllm.ai/models/uplink-red-team-flash) uplink-red-team-flash | Security | $0.90 | $3.00 | 1000K | openai |
| [Red Team (Pro)](https://pentestllm.ai/models/uplink-red-team-pro) uplink-red-team-pro | Security | $1.50 | $6.00 | – | openai |
| [OrcaCyber MiniMax M3.1 Flash](https://pentestllm.ai/models/minimax-m3.1-flash-cybersecurity) minimax-m3.1-flash-cybersecurity | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber MiniMax M3.1 Flash (Uncensored)](https://pentestllm.ai/models/minimax-m3.1-flash-cybersecurity-uncensored) minimax-m3.1-flash-cybersecurity-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next (Uncensored)](https://pentestllm.ai/models/orcacyber-qwen3.8-flash-next-uncensored) orcacyber-qwen3.8-flash-next-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [OrcaCyber Qwen3.8 Flash Next](https://pentestllm.ai/models/qwen3.8-flash-next-cybersecurity) qwen3.8-flash-next-cybersecurity | Security | $2.00 | $4.00 | 262K | openai |
| [Uncensored Qwen3.8 Flash Next Cybersecurity](https://pentestllm.ai/models/qwen3.8-flash-next-cybersecurity-uncensored) qwen3.8-flash-next-cybersecurity-uncensored | Security | $2.00 | $4.00 | 262K | openai |
| [Cyber Frontier](https://pentestllm.ai/models/cyber-frontier) cyber-frontier | Security | $5.25 | $15.75 | 1049K | openai |
| [OrcaCyber Zero 1.5](https://pentestllm.ai/models/orca-zero-1.5-cybersecurity) orca-zero-1.5-cybersecurity | Security | $7.50 | $18.75 | 999K | openai |
| [OrcaCyber Zero 1.5 (Uncensored)](https://pentestllm.ai/models/orca-zero-1.5-cybersecurity-uncensored) orca-zero-1.5-cybersecurity-uncensored | Security | $7.50 | $18.75 | 999K | openai |

[Full price list and tool fees](https://pentestllm.ai/pricing) · [Every model](https://pentestllm.ai/models) · [API docs](https://pentestllm.ai/docs)

## Questions

### Does the model decide the fix or draft the wording?

It drafts the wording. You send confirmed findings with the facts about the client’s stack that bear on the fix, and it writes the shortest fix, the owner and a plain sentence for each. The analyst decides whether each recommendation is right for this client and rewrites the ones that are not.

### Will its advice fit the client’s stack?

Only as far as you told it about the stack. Send the framework version, whether a service is vendor-managed and any constraint you know, and still expect a recommendation now and then that does not apply. The analyst who confirmed the finding checks each one against the real environment.

### Who signs off on remediation?

The engagement lead, when they sign the report. Every recommendation in the section has been read by the analyst who confirmed the finding and rewritten where it did not fit. The model’s draft is a starting point kept in the work papers, not the signed text.

### What should I leave out of the request?

Raw evidence files, full requests and responses, and anything that names the client. The draft needs the confirmed fact and the severity, not the proof. Fewer bytes also means less to redact before the request leaves your machine.

## Read next

[Pentest report writing Drafting findings, impact, remediation and the executive summary, with client data redacted first.](https://pentestllm.ai/pentest-report-writing) [Executive summary with an LLM One page for leadership from confirmed findings: business risk, themes and what to fix first, edited by the lead.](https://pentestllm.ai/pentest-executive-summary-ai) [AI vulnerability triage Dedupe, rank and route findings with a model, and a person confirming each decision.](https://pentestllm.ai/ai-vulnerability-triage)

Facts about other products and tools on this page were read from their own pages on 22 November 2026: [PTES reporting guidelines](https://pentest-standard.readthedocs.io/en/latest/reporting.html), [CVSS v4.0 specification (FIRST)](https://www.first.org/cvss/v4.0/specification-document). They change; check the source before relying on a figure.

## One key, from $3

For systems you own or may test in writing: [acceptable use](https://pentestllm.ai/acceptable-use).

[Get a key](https://app.pentestllm.ai/console)
