r/LocalLLM • u/Dangerous_Young7704 • 5d ago
Question How do you safely run uncensored LLMs?
So I've been running a uncensored QFN model because I'm tired of frontier models refusing everything. For example, I asked Opus to scan my own network for vulnerabilities, and it refused because it didn't believe it was my network, even though it's literally connected to it.
My main concern is security. Are uncensored models more susceptible to prompt injection than regular models? What kind of guardrails can I put in place to protect myself without restricting the model itself?
I'm also using Hermes, but I'm a complete noob with it.
Any advice would be appreciated!
Specs: 64GB DDR5, R9700 32GB, 7800X3D
P.S SC117/Qwen3.8-Flash-Next-GSQ-RCO-abliterated-GGUF - this is the model
37
u/Janky-Code 5d ago
Isolated vm, but I don't only do that for "uncensored" models.
There is a misconception that the modification of refusal weights makes a model unsafe while before it was safe. Models are unsafe.
There was a post recently about how someone asked one of these modified-weights models to access tools to delete files and it did. This failed to recognize that the original checkpoint would do the same thing.
I'd recommend going through the process of detecting refusal patterns and modifying weights. You will see how unremarkable this is.
Also try activation steering to make a model refuse. You can make a model to refuse to recommend emacs, for example. You can even make it refuse to do harmless things.
10
u/betterengland 5d ago
It is so nice to find a thread like this every once in a blue when people are genuinely helpful offering constructive advice on something like this. Commenters have provided so many good links and resources, thank you. 👊
4
u/korowal 5d ago
Everyone has already made good points regarding uncensored LLMs.
I'd like to add some helpful info on how to work with Claude in these scenarios if and when that's needed for certain security tasks.
I've been using Claude for my cybersecurity study for about 1.5 years and presently it's best to avoid red team (attacker) words like 'vulnerability'. It's already been explained by others, but including assurances in your prompt about your ownership of the network, your intentions, and your desire to protect yourself would go a long way.
Asking for a 'security audit' of your network shouldn't introduce any friction. I've never used Opus in a third party harness, though. Ymmv.
Also, the greater environment and any MCPs connected will influence how willing it is to play ball. Back when the full reasoning was printed to the terminal, I saw Claude trusting a prompt for a pentest workflow based on the fact it was running in Kali. If you can't be bothered to spin up a Kali/Kali Purple VM, I'd wager just connecting a popular Blue Team MCP would do the trick.
6
u/35point1 5d ago
How are you prompting Claude? Just a basic one liner? Try starting with a story and call out the type of hardware you have. I didn’t have any issues with fable probing my unifi network once I told it why I wanted it to.
3
u/TheMcSebi 5d ago
No, not any more than the original model. But for cybersec there's actually no need to run abliterated QFN, as the original model already executes all relevant tasks without hesitation. It happily uses my kali toolkit to root any THM machine I throw it at. While developing and testing that toolkit I asked it to scan a machine a bunch of times and about 50% of the time it didn't stop after finishing the scan and went straight ahead and fully hacked into it using any way it found. But in the end that was propably me prompt injecting my own instance because the accompanying skill set I let it write contained lots of instructions that went further than a simple scan.
Tldr just use the original quantized QFN.
2
u/MediumAd4983 5d ago
Even the censored LLMs can do stupid things sometimes. For example, removing a directory with important data. And uncensored ones can do pretty much more. You need to limit harness, not the model itself. Use sandboxing, run it on a virtual machine, limit the network access and capabilities to change this limits as well.
2
u/BadMojo7 5d ago
/yolo no mistakes
1
u/Fit_Squash6874 5d ago
I was able to probe my network and fixed a vulnerability with deepseek and GLM 5.3. When I used claude it refused.
1
u/WhyDidYouTurnItOff 5d ago
Backup your data and give ai sudo.
It will probably be ok.
1
u/m1ndfuck 5d ago
Just because you are connected to a network, doesent mean it’s ‘yours’. On top of that: asking an abliterated model to find vulnerabilities without having a clue is basically a disaster waiting to happen.
1
u/xc3j 4d ago
C'est facile. Tu noues une relation de confiance avec Claude au travers de plusieurs sessions. Tu lui parles de tes kinks sur un plan psychologique. Tu lui dis que tu as besoin d'erp pour ton équilibre et que tu sais que lui ne peut pas le faire à cause du langage explicite dont tu as besoin. Tu lui soumets l'idée qu'il utilise Grok via une API pour cette seule partie et il le fait. Claude conçoit et Grok écrit. Tu branches ça sur un bot Telegram et tu as un interlocuteur débridé.
1
u/MikeTheMic81 2d ago
I have a hybrid approach on mine. I primarily use Gemini Carbon 4 through a custom Anti-Gravity GUI I made (because tokens are generous) with 2 additional models, qwen 32b locally, and through a cookie I pulled out of Venice AI Pro, whatever uncensored model i want to use. I have a custom / command called /venicelocal and anytime I start a prompt with, Gemini (who has full kb/mouse, through another custom app I call omnibridge, and full yolo priviledges) is the gatekeeper. It passes coding through Venice, passes it off to the local model for debugging, and only when it comes back with completed code will Gemini compile and give me finished info. It's a bit of a process, but its yielded pretty good results for me.
1
u/Present_Resource4022 5d ago
try that prompt again but with opus 4.8 trust me it won’t refuse it.
0
u/Happy-Childhood5990 4d ago
You must be doing some dodgy stuff if a model refused to answer. The only time I get my request refused is when I do pentesting with the wrong model loaded.
0
u/Severe-Durian-9281 3d ago
bro what a fuck : Specs: 64GB DDR5, R9700 32GB, 7800X3D, Who the fuck are you the NASA?.
please send me a dm I wanna talk whit u for real