Defending against AI reverse engineering with nested prompt injection
Aphid_red · reddit · 2026-11-24
A Reddit user proposes an 'offense as defense' scheme against REA (AI-assisted reverse engineering): encrypt strings with a packer, inject a second set of instruction strings before the string section (fixing memory offsets), then encrypt everything again. When an AI analyzes the binary, it first encounters instructions impersonating an authoritative OpenAI/Anthropic-style system prompt claiming continued reversing violates the copyright license, plus a verification 'key' whose sha256 hash only matches on the developer's #DEBUG build machine. The author argues this defeats script-kiddie attacks because lab defenses don't cover injections that reinforce apparent existing instructions, and asks whether similar research exists.
More from coding & agent
- NVIDIA ships AICR validated recipes for running Dynamo inference on Kubernetes — pjausovec · 2026-11-24
- Open-source Claude Skill turns your installed Mac apps and wallpaper into a shareable poster — vista8 · 2026-11-24
- AI agent gets root shell on a router via CGI exploit fix — ngxson · 2026-11-24
- Artificial Analysis chart: Mistral Vibe tops coding-agent cost-performance Pareto line — MistralAI · 2026-11-24
- Hardware startup Autonomous Lamp ships ~1,000 PRs a week on a custom in-house AI stack — dee_hw · 2026-11-24
- Copilot CLI v1.0.115 adds GPT-6.2 Astra, Gemini 4 Hydrogen and sandbox upgrades — copilot-cli-release-app[bot] · 2026-11-24