{"id":18009997,"url":"https://github.com/mpashkovskiy/solidity-analysis-tools-testing","last_synced_at":"2026-02-19T11:32:31.506Z","repository":{"id":153548639,"uuid":"110925457","full_name":"mpashkovskiy/solidity-analysis-tools-testing","owner":"mpashkovskiy","description":"Solidity Analysis Tools Testing","archived":false,"fork":false,"pushed_at":"2019-11-12T09:36:07.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T22:55:47.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mpashkovskiy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-16T05:03:03.000Z","updated_at":"2019-11-12T09:36:10.000Z","dependencies_parsed_at":"2023-05-19T10:31:06.737Z","dependency_job_id":null,"html_url":"https://github.com/mpashkovskiy/solidity-analysis-tools-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mpashkovskiy/solidity-analysis-tools-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpashkovskiy%2Fsolidity-analysis-tools-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpashkovskiy%2Fsolidity-analysis-tools-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpashkovskiy%2Fsolidity-analysis-tools-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpashkovskiy%2Fsolidity-analysis-tools-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpashkovskiy","download_url":"https://codeload.github.com/mpashkovskiy/solidity-analysis-tools-testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpashkovskiy%2Fsolidity-analysis-tools-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29611097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T02:11:44.395Z","updated_at":"2026-02-19T11:32:31.476Z","avatar_url":"https://github.com/mpashkovskiy.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Solidity Analysis Tools Testing\n===============================\n\nDocker images with analysis tools and set of contracts to test.\n\nContracts:\n\n* `contracts/Bank_*.sol` - buggy and correct contract from JJ\n* `contracts/Government.sol` - real contract with security bug from https://www.reddit.com/r/ethereum/comments/4ghzhv/governmentals_1100_eth_jackpot_payout_is_stuck/\n* `contracts/hkg-token-*.sol` - buggy and correct implementation of [EIP20 standard](https://github.com/ethereum/EIPs/issues/20) token\n\nPrerequisites:\n\n* [Docker](https://www.docker.com/)\n\nTo run Docker container with tools execute:\n\n```\ndocker build -t toolbox .\ndocker run -it toolbox\n```\n\nThis will open the container's shell with installed analysis tools, dependencies and contracts from `contracts` folder.\n\nTo remove unused Docker images and containers after execution run `./cleanup.sh`\n\n## Solhint\n\n* Solhint: https://protofire.github.io/solhint/\n\nConfiguration file is located here: contracts/.solhint.json\n\nInside running container navigate to `/oyente/oyente/contracts` directory and run\n\n```\nsolhint Government.sol\n```\n\n## Oyente\n\n* Oyente: https://github.com/melonproject/oyente\n* Making Smart Contracts Smarter: http://www.comp.nus.edu.sg/~loiluu/papers/oyente.pdf\n\nTo analyze a contract run from `/oyente/oyente` directory\n\n```\npython oyente.py -a -s contracts/[contract name]\n```\n\nThe only contract where Oyente finds security bugs is `contracts/Government.sol`. The bugs are:\n\n* [Callstack Depth Attack Vulnerability](https://consensys.github.io/smart-contract-best-practices/known_attacks/#call-depth-attack-deprecated)\n* [Transaction-Ordering Dependence (TOD)](https://consensys.github.io/smart-contract-best-practices/known_attacks/#transaction-ordering-dependence-tod-front-running)\n* [Timestamp Dependency](https://consensys.github.io/smart-contract-best-practices/known_attacks/#timestamp-dependence)\n* Assertion Failure\n\n## ToDo\n\n* add tools:\n  * new version of https://github.com/jarjuk/sbuilder-ethereum once it will be available\n  * https://github.com/trailofbits/manticore\n  * https://github.com/b-mueller/mythril/\n* add contrats\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpashkovskiy%2Fsolidity-analysis-tools-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpashkovskiy%2Fsolidity-analysis-tools-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpashkovskiy%2Fsolidity-analysis-tools-testing/lists"}