REA MCP
☰
JA
● — 人がオンライン ・閲覧 — 回
スポンサー事例を投稿
Reddit の投稿 · 投稿者 Accurate-Screen8774

自分のプロジェクトをリバースエンジニアリングする

開発者がREA(morluto/rea)を使用して、自身のクローズドソースP2P通信アプリをレッドチーム方式でリバースエンジニアリングした経験を共有。マルチプラットフォームのバイナリとドキュメントを提供し、どの程度復元可能かを検証するために逆コンパイル結果のリポジトリを公開。

翻訳済み

この事例について

著者はCursor auto agentとREAを組み合わせ、自身のプロジェクトのTUI、APK、Web、デスクトップ版バイナリおよびドキュメントサイトをツールに投入し、逆コンパイルリポジトリ(github.com/positive-intentions/glitr-decompiled)の生成に成功した。クライアント側のクローズドソースはAIの支援により容易に復元可能であると考え、この自己レッドチーミングを通じて攻撃面を理解し、防御と改善の方向性を検討している。

セットアップ

インストール方法は元のソースをご確認ください。

原文 / README

TLDR; i thought my project would have been harder to chew up. it was surprisingly low-effort. i wanted to red-team myself on my project and id like to know how to reverse engineer so i can see what can be done to defend against it. my app is aiming to be fully client-side. An implementation in javascript seems like it would relatively easy for an AI to swallow. my latest project is in rust, which would make it harder for a person, but AI can now digest binaries. i created a fairly unique p2p messaging app. a rust-based frontend with a rit-server backend, which can be used to establish a p2p connection. while this version remains close-source, i aimed to create comprehensive technical documentation (formal-verification and security audits too (all ai-slop-maxxing at scale under my guidance)). https://glitr.io https://app.glitr.io a core detail to my project is the focus on client-side cryptography and storage. i think my older iteration as a javascript webapp would be relatively easy for AI, so i thought id put a spin-on-things by having a rust wasm frontend. In practice, i dont think AI broke a sweat. i know nothing about decompiling, but i think the TUI would be the easiest for it to decompile... and given its largly one codebase for all the platforms, it can be used to trace and see what is going on in the builds for the other platforms. it might be that all close source is obselete. i tried asking here , and the responses there are polar opposites, so i decided to get some first-hand experience. i used cursor's "auto" agent (in contrast to the frontier models available). i used https://github.com/morluto/rea and tried to make it easier by proving it with a few binaries of my project (tui, apk, web, desktop) and pointed it to the documentation as a website. after a few prompts, it seems to have done a decent job decompiling the project here: https://github.com/positive-intentions/glitr-decompiled ( note: this is basically AI-slop ) like with many projects, i see AI lacks taste in architecture. it consolidates a lot of complexity into one repo, when in my project it's split into multiple repos. it also seems to lack a bunch of bells-and-whistles i added for my own benefit like formal-verification and rigorous unit-tests. having done it myself before, i dont think that it's a large gap to close for somone who knows what they're doing. i think the overhead to keep up with new changes may become trivial if you can automate the process of ingesting new binaries. i kinda offer the base in the repo above (maybe it saves you a few tokens?), but its for my own research and i dont plan to maintain it given it undermines the actual project. in general, im impressed considering how fast and low effort this was. it seems this may push forward my timeline for when i open source my project, i wasnt expecting client-side close-source being so easy to undemine. while the project can be decompiled, in a project like this, its important to consider the countless nuances there are in software development and cybersecurity. the code is only a fraction of the project. i think people should try this in their own code. while the decompiled output is not the same codebase, it seems trivial for me to take some unfamiliar app and rebuild a protocol-compatible version with some new button, feature... or auto-installing malware. (note: feel free to try decompile this yourself or offer tips on how i can improve. id be keen to see what can be done. feel free to reach out for clarity about how it works if the docs are not clear) submitted by /u/Accurate-Screen8774 to r/SideProject [link] [comments]

関連作品