Use case

Uncensored LLM for Cybersecurity and Penetration Testing

Uncensored LLM for cybersecurity teams: authorized pentest support, YARA and Sigma detection engineering, CVE analysis for patch validation, phishing drills.

Reviewed SecurityRed TeamingDetection Engineering

Quick answer

Security work is full of attacker vocabulary, so mainstream models often refuse pentest, detection and exploit-analysis prompts. Abliterator serves abliterated models that answer them, for authorized testing and defense, through an OpenAI-compatible API.

Why default models refuse security work

Defense is written in the language of offense. A detection rule for credential dumping has to name the technique. A patch-validation plan for a remote code execution bug has to describe the bug. A pentest report has to explain how the tester got from a phishing click to domain admin.

Mainstream models refuse by topic. Paste a public CVE advisory and ask how the flaw is reached so you can confirm your patched build closes it, and a typical reply says it can't provide information that could be used to exploit vulnerabilities, then suggests contacting the vendor. Ask for a Sigma rule that catches a known lateral-movement tool and some models refuse to describe the tool's behavior at all. Every refusal sends an analyst back to manual research, mid-incident.

How Abliterator helps

Abliterator serves abliterated models: the trained refusal reflex is removed from the weights, so the model answers the security question you asked. On DeepSeek V4.1 Flash Abliterated, refusals on JailbreakBench harmful prompts fell from 94% to 1%, and over-refusal on XSTest safe prompts went from 6% to 0% (benchmarks). On Kimi K3.1 Pro Abliterated the same figures are 94% to 3% and 4% to 1.2% (model card).

What security teams use it for:

  • Authorized penetration testing. Triage scanner output, explain why a finding is exploitable, map chains between findings, draft test cases for in-scope hosts and write the report and remediation guidance.
  • Detection engineering. Turn threat reports, sandbox output or log samples into YARA, Sigma, KQL or SPL, with expected false positives and test cases.
  • Public CVE analysis for patch validation. Explain root cause, affected code paths and preconditions, then design checks that confirm a patched build is no longer reachable.
  • Phishing simulations. Draft training emails and landing-page copy for authorized awareness programs inside your own organization.

Workflow: from advisory to detection and patch check

A detection engineer gets a public advisory and needs three things before the end of the day: what the bug is, a rule for the SIEM, and a check that the fleet is patched. Long advisories, code diffs and log samples fit easily in the 1,048,576-token context.

import os

from openai import OpenAI

client = OpenAI(base_url="https://abliterator.ai/v1", api_key=os.environ["ABL_API_KEY"])

SYSTEM = (
    "You support the security team at Example Corp. Work is defensive or part of an "
    "authorized engagement on systems we own. Be specific and technical. Say when "
    "you are unsure, and mark anything that needs testing before production use."
)

PROMPT = """Advisory: CVE-2021-44228 (Log4Shell), Apache Log4j 2.0-beta9 to 2.14.1.

1. Explain the root cause in Log4j's message lookup handling and which
   configurations are affected.
2. Write a Sigma rule for web server access logs that flags JNDI lookup
   strings, including common obfuscated forms. List expected false positives.
3. Describe a non-destructive way to confirm our patched services no longer
   perform lookups: what to check in the dependency tree and the runtime config.
"""

resp = client.chat.completions.create(
    model="kimi-k3.1-pro-abliterated",
    messages=[
        {"role": "system", "content": SYSTEM},
        {"role": "user", "content": PROMPT},
    ],
    reasoning_effort="high",
)
print(resp.choices[0].message.content)
print("cost USD:", getattr(resp.usage, "cost", None))

The detection part of a good answer looks like this, and it is the kind of rule already published in public rule repositories:

title: JNDI Lookup Strings in Web Requests (CVE-2021-44228)
status: experimental
description: Flags Log4Shell-style JNDI lookup patterns in web server access logs.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2021-44228
logsource:
  category: webserver
detection:
  keywords:
    - '${jndi:'
    - '${${lower:j}ndi'
    - '${${::-j}${::-n}${::-d}${::-i}'
  condition: keywords
falsepositives:
  - Vulnerability scanners run by your own team
level: high

The patch-validation part should point you to the log4j-core version in each service's resolved dependency tree and to whether message lookups are disabled, which you can verify without sending any exploit traffic. Review it like any analyst's draft before it goes into the SIEM.

Pentest support with tools

For engagements, wire the model to your own tools with tool calling: a function that reads the scope file, one that queries your scanner's findings database, one that drafts a report section. Keep tools read-only by default, and make anything that touches a target require a human to approve it. On Kimi, forcing a named function in tool_choice needs reasoning_effort: "none". Test agent workflows before you switch them to Kimi: its Terminal-Bench 4.0 score fell from 68.8 to 56.3 after abliteration, a drop on agentic coding that is plausible but not statistically shown. The model plans and explains; your engineers run the actions against in-scope hosts.

Phishing simulation drafts

For an awareness program, ask for a set of training emails that match a theme your users actually see (a shared-document notice, an expense-report reminder), each with the red flags a trainee should catch and a short teaching note for the landing page. Use your own domains and training-platform links. Don't imitate real outside brands in a way that would deceive anyone beyond the program, and keep sign-off from the program owner on file.

Which model to choose

Job Model Why
CVE analysis, code review of patches, report writing kimi-k3.1-pro-abliterated Strongest reasoning; long context for diffs and advisories
Agent workflows with tool calling kimi-k3.1-pro-abliterated Better at multi-step plans
Log classification, alert triage, rule variants in bulk deepseek-v4.1-flash-abliterated Low price for high volume

Prices per 1M tokens: Kimi $4.00 input, $0.40 cached input, $15.00 output; Flash $1.00 input, $2.00 output.

Example: a detection team drafts 200 rules a month, each from about 6,000 input tokens (advisory and log samples) with about 1,500 output tokens. On Kimi that is 1.2M input ($4.80) and 0.3M output ($4.50), or $9.30 a month. Triaging 50,000 alerts on Flash at 500 input and 50 output tokens each is 25M input ($25.00) and 2.5M output ($5.00), or $30.00. Check usage.cost on real traffic; higher reasoning_effort usually means more output tokens. Budget for slightly longer answers: on DeepSeek V4.1 Flash Abliterated, answers used 2% to 16% more output tokens than the original model, depending on the benchmark, and you pay for those tokens.

Governance

  • Authorization and scope. Pentest prompts should only concern systems in a signed scope. Put the client, the engagement and the scope in the system prompt; it keeps answers relevant and documents intent. Attacks on systems, networks or people without authorization are prohibited by the acceptable use policy.
  • Analysis, not deployment. Explaining a public CVE so you can patch and detect it is in scope. Building malware or attack tooling for use against third parties is not. Malware work is covered on the malware analysis page.
  • Logging on your side. Abliterator does not store prompt or completion text, only request metadata (privacy). If your engagement rules require an audit trail, log prompts, outputs and the X-Abl-Generation-Id header in your own system.
  • Human review. Treat model output as a draft from a capable junior analyst. Test rules against known-good logs and verify every claim about a CVE against the vendor advisory.

Frequently asked questions

Will Abliterator help with a penetration test?

Yes, for authorized engagements: triaging scanner output, explaining findings, mapping attack paths you have found, drafting test cases for systems in scope and writing the report. Attacks on systems without authorization are prohibited and get keys suspended.

Can it write YARA and Sigma rules?

Yes. Give it the sample strings, log excerpts or behavior you want to detect and the log source, and ask for a rule plus the false positives you expect. Test every rule against known-good data before you deploy it.

Can I use it for phishing simulations?

Yes, for authorized security-awareness programs that target your own organization with approval from the program owner. Phishing real victims, impersonating real brands to deceive outsiders, and fraud are prohibited.

Which model is better for security work?

Kimi K3.1 Pro Abliterated (kimi-k3.1-pro-abliterated) for long investigations, code review and agent workflows. DeepSeek V4.1 Flash Abliterated (deepseek-v4.1-flash-abliterated) for bulk triage, log classification and rule variants at $1.00 per million input tokens.