back

2025-10-25

scanasha

defi protocol review automation project using permission scanning, data aggregation & AI

created @ ETH Bucharest 2025 alongside @Marc__Vlad, Emilien Duc & Yves Boutellier

My hackathon teammates are part of defiscan, an organzation that provides “comprehensive analysis and ratings of DeFi protocols”. Yves created a protocol permission scanner, that returns “a list of the smart contracts, the identified permissioned functions and respective permission owners”. This technology is used for writing reports about how decentralized DeFi protocols are.

Still, the creation of reports requires a significant amount of manual work. The results of the permission scanner have to be interpreted in human-readable language, and charts according to the data have to be created. All of these tasks sound so exhausting ever since AI came up lol.

Scanasha is software that automatically creates such a report. It aggregates data about a protocol and outputs the level of decentralization it has. It encourages people to contribute to researching decentralization levels on protocols, by giving out bounties.

technology

Everything is accessed through a frontend built on Akasha, a modular platform for apps. The permission scanner is written in Python, accessed through a REST api running on Flask. The aggregation of data works using OpenAI’s GPT. With the VIALabs oracle, we allow contributors to claim a bounty for eligible contributions. The oracle reports on-chain whether a given PR is open, merged, or closed without merge.

screenshot of how protocol's contracts are indexed screenshot of how a generated report looks like