[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10630":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":21,"defaultBranch":22,"hasWiki":20,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":31,"discoverSource":32},10630,"oyente","enzymefinance\u002Foyente","enzymefinance"," An Analysis Tool for Smart Contracts ","",null,"JavaScript",1340,315,1341,65,0,2,55.7,"GNU General Public License v3.0",true,false,"master",[24,25,26,27],"blockchain","ethereum","security-analyzers","smart-contracts","2026-06-12 04:00:51","Oyente\n======\n\nAn Analysis Tool for Smart Contracts\n\n[![Gitter][gitter-badge]][gitter-url]\n[![License: GPL v3][license-badge]][license-badge-url]\n[![Build Status](https:\u002F\u002Ftravis-ci.org\u002Fmelonproject\u002Foyente.svg?branch=master)](https:\u002F\u002Ftravis-ci.org\u002Fmelonproject\u002Foyente)\n\n*This repository is currently maintained by Xiao Liang Yu ([@yxliang01](https:\u002F\u002Fgithub.com\u002Fyxliang01)). If you encounter any bugs or usage issues, please feel free to create an issue on [our issue tracker](https:\u002F\u002Fgithub.com\u002Fmelonproject\u002Foyente\u002Fissues).*\n\n## Quick Start\n\nA container with required dependencies configured can be found [here](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fluongnguyen\u002Foyente\u002F). The image is however outdated. We are working on pushing the latest image to dockerhub for your convenience. If you experience any issue with this image, please try to build a new docker image by pulling this codebase before open an issue.\n\nTo open the container, install docker and run:\n\n```\ndocker pull luongnguyen\u002Foyente && docker run -i -t luongnguyen\u002Foyente\n```\n\nTo evaluate the greeter contract inside the container, run:\n\n```\ncd \u002Foyente\u002Foyente && python oyente.py -s greeter.sol\n```\n\nand you are done!\n\nNote - If need the [version of Oyente](https:\u002F\u002Fgithub.com\u002Fmelonproject\u002Foyente\u002Ftree\u002F290f1ae1bbb295b8e61cbf0eed93dbde6f287e69) referred to in the paper, run the container from [here](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fhrishioa\u002Foyente\u002F)\n\nTo run the web interface, execute\n`docker run -w \u002Foyente\u002Fweb -p 3000:3000 oyente:latest .\u002Fbin\u002Frails server`\n\n## Custom Docker image build\n\n```\ndocker build -t oyente .\ndocker run -it -p 3000:3000 -e \"OYENTE=\u002Foyente\u002Foyente\" oyente:latest\n```\n\nOpen a web browser to `http:\u002F\u002Flocalhost:3000` for the graphical interface.\n\n## Installation\n\nExecute a python virtualenv\n\n```\npython -m virtualenv env\nsource env\u002Fbin\u002Factivate\n```\n\nInstall Oyente via pip:\n\n```\n$ pip2 install oyente\n```\nDependencies:\n\nThe following require a Linux system to fufill. macOS instructions forthcoming.\n\n[solc](https:\u002F\u002Fgithub.com\u002Fmelonproject\u002Foyente#solc)\n[evm](https:\u002F\u002Fgithub.com\u002Fmelonproject\u002Foyente#evm-from-go-ethereum)\n\n## Full installation\n\n### Install the following dependencies\n#### solc\n```\n$ sudo add-apt-repository ppa:ethereum\u002Fethereum\n$ sudo apt-get update\n$ sudo apt-get install solc\n```\n\n#### evm from [go-ethereum](https:\u002F\u002Fgithub.com\u002Fethereum\u002Fgo-ethereum)\n\n1. https:\u002F\u002Fgeth.ethereum.org\u002Fdownloads\u002F or\n2. By from PPA if your using Ubuntu\n```\n$ sudo apt-get install software-properties-common\n$ sudo add-apt-repository -y ppa:ethereum\u002Fethereum\n$ sudo apt-get update\n$ sudo apt-get install ethereum\n```\n\n#### [z3](https:\u002F\u002Fgithub.com\u002FZ3Prover\u002Fz3\u002Freleases) Theorem Prover version 4.5.0.\n\nDownload the [source code of version z3-4.5.0](https:\u002F\u002Fgithub.com\u002FZ3Prover\u002Fz3\u002Freleases\u002Ftag\u002Fz3-4.5.0)\n\nInstall z3 using Python bindings\n\n```\n$ python scripts\u002Fmk_make.py --python\n$ cd build\n$ make\n$ sudo make install\n```\n\n#### [Requests](https:\u002F\u002Fgithub.com\u002Fkennethreitz\u002Frequests\u002F) library\n\n```\npip install requests\n```\n\n#### [web3](https:\u002F\u002Fgithub.com\u002Fpipermerriam\u002Fweb3.py) library\n\n```\npip install web3\n```\n\n### Evaluating Ethereum Contracts\n\n```\n#evaluate a local solidity contract\npython oyente.py -s \u003Ccontract filename>\n\n#evaluate a local solidity with option -a to verify assertions in the contract\npython oyente.py -a -s \u003Ccontract filename>\n\n#evaluate a local evm contract\npython oyente.py -s \u003Ccontract filename> -b\n\n#evaluate a remote contract\npython oyente.py -ru https:\u002F\u002Fgist.githubusercontent.com\u002Floiluu\u002Fd0eb34d473e421df12b38c12a7423a61\u002Fraw\u002F2415b3fb782f5d286777e0bcebc57812ce3786da\u002Fpuzzle.sol\n\n```\n\nAnd that's it! Run ```python oyente.py --help``` for a list of options.\n\n## Paper\n\nThe accompanying paper explaining the bugs detected by the tool can be found [here](https:\u002F\u002Fwww.comp.nus.edu.sg\u002F~prateeks\u002Fpapers\u002FOyente.pdf).\n\n## Miscellaneous Utilities\n\nA collection of the utilities that were developed for the paper are in `misc_utils`. Use them at your own risk - they have mostly been disposable.\n\n1. `generate-graphs.py` - Contains a number of functions to get statistics from contracts.\n2. `get_source.py` - The *get_contract_code* function can be used to retrieve contract source from [EtherScan](https:\u002F\u002Fetherscan.io)\n3. `transaction_scrape.py` - Contains functions to retrieve up-to-date transaction information for a particular contract.\n\n## Benchmarks\n\nNote: This is an improved version of the tool used for the paper. Benchmarks are not for direct comparison.\n\nTo run the benchmarks, it is best to use the docker container as it includes the blockchain snapshot necessary.\nIn the container, run `batch_run.py` after activating the virtualenv. Results are in `results.json` once the benchmark completes.\n\nThe benchmarks take a long time and a *lot* of RAM in any but the largest of clusters, beware.\n\nSome analytics regarding the number of contracts tested, number of contracts analysed etc. is collected when running this benchmark.\n\n## Contributing\n\nCheckout out our [contribution guide](https:\u002F\u002Fgithub.com\u002Fmelonproject\u002Foyente\u002Fblob\u002Fmaster\u002FCONTRIBUTING.md) and the code structure [here](https:\u002F\u002Fgithub.com\u002Fmelonproject\u002Foyente\u002Fblob\u002Fmaster\u002Fcode.md).\n\n\n[gitter-badge]: https:\u002F\u002Fimg.shields.io\u002Fgitter\u002Froom\u002Fmelonproject\u002Foyente.js.svg?style=flat-square\n[gitter-url]: https:\u002F\u002Fgitter.im\u002Fmelonproject\u002Foyente?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n[license-badge]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-GPL%20v3-blue.svg?style=flat-square\n[license-badge-url]: .\u002FLICENSE\n","Oyente是一款针对智能合约的安全分析工具。它能够自动检测以太坊智能合约中的潜在安全漏洞，支持使用静态分析技术来识别常见的安全问题如重入攻击、整数溢出等。该工具基于JavaScript开发，并且可以通过Docker容器轻松部署和运行，还提供了Web界面便于用户操作。适用于区块链开发者在部署智能合约前进行安全性评估，确保合约代码的质量与安全性。","2026-06-11 03:29:27","top_topic"]