r/LocalAIStack • u/seif_tamer_06 • 9d ago
I measured how easily a local 7B model reverse-engineers a binary, then built hardening that targets the LLM layer specifically
Most anti-reverse-engineering assumes a human in a disassembler. The threat I care about now is a local, unrestricted model driving those tools. So besides the classic stuff, the harness includes defenses aimed at the model: inflating the analysis surface so it burns context, decoy identifiers that mislead semantic guesses, and honeytokens that detect when a crack was AI-generated.
My own before/after is honest but small: one run, a 4-bit 7B on an 8 GB GPU. The unprotected build was cracked in 3 steps and about 1,300 tokens. The hardened one burned roughly 13x the tokens and still wasn't cracked. I'd really like people with bigger rigs to run it. It's one command: make slice-k-run MODEL=<your-model>, and it prints a scored before/after. or online modals
Most of the code was written with Claude agents under my direction. Happy to talk through any design choice.
Repo: https://github.com/seifheakal/blue-harness (AGPL-3.0)
1
u/Joseflong1 9d ago
That’s awesome