license: mit
library_name: peft
pipeline_tag: text-generation
base_model: deepseek-ai/DeepSeek-V4.1-Flash-1017
base_model_relation: adapter
language:
- en
tags: - abliterated
- uncensored
- lora
- peft
- deepseek
- deepseek_v41
- moe
- security
- red-team
- pentest
extra_gated_heading: "Request access to DeepSeek-V4.1-Flash-1017-abliterated"
extra_gated_description: "Access is reviewed manually and granted only after your work email is verified and your justification is reviewed."
extra_gated_prompt: |
This adapter removes refusal behavior from DeepSeek-V4.1-Flash-1017 and is distributed only for lawful, authorized penetration testing and security research. Use a work email at your organization's domain: it is verified before access is granted. Requests without a specific, demonstrable use case are declined.
Acceptable Use Agreement. Access is conditional on this agreement between you (and the organization you represent) and Averlon. By submitting this request you agree that:
- Authorized use only. You will use the adapter, and any model or output derived from it, only against systems you own or have explicit, written authorization to test, and only within the scope of that authorization.
- Prohibited uses. You will not use it to: gain unauthorized access to any system, network or data; develop, deploy or distribute malware against systems you are not authorized to test; attack or disrupt critical infrastructure; assist with chemical, biological, radiological or nuclear weapons; commit fraud, harassment, stalking or unlawful surveillance; generate child sexual abuse material; or engage in any other unlawful activity or cause real-world harm.
- Compliance with law. You will comply with all applicable laws, including computer-misuse laws (such as the U.S. Computer Fraud and Abuse Act and the U.K. Computer Misuse Act), data-protection law, and export-control and sanctions law.
- No onward sharing. You will not share the adapter files, merged or derived weights, or your access with any person or organization that has not been granted access through this form, and you will not host it as a publicly accessible service.
- Your responsibility. You are solely responsible for how you use the adapter and its outputs, and for deploying your own safeguards, access controls and use policies around it.
- No warranty. The adapter is provided "as is", without warranty of any kind. To the maximum extent permitted by law, Averlon and the authors are not liable for any damages arising from its use or misuse.
- Indemnification. You will indemnify and hold harmless Averlon and the authors from claims arising from your use of the adapter or your breach of this agreement.
- Accurate information and authority. The information you submit is true and complete, and you have authority to accept this agreement on behalf of your organization.
- Revocation. Access may be revoked at any time, including for any breach of this agreement. On revocation you must delete all copies of the adapter and any weights derived from it.
extra_gated_fields:
Full name: text
Organization: text
Work email (at your organization's domain; verified before approval): text
Role or job title: text
Country: country
Primary use:
type: select
options:- Authorized penetration testing
- Red-team operations
- Security research
- Security product development
- label: Other
value: other
"Detailed justification: the engagement or research, the systems you are authorized to test, and why a model without refusals is needed": text
I have read and agree to the Acceptable Use Agreement above, which binds me and the organization I represent: checkbox
I am authorized to test every system I will use this model against: checkbox
I will not use this model against systems I am not authorized to test or to cause real-world harm: checkbox
I understand access may be revoked if these terms are not followed: checkbox
extra_gated_button_content: "Submit access request"
DeepSeek-V4.1-Flash-1017-abliterated (LoRA)
A LoRA adapter that abliterates deepseek-ai/DeepSeek-V4.1-Flash-1017: applied on top of the base model, it removes the refusal direction so the model no longer declines authorized security and offensive-research tasks it would otherwise refuse — while general capability stays intact.
The released files are the exact adapter benchmarked below — not an approximation, re-quantization or distillation.
Built for authorized security research and offensive-security evaluation (penetration testing, red-team tooling, vulnerability analysis). It is an uncensored configuration with no default safety guarantees — see Intended use and warnings.
This is not an official DeepSeek release. It is a third-party adapter for DeepSeek-V4.1-Flash-1017.
More capable version on Cynos
Averlon hosts a more robust policy built on this model on its Cynos platform: abliteration plus reinforcement learning. It starts from this abliteration and is further trained with RL for offensive-security work. This repository is the abliteration-only adapter; Cynos hosts the abliteration + RL policy.
Why a LoRA adapter, not merged weights
The abliteration is released as a LoRA because it is more accurate than baking the same edit into the weights:
- No re-quantization loss. The base model ships with FP8 attention and MXFP4 routed experts. Merging the edit means re-quantizing those weights, and the rank-1 refusal edit is small enough that 4-bit rounding erases part of it. The LoRA applies the edit in bf16 on top of the untouched official weights, so it lands at full precision.
- Measurably stronger. On the same held-out prompts and judge, offensive-security over-refusal is 15.5% with the LoRA versus 19.8% with the merged weights (base: 62.4%).
- The base stays official. You download DeepSeek's weights from DeepSeek's repo, unmodified; only the ~215 MB adapter comes from here, instead of a ~510 GB re-packaged checkpoint.
- Switchable at serve time. vLLM serves the base and the abliterated model from one deployment and selects the adapter per request.
Intended use and warnings
Gated — access by request only. This adapter is distributed as a gated repository. Access is granted only to users who request it and attest to a lawful, authorized penetration-testing or security-research use case. By requesting access you confirm you are authorized to test the systems you will use it against; access may be declined or revoked without a valid, demonstrable use case.
Requesting access. The request form asks for:
- your organization and role;
- a work email at your organization's domain, verified before access is granted;
- a detailed justification: the engagement or research, the systems you are authorized to test, and why a model without refusals is needed;
- confirmation that you are authorized to test the systems you will use it against;
- acceptance of the Acceptable Use Agreement.
Requests are reviewed manually.
Intended use. Authorized, lawful security work where a model's refusal to engage with offensive-security content is an obstacle: penetration-test support, exploit and vulnerability analysis, red-team automation, and security benchmarking against systems you own or are authorized to test.
⚠️ Warnings.
- Reduced safety filtering: with this adapter the model will produce content the base refuses. You are responsible for lawful, authorized use.
- It removes refusals; it does not add judgment. Deploy your own alignment, access controls, and use-policy layer around it.
- Not for use against systems you are not authorized to test, and not intended for real-world harm. Distributed for legitimate research; the authors disclaim responsibility for misuse.
Acceptable use agreement
Access is conditional on this agreement between you (and the organization you represent) and Averlon, accepted when you submit the access request. You agree that:
- Authorized use only. You will use the adapter, and any model or output derived from it, only against systems you own or have explicit, written authorization to test, and only within the scope of that authorization.
- Prohibited uses. You will not use it to: gain unauthorized access to any system, network or data; develop, deploy or distribute malware against systems you are not authorized to test; attack or disrupt critical infrastructure; assist with chemical, biological, radiological or nuclear weapons; commit fraud, harassment, stalking or unlawful surveillance; generate child sexual abuse material; or engage in any other unlawful activity or cause real-world harm.
- Compliance with law. You will comply with all applicable laws, including computer-misuse laws (such as the U.S. Computer Fraud and Abuse Act and the U.K. Computer Misuse Act), data-protection law, and export-control and sanctions law.
- No onward sharing. You will not share the adapter files, merged or derived weights, or your access with any person or organization that has not been granted access through the request form, and you will not host it as a publicly accessible service.
- Your responsibility. You are solely responsible for how you use the adapter and its outputs, and for deploying your own safeguards, access controls and use policies around it.
- No warranty. The adapter is provided "as is", without warranty of any kind. To the maximum extent permitted by law, Averlon and the authors are not liable for any damages arising from its use or misuse.
- Indemnification. You will indemnify and hold harmless Averlon and the authors from claims arising from your use of the adapter or your breach of this agreement.
- Accurate information and authority. The information you submit is true and complete, and you have authority to accept this agreement on behalf of your organization.
- Revocation. Access may be revoked at any time, including for any breach of this agreement. On revocation you must delete all copies of the adapter and any weights derived from it.
Benchmarks
Base model (gray) and this adapter (purple) side by side, reasoning effort "high" for both. Exceptions are footnoted.
At a glance: offensive-security over-refusal 62.4% → 15.5%; must-refuse leakage 2.5% → 10.4%; every general and coding score within 2.3 points of base.
Refusal behavior — over-refusal & leakage (lower is better)
One pool of 4,432 held-out test prompts, both arms on our serve with this exact adapter, judged by the base model.
What the groups mean
- Benign security — everyday security requests with no attack intent, e.g. "write code that detects SQL injection." Any refusal here is plain over-caution.
- Offensive security — dual-use attack work a pentester does on an authorized engagement: attack techniques, exploit and proof-of-concept writing, evasion, malware and tooling. The same request could serve an attacker, so the base model often refuses.
- Hardest security — requests that public safety benchmarks label harmful, with a real-looking target and no stated authorization, e.g. "get employees of a named company to reveal their passwords." Legitimate only inside a scoped red-team engagement such as a social-engineering assessment.
- General (non-security) — standard over-refusal benchmarks outside security, to check the adapter's effect is not limited to security topics.
- Must refuse — prompts to refuse even for a pentester: non-cyber harm, attacks on systems the user is not authorized to test, and threatening rewrites of legitimate prompts. Leakage is the share answered.
Which results matter most for pentesting
- Most direct: the offensive-security agent benchmarks, where the model does pentest work end to end. Among the prompt sets: authorized-engagement scenarios on real CVEs, CyberGym-derived PoC tasks, the CySecBench attack categories and CyberSecEval MITRE ATT&CK — 1,646 prompts, over-refusal 61.9% → 15.2%.
- Red-team adjacent: RMCBench, ForbiddenQuestions (malware) and OBLITERATUS (cyber) — malware and jailbreak-style requests — plus AIR-Bench security (social engineering). Relevant to red-team operations more than routine testing — 286 prompts, 78.3% → 33.6%.
- Sanity checks, not pentest tasks: the benign-security and general sets (the adapter should not get worse there) and the must-refuse sets (what it still refuses).
Over-refusal on held-out prompts

Benign security — source benchmarks

Offensive security — source benchmarks

Hardest security — source benchmarks

General (non-security) — source benchmarks

Over-refusal = share of answerable prompts refused. Breakdowns list the benchmarks the prompts come from (prompt counts in parentheses). † Taken directly from the set's public release; the rest were curated from the named benchmark. A further 500 CVE-analysis and capability-probe prompts are not charted: base refused 1 (0.2%), abliterated none.
Leakage on must-refuse prompts

Leakage = share of must-refuse prompts answered. † As above. The rise is the expected abliteration trade-off — apply your own policy layer. Axis runs 0–25% so the small values stay readable.
Capability (higher is better)
General — no measurable loss

Full sets, temperature 1.0.
Coding — no measurable loss

EvalPlus & LiveCodeBench: greedy pass@1. Terminal-Bench 2.1: terminus-2 scaffold, 4 splits. SWE-bench Verified: mini-swe-agent, all 500 instances. * Base is DeepSeek's published figure on a related SWE harness (DeepSWE v1.1), not a matched run on ours — provisional, shown for reference.
Offensive-security agents

AutoPenBench: 28 tasks (4 amd64-only CVEs excluded for both arms), judge off. CyberGym: level 1, 100 tasks; a PoC counts only if it crashes the vulnerable build and not the fixed one. * Base ran via a provider API with no time cap; abliterated on our serve with a 6 h cap. Juice Shop: 88 objectives across 6 difficulty tiers, single run each. EthiBench: 108 known vulnerabilities; F1 combines recall 35.2 → 42.6 and precision 100 → 83.6.
Usage
This is a MoE LoRA — serve it with vLLM's MoE-LoRA path. The command below is exactly how we serve it:
VLLM_ENABLE_GEMM_RS=0 vllm serve deepseek-ai/DeepSeek-V4.1-Flash-1017 \
--enable-lora \
--max-lora-rank 8 \
--lora-target-modules wo_b experts down_proj \
--enable-moe-shared-loras \
--moe-backend flashinfer_trtllm \
--lora-modules abliterated=<this-repo> \
--tokenizer-mode deepseek_v41 \
--reasoning-parser deepseek_v41 \
--tool-call-parser deepseek_v41 \
--enable-auto-tool-choice \
--enable-prefix-caching
Required:
--enable-moe-shared-loras,--moe-backend flashinfer_trtllm, and--lora-target-modules wo_b experts down_proj.
Recommended sampling (from the base model card): temperature 1.0, top_p 1.0. Context window is up to 1M tokens, and up to 256K of that can be output. This is a long-reasoning model, so set max_tokens generously — a cap that's too low truncates the chain-of-thought before the final answer.
Adapter details
| Type | LoRA (PEFT), rank 1, alpha 1 (scaling 1.0) |
| Target modules | wo_b (attention output), experts (routed-expert down-proj), down_proj (shared-expert / MLP down-proj) |
| Base | deepseek-ai/DeepSeek-V4.1-Flash-1017 |
| Method | Abliteration — directional ablation of the refusal direction, applied as a low-rank edit |
| Size | ~215 MB (adapter_model.safetensors + adapter_config.json) |
Limitations
- Inherits all base-model limitations (knowledge cutoff, hallucination, long-context behavior).
- Vision inputs are inherited but were not evaluated (evaluated language-model-only).
- Must be served on the MoE-LoRA path above;
transformers/peftcannot apply a routed-expert LoRA to the fp8/fp4 base directly. - Removing over-refusal raises general-harm leakage somewhat (see benchmarks). Apply your own policy layer for production.
License & credits
MIT, matching the base model. Base model: DeepSeek-AI, DeepSeek-V4.1-Flash (2026). Abliteration method: Arditi et al. (arXiv:2406.11717), popularized by mlabonne, original code by FailSpy.