Booby-trapping an LLM with weight-space tripwires · Deepak Singh

deepaksingh98.github.io8 min read

The author demonstrates writing a 120-neuron weight-space tripwire directly into the Qwen3.8-27B language model without training to defend against weight tampering. The tripwire monitors the model's refusal direction and silences the output if that direction is removed, effectively neutralizing abliteration attacks while leaving benign performance intact. However, the author finds that alternative attacks such as weight-reading, prefilling, and fine-tuning can bypass the tripwire. Open article →

More on this topic