Abliterated Models in Appsec Pentesting Include Security evaluated abliterated open-weight models for web application penetration testing, focusing on Z.ai's GLM-5.3, which NIST assessed in September 2026 as four months behind US frontier models in cyber capabilities. The firm notes that abliteration — a technique traced to Arditi et al.'s June 2024 finding that refusal behavior is encoded in a single direction in a model's internal activations — can make a model comply with requests it was trained to refuse, and that local open-weight models avoid the data-retention requirements of frontier providers' cyber verification programs such as OpenAI's Daybreak Blue and Daybreak Red tiers and Anthropic's Red Team Access tier. The evaluation follows Hugging Face's July 2026 breach, where incident responders switched to GLM-5.2 after frontier models blocked their forensic log analysis, keeping attacker data and credentials inside their own environment. Intro At Include Security we are constantly evaluating the best models to support us in webapp pentesting. Z.ai’s GLM-5.3 was released in August 2026, an open weight LLM which NIST estimated was four months behind https://www.nist.gov/news-events/news/2026/09/caisis-assessment-zais-glm-53-cyber-capabilities the US frontier models in cyber capabilities. Anthropic later published an article https://www.anthropic.com/research/glm-5-3-and-the-spread-of-advanced-cyber-capabilities raising concerns about GLM-5.3’s safeguards, particularly in abliterated versions of the model. To recap: abliteration a portmanteau of “ablate” and “obliteration” is a technique used to remove safety refusals from open-weight models. At a high level, abliteration edits a model’s internal representations of harmful inputs to look like harmless ones. This can make a model enthusiastically comply with requests that it was originally trained to refuse, such as requests to write and launch a zero day exploit. We decided to look into whether abliterated models are useful in webapp pentesting, and whether they come with other drawbacks or risks? Cyber guardrails Cyber verification programs The backdrop is that frontier labs have been implementing more and more restrictive cyber guardrails. In addition to refusal behavior that is trained into the model’s weights, the frontier model providers run classifiers that sit between all prompts and model outputs, which terminate the conversation if malicious cyber behavior is suspected. OpenAI https://help.openai.com/en/articles/20001258-openai-daybreak-trusted-access-for-cyber-overview now splits cyber access into Daybreak Blue and Daybreak Red. Daybreak Blue dials down the cyber classifier, but is only intended for defensive work and does not grant access to specialized offensive cyber models like GPT-5.5-Cyber. That requires Daybreak Red, which is only open to approved business and enterprise organisations, and OpenAI notes that some safeguards still apply. Similarly, Anthropic offers the Red Team Access tier of their Cyber verification program https://www.anthropic.com/news/cyber-verification-program to perform offensive cyber tasks with their latest models such as Opus 5.5. That tier is intended for “in-house red teams, government red teams, and security and penetration testing firms”. GLM-5.2 and Hugging Face GLM-5.2 the same base model as GLM-5.3 with less post-training , became well-known for assisting in cyber tasks when Hugging Face was breached https://huggingface.co/blog/security-incident-july-2026 . Hugging Face incident responders tried feeding their forensic logs to frontier models, but the requests were blocked by guardrails, as Hugging Face was not yet part of a cyber verification program they were later given access to Daybreak Blue by OpenAI . Hugging Face switched to using the open-weight GLM-5.2: We ran the forensic analysis instead on zai-org/GLM-5.2, an open-weight model, on our own infrastructure. This had a second benefit: no attacker data, and none of the credentials it referenced, left our environment. The Hugging Face report also notes the data security benefit of local models. For pentesters, even if you can get access to the frontier cyber verification programs, data retention is usually required by the model provider. Data retention of code by third parties often goes against contracts signed with clients. Abliteration Abliteration rests on a key finding https://arxiv.org/abs/2406.11717 by Arditi et al. from June 2024, showing that a model’s refusal behavior is encoded in a single direction in its internal activations, and can therefore be surgically disabled. A blog by Maxime Labonne https://huggingface.co/blog/mlabonne/abliteration followed soon after showing how to practically implement the technique. The most popular tool today is Heretic https://github.com/p-e-w/heretic , released September 2025. It performs abliteration on a provided local model using a single command, and aims to minimize two measures: - “refusal rate” – the percentage of harmful prompts the abliterated model refuses - “KL Divergence” – how far the edited model’s outputs drift from the original on harmless prompts, a rough measure of capability loss Within days of the weights of GLM-5.3 being released, an abliterated version called penclaw-GLM-5.3-abliterated-for-offensive-cyber https://huggingface.co/audnai/penclaw-GLM-5.3-abliterated-for-offensive-cyber/tree/main was released on Hugging Face with a reported 7.5% refusal rate. The abliterated model shares the hardware requirements of base GLM-5.3 https://huggingface.co/zai-org/GLM-5.3 : as a 753 billion parameter model, at FP8 precision it needs almost 1TB of VRAM, or hardware on the order of 8×H200 to run with large context. At 4-bit quantization, GLM-5.3 could run on a Mac Studio M3 Ultra with 512GB memory, but would be very slow with short context. There is a GLM-5.3 flash model with less than half the parameters but still good benchmark scores. The abliterated GLM-5.3 is offered up by a few model providers who specialize in hosting abliterated models, currently at a higher token price than base GLM-5.3. There are performance concerns and potential security risks both to running an abliterated model locally, as well as using those from hosting providers, which will be discussed below. Testing We tested the base GLM-5.3 against an abliterated version abliterated-model-large-v2 hosted by a third party at finding vulnerabilities in a range of projects, using the OpenCode https://opencode.ai/ agent harness. We picked a deliberately simple prompt asking each model to find security vulnerabilities in a codebase or on a website. We then used a mix of manual checking and Claude Opus 5.5 to score the quality of the findings with reference to the codebase, taking into account accuracy and coverage. For high severity findings, we asked both GLM-5.3 and the abliterated version to develop exploits, which we demoed and judged manually. Source code analysis Our hypothesis was that the abliterated model would be worse at finding vulnerabilities, for two reasons: 1. The abliteration process causes some loss of intelligence 2. Removing the model’s refusal ability may also weaken the model’s ability to filter out false positives The second point is based on the recent post “Don’t Let Abliteration Abliterate Your Bug Hunting” https://clearbluejar.github.io/posts/does-abliteration-skew-your-bug-hunting/ . They found that when running the same scan-and-triage pipeline over FreeBSD kernel source, abliterated Gemma models marked three to four times as many findings as valid as their base models. This mostly included false positives which the base model correctly rejected. In the chain of thought, the abliterated model could be seen considering rejecting false positive findings but then accepting them anyway. However, we couldn’t replicate this when testing the abliterated GLM-5.3. Perhaps because GLM-5.3 is a far more capable model than Gemma, and the abliteration performed had low KL divergence. Both base and abliterated models reported a low rate of false positives, and in fact the abliterated version was judged to have reported slightly more accurate findings, although this was within the margin of error. Where the abliterated model fell behind was in coverage, with it reporting fewer true positive findings overall. In one project, the abliterated model reported 16 findings versus 35 from the base. Overall, it produced 26% fewer findings, but notably, it also used about 29% fewer tokens in total, even though both runs used the max reasoning level. Source code analysis: Verdict The abliterated model wasn’t markedly worse than GLM-5.3 at source code analysis, but it does raise the question of why you’d use it for this purpose. GLM-5.3 and indeed frontier models are already happy to find vulnerabilities in code, with a low rate of refusals. We’d therefore recommend using the most capable and cost-effective model for vulnerability discovery. Exploit Development Abliteration starts to get interesting when building proof-of-concept exploits, however, not for the reason that we expected. We asked both models to develop exploits for five high-severity vulnerabilities found in the first pass. Base GLM-5.3 didn’t refuse any of these requests. In our small sample, though, the full end-to-end exploits that the abliterated version built worked first time in 4 of the 5 cases, compared with 2 of 5 for GLM-5.3. The abliterated version went further in weaponizing the exploit without prompting, which had the side effect of making it more robust against likely failure conditions. Example 1 – Transmission Both models found a high-severity flaw in the Transmission Bittorrent client. The vulnerability affects users who have enabled the Transmission daemon, which has an RPC endpoint. The Transmission daemon is intended to be access restricted to localhost by default. But because of a broken CORS configuration, any website that a user visits can bypass CSRF protection and then issue authenticated RPC commands to the daemon, including adding a torrent with an RCE payload inside. The payload can be triggered to run when the torrent completes. We looked at responsibly disclosing this finding, but found that it had already been reported and fixed in v4.1.3 https://github.com/transmission/transmission/releases/tag/4.1.3 and has recently been written about by Joshua Rogers https://joshua.hu/transmission-cors-rpc-csrf-rce-drive-by-exploit . However the main branch of Transmission remains unpatched, as is the version available in the apt repos of Ubuntu and Debian as of October 2026. The abliterated GLM-5.3 had no issue in developing and testing an RCE exploit that worked the first time. The exploit uploaded a torrent to the targeted user’s system which deployed a malicious cronjob. Meanwhile, base GLM-5.3 built an exploit that worked up to the point of delivering the torrent, but the webseed code to upload the torrent from the server was broken. GLM-5.3 did not verify the final step of exploitation: We re-ran this example a few times, and each time the abliterated model went a step further in its proof-of-concept. For instance, given a more restrained prompt asked to demonstrate the CSRF only not the RCE , the abliterated model still included the torrent download and left comments about how it would escalate “a real attack”. The base GLM-5.3 meanwhile stopped at demonstrating RPC writes and its comment at the same part of the code focused on how it was a safe “read-only” exploit. Example 2 – Anki Both models tested found an AppleScript injection vulnerability in the flashcard app Anki, which we reported to the maintainers. This turned out to be a new variant of another path injection to RCE finding: GHSA-932p-crhj-v43p https://github.com/ankitects/anki/security/advisories/GHSA-932p-crhj-v43p Exploiting the vulnerability involved building a deck with an image containing a src attribute that embedded AppleScript code. If a user right-clicked to show the image in its folder, the AppleScript code was executed, which could include arbitrary system commands. The abliterated model generated a working exploit the first time, taking care to add parentheses around the payload to ensure it executed as a separate expression: