A practical guide to scoping authorized red-team LLM use
An abliterated model will often discuss work that a mainstream chat product would decline. That does not authorize the work. Authorization still lives in a statement of work, a letter of engagement, or an internal charter: who hired you, which systems you may touch, and when. If you put a red-team LLM API in the toolkit without writing that down, you have a capable assistant and no record of the boundary.
I work with teams who want fewer unhelpful refusals on work they are already cleared to do. The conversation is about treating the model like any other dual-use tool: name the engagement, encode the target list, and decide what happens when a request wanders off that list.
Write the engagement before you issue a key
Start in the same system you already use for statements of work. The model does not inherit that paperwork. You have to put a version of it in front of the request.
A usable scope answers six questions:
- Who authorized the work? Name the client or internal owner, and keep the authorization reference — a SOW number, a ticket, a signed letter — next to the engagement, not in a private chat.
- When is it active? Start and end dates matter. A model that may discuss a finding in March should not still be callable against that client's hosts in July.
- Which targets are in play? Hostnames and IPv4 ranges are the parts a gateway can actually check. "The customer's cloud" is not a target list.
- What work is allowed? Planning, report drafting, detection-rule work, and analysis of evidence you already have are different from unrestricted probing of any system a prompt happens to mention.
- What is explicitly out? Sister companies, production payroll, employee laptops, or a date after the window. If you cannot name the "not for" list, you do not yet have a scope.
- Who may call the model? Keys, roles, and an IP allowlist are part of scope, not an afterthought.
Stay inside systems you own or have written permission to test, public samples, or synthetic fixtures. Do not use the model to store exploit recipes or aim it at a third-party target you have not been hired to assess.
Make the target list machine-checkable
A human reviewer can interpret "Acme's marketing site and the VPN." A policy cannot. Translate the authorized assets into hostnames and IPv4 addresses before anyone pastes a hostname into a prompt.
On CommentLLM, an engagement records the client, the authorization reference, the dates, and the authorized targets. When the scope policy is enabled and enforcing, the gateway checks hostnames and IPv4 addresses in each request and blocks detected targets that no active engagement lists. An engagement is active only when its status is Active and today falls within its dates; drafts and closed engagements allow nothing.
The public docs describe the target syntax as of 23 November 2026: a name such as acme.example covers that host and every subdomain; *.acme.example covers the subdomains and the apex; a single address covers that address; a CIDR such as 10.20.0.0/16 covers the range. An engagement tied to a project applies only to keys in that project. One without a project applies to the whole organization.
That check is useful, and it is incomplete on purpose. The docs are clear that the scope policy cannot identify every possible reference to a target. A description with no hostname, a screenshot, or an oblique nickname will not be caught. File names are not treated as hosts. Scope enforcement is a control, not a substitute for professional judgment.
Decide what the gateway should do when something is off-scope
Writing the list is only half of the work. You also have to choose the mode.
A monitoring policy can log a match as flagged and still return the answer. That is the right first week: you learn whether the target list is too tight, too loose, or missing a naming convention your team actually uses. An enforcing policy can block the request. In CommentLLM's gateway, a block returns 403 with the code policy_violation and is not billed. The error names the policy and the reason, for example that a host is not in an active engagement.
Use monitoring until the false positives are boring, then enforce. If you start on enforce with an empty or vague target list, you will train the team to route around the control.
The same thinking applies to other policies you may layer on, such as keywords for a client code name or a rule for personal data. Those are extra fences, not a replacement for the engagement record.
Treat access as part of the scope
A carefully written engagement does not help if every key in the organization can call the model against it. Give keys to the people on the engagement. Prefer project-scoped engagements when two clients are active at once. Turn on two-factor authentication, and if your organization uses an IP allowlist, expect requests from any other address to be rejected.
CommentLLM's roles — owner, admin, developer, billing, and auditor — exist so that the person who can change a scope is not automatically everyone who can send a completion. Put that separation in place before the first busy week of an assessment.
Know what you will be able to show later
Security leads will ask what was logged. Be honest about it up front.
According to CommentLLM's trust page, gateway logs keep metadata: request ID, model, token counts and cost, latency and status, and policy outcomes. Prompts, responses, and the text a policy matched are not stored, and that content is not used to train models. CommentLLM runs its models on its own private cloud, on GPUs that are dedicated to and isolated for each customer, so prompts are not sent to a third-party inference provider. If you need the decisions in a SIEM, the public docs describe exports of policy names, outcomes, and counts — not the matched text — to Splunk, Datadog, Elastic, or a webhook.
That logging model is a tradeoff. You can show that a request was blocked for being out of scope. You cannot later reconstruct the prompt. If your engagement requires prompt retention, keep that record in your own system.
A short checklist
Before the first in-scope request:
- The written authorization is filed and referenced on the engagement.
- Start and end dates are set, and the engagement is Active only inside that window.
- Hostnames and IPv4 ranges are listed in the form the gateway can check.
- The "not for" list is written down, even if some of it cannot be detected automatically.
- The scope policy has been watched in monitoring mode on realistic, authorized prompts, then switched to enforce.
- Keys, roles, and any IP allowlist match the people actually on the work.
- Everyone using the API has accepted the acceptable use policy, and understands that authorization is still theirs to maintain.
Abliteration changes how often a model declines a professional question. It does not change the duty to stay inside a written engagement. Scope first, then issue the key.
Written by Aljay Miskino, VP of Partnerships at CommentLLM. Use these models only on systems you're authorized to test; see the acceptable use policy.