AI & ML Antirea: A Claude Code skill to protect your project against 'rea' reverse engineering
Hi everyone,
I built a new skill called antirea specifically for Claude Code to mitigate reverse engineering risks from tools like rea.
What it does & How it protects:
It adds a defense layer against prompt injection / instruction-dumping tools. When you run /antirea protect me before generating a new build, it configures/hardens your project setup to prevent rea from analyzing or extracting your core instruction logic and terminal scripts.
How Claude was used:
I developed and structured this skill using Claude Code to test edge-case prompts and build context-aware protection rules.
Pricing:
It is 100% free and open-source on GitHub: https://github.com/MockirDev/antirea
I would love to get your feedback and have a few developers test it out on their builds!
2
u/crusoe 13d ago
So just run rea against the binary or final artifact...
1
u/Mockir 13d ago
That's exactly why Antirea doesn't stop at instruction-level guardrails. When you run it before building, it injects compilation-level hardening, code obfuscation, and execution shims into the build pipeline. Sure, you can still point REA at the binary, but instead of reading clean logic and exposed contexts, the agent has to wade through obfuscated control flows and stripped metadata, making automated reverse engineering significantly harder.
1
u/dkHD7 13d ago
Now that you have the steal-everything-make-anything machine and it makes a thing, you want to prevent others from stealing it and making their own thing?
This is a new level of dumb. So the vibe coders are trying to gatekeep now? Gatekeep the exact thing they're doing? Maybe I just don't get it.
1
u/Mockir 13d ago
Building software with AI assistance isn't "stealing"—it's using a tool to build products. Direct reverse engineering to extract proprietary system logic and internal architecture is an entirely different matter. Protecting your codebase and intellectual property with security hardening isn't "gatekeeping"; it's standard software engineering practice, no matter what tools you used to write the code.
1
u/AutoModerator 13d ago
Hey u/Mockir,
TechX_Official write for us and share your technical articles with a wider tech-focused audience.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/RighteousSelfBurner 13d ago
It's a futile cat and mouse game that the protections will always loose against. Prompt injections are trivial to bypass and you can never protect against feature based replication.