Masamune
Masamune copied to clipboard
A smart contract security search utility
Masamune
The smart contract security search utility tool.
What is Masamune?
Masamune is a search utility tool that allows you to search for smart contract security vulnerabilities, from a curated list of sources.
To access Masamune, visit masamune.app.
How does it work?
Masamune V1.
The search utility is powered by Lunr.js, a full-text search library for the browser.
We have developed custom scrapers for each data source, which are run periodically to retrieve the latest data.
The data is stored within the results directory; for each of the queries, a pattern match is tried against the data, and the results are displayed.
To build locally, just open index.html using a live server, eg. this extension for VSCode.
Masamune V2.
Beta version is available at masamune.app. V2 is powered by the OpenAI's Embeddings API, which allows for more advanced search queries, as well as more context aware search results. Currently, the text-embedding-3-large model is in use.
Retrieving the data
Currently, Masamune works on the following data sources:
- Zellic
- Code4rena findings
- DeFi Hacks Analysis
- Immunefi bugfixes
- yAudit
- Trail of Bits
- Various Gitbooks, such as the Layer Zero Docs, Curve Finance Docs, MEV Wiki, etc
- Certora
- Consensys
- Dedaub
- Halborn
- Least Authority
- Oak Security
- SlowMist
- OpenZeppelin
- Spearbit
- ChainSecurity