Deivitto
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
The Auditor Toolbox =================== > Docker system and Web3 tooling aggregator for Security Researchers <div class="section-divider"><hr class="section-divider"></div> Web3 Tooling has increased over the years. While some significant steps have been made, there's still more progress to be achieved. ![](https://cdn-images-1.medium.com/max/800/1*4GXiY1alA2xprfHxv0tiOw.png) ### Why did I build this? A brief introduction Back in the day, as I began my journey in the web3 security space, Secureum included a chapter about [tooling](https://secureum.substack.com/p/audit-techniques-and-tools-101). At that time, I believed it was the holy grail of bug detection. Driven by that excitement, I experimented with various tools, including Trail of Bits tools using the [eth-security-toolbox](https://github.com/trailofbits/eth-security-toolbox). This was a user-friendly Docker machine with all necessary dependencies pre-installed, ensuring an easy setup with zero issues. Plus, it operated in isolation as a container, effectively separating work from personal activities and offering an easily replicable environment. After that, more tools emerged, like Foundry. Unfortunately, some weren't entirely compatible with the eth-security-toolbox. But after some workarounds, I managed to get everything I needed on my system! Wait… is that a blue screen? Oh, god… #### Well… it’s ok… Time to set up everything again! \^~\^ So I had the pleasure of reinstalling everything, which for some unexpected reason, consumed a lot of time. Having to reinstall new tools or to install them in new computers struck me as inefficient. This led me to wonder: > Can I just have an easy to set environment with all set up beforehand? Or at least easy to set without doing research and dealing with bugs? <div class="section-divider"><hr class="section-divider"></div> ![](https://cdn-images-1.medium.com/max/800/1*mGSaE4_0LEnEa_KXyQoOaA.png) ### Auditor Toolbox Features > Link to the [repository](https://github.com/Deivitto/auditor-docker/) #### Base Setup: * **Operating System**: Ubuntu Jammy (22.04) * **Utilities**: Git, Curl/wget, gawk/ripgrep, z3, pandoc, openssh-client, texlive, solidity plugins for Vim, etc. * **Ethereum** dependencies. #### Languages & Frameworks: * **Python**: Version 3.9 * **Rust**: Comprehensive setup with Cargo * **Julia**: Built-in support. * **Noir**: Support for the Noir language (Nargo). * **Circom**: Framework for zkSNARK circuits. #### Web3 Tools for security: It includes not only dependencies but tools from well known companies, developers and contributooors: * **Foundry** as modular toolkit for Ethereum application development written in Rust. It includes: **Forge**, **Anvil**, **Cast**, and **Chisel**. Author Paradigm. * **Halmos** for Symbolic Bounded Model Checker for Ethereum Smart Contracts Bytecode. Author a16z. * **Heimdall** for advanced EVM smart contract toolkit specialized in bytecode analysis. Author Jon-Becker. * **Slither**, **Echidna**, **Medusa Fuzzer**, **Manticore**, and **Etheno**, **solc-select** and **crytic compile**. Author Trail of Bits. * **Extra Slither detectors**, specialized detectors for Slither. Author Pessimistic.io. * **Prover** tool for symbolic analysis. Author Certora. * **Mythril** for smart contract analysis. Author Consensys. * **Spearbit Report Generator**, all needed **dependencies** to use the report generator in Spearbit audits * **Python developer kit**: It includes **Vyper**, **Ape-Vyper**, **Py-solc-x** and **pyevwasm**, can be found in. #### Package Management and Node: * **NVM**: Node Version Manager to switch between different Node.js versions. * **Node**: Long Term Support (LTS) version. * **Package Managers**: **npm**, **yarn**, and **pnpm**.  #### VSCode Extensions: * There is also an option in the installer to install the most common extensions for Security Researchers. Really **useful for beginners or new installations.** #### Custom scripts: * **add2 / add2box:** Shortcut to the installer which will do the whole installation for different tools without leaving the CMD. * **add2-update:** Shorcut to the updater which will sync the scripts and templates folder with the latest version of them in the repo. This is for useful for fixes or to get the installer of a new tool. * **issue:** For bug hunters mostly. Sometimes I was auditing some contest and I prefer to write first the issues locally, then submit them after reviewing all of them. The issue, is that **the templates are different in the platforms, and sometimes you need to log in to get the template**, so why not to run _issue c4_ or _issue sh_ to create a Code4rena or Sherlock issue and open it in your editor instantly? It also have support for Spearbit and Codehawks templates. * **solc-docs --book:** Downloads the latest **solidity lang documentation** and tries to open the pdf file. For more info go to the table with all the [**features**](https://github.com/Deivitto/auditor-docker/wiki/Features) or to the [references](https://github.com/Deivitto/auditor-docker/wiki/References) page in the wiki, where all the links to the packages are included. ### Practical use cases and reasons So I was in some random event talking with [Cryptonicle](https://twitter.com/Cryptonicle1) and [p\_misirov](https://twitter.com/p_misirov) about the idea _“Is it really needed? Would people use it? What should include, what use cases would it have…”._ In my case, it was a totally yes, so I looked for the reasons. * **Core dependencies and tools.** Most of the tools and core dependencies are always installed, dealing with all of them in one installation creates a fast and nice user experience. * **Newbie friendly.** Newcomers won't need extensive research to find invaluable tools. **Simplifying tool adoption for novices facilitates a deeper and faster immersion into the ecosystem**. * **Plug and play,** install it and feel free to start working in less than 10 minutes. You don’t need to bring your computer everywhere you go, you just need any computer and use this docker to have your setup ready for a random contest wherever you are. * **Time. Replication. Portability.** It saves a lot of time not having to configure a system and removes a lot of worry about having issues in one computer as you can go to a secondary one and keep working. * **Capture the Flag.** You can bring it into Capture the Flag competitions as it is fully equipped with standard tools. We can find **compilers and decompilers**, **static analyzers**, **fuzzers**, **symbolic analysis**, **formal verification**… users won’t need to do research for tools and installation, just to find their path to the solution! <div class="section-divider"><hr class="section-divider"></div> ### What Makes an Effective Docker Machine? In my quest to design a high-quality Docker machine, I gathered insights through introspection, discussions, and research: * **Tools**: Packing essential tools and utilities expedites tasks and simplifies installations. This Docker machine's hallmark is its comprehensive bundle that allows for auditing in a complete, testable environment in under 10 minutes. * **Convenience**: Reduces the time and effort required to set up your working environment for audits. * **Flexibility**: The base of the machine is a simple ubuntu 22:04 with a lot of packages installed to ease the configuration of later software that can be used. After that, all comes in the form of installer to install your needs, this installer will be updated with new features but it won’t break any base machine. * **Memory**: Less is more. This is why it's focused in the most commonly used tools to be integrated into the Dockerfile, while niche or memory-intensive tools are kept separate in the installer script. * **Consistency**: The same Docker container will run identically on any machine. It’s the same if you are using Windows, MacOS, or Linux, it should always run the same. * **Open Source**: Being open source allows transparency, easy customization and contributions by the community. * **Isolation**: Containers provide isolation, ensuring that they do not interfere with each other or with the host system. <div class="section-divider"><hr class="section-divider"></div> ### Next Steps * Introduce niche versions tailored for **zero-knowledge**, **formal verification**, **symbolic execution**, etc. * Incorporate a toolkit for **golang** and associated **golang tools**. * Elevate the **user experience**. * Decrease certain installation durations. * Launch a regular **newsletter** detailing the latest advancements. * Regularly **update versions** as years progress. <div class="section-divider"><hr class="section-divider"></div> ### Acknowledgments A big shoutout to [**Cryptonicle**](https://twitter.com/Cryptonicle1) and [**p\_misirov**](https://twitter.com/p_misirov) for their continuous dialogue on potential features for the machine. A hearty thank you to both of them and to [**eugenioclr**](https://twitter.com/eugenioclrc) for their invaluable help in testing and consistently spotting bugs that eluded me. <div class="section-divider"><hr class="section-divider"></div> ### Links and Documentation * [Auditor Docker on GitHub](https://github.com/Deivitto/auditor-docker/) * [References Wiki](https://github.com/Deivitto/auditor-docker/wiki/References) * [Troubleshooting Wiki](https://github.com/Deivitto/auditor-docker/wiki/Troubleshooting) * [Features Wiki](https://github.com/Deivitto/auditor-docker/wiki/Features) * [Official Docker Documentation](https://docs.docker.com/) [View original.](https://medium.com/p/840848d42109) Exported from [Medium](https://medium.com) on August 16, 2023. <style>a{color:#000;}a:hover{color:#5c5c5c;} * { font-family: Roboto, ,Cambria,"Times New Roman",Times,serif; line-height: 1.6; text-rendering: optimizeLegibility; } strong, a {font-weight:500;} /*! CSS Used from: https://cdn-static-1.medium.com/_/fp/css/main-branding-base.HJt032K6kpEVA4YtAumf5A.12.css */ hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;} @media print and (color){ *{-webkit-print-color-adjust:exact;print-color-adjust:exact;} } hr.section-divider{display:block;border:0;text-align:center;overflow:visible;} hr.section-divider:before{content:'...';display:inline-block;margin-left:.6em;color:rgba(0,0,0,.68);position:relative;top:-30px;} @media print{ body.postShowScreen *{visibility:hidden;} body.postShowScreen .postArticle-content *{visibility:visible;} } hr.section-divider:before{--x-height-multiplier:0.342;--baseline-multiplier:0.22;font-family:medium-content-slab-serif-font,Georgia,Cambria,"Times New Roman",Times,serif;font-weight:400;font-style:italic;font-size:30px;letter-spacing:.6em;} @media all and (max-width:767px){ hr.section-divider{font-size:24px;line-height:1.4;} } @media print{ hr.section-divider:before{font-size:20.4px;} } hr.section-divider{margin-top:52px;margin-bottom:42px;} @media (max-width:767px){ hr.section-divider{margin-top:44px;margin-bottom:34px;} } hr.section-divider{background: none;} /*! CSS Used fontfaces */ @font-face{font-family:'medium-content-slab-serif-font';font-weight:300;font-style:italic;src:url('https://glyph.medium.com/font/24e0824/0-3j_4g_53_6bu_6c4_6c8_6c9_6cc_6cd_6ci_6cm/marat-sans-300-italic.woff') format('woff');unicode-range:U+0-7F,U+A0,U+B7,U+200A,U+2014,U+2018,U+2019,U+201C,U+201D,U+2022,U+2026;} @font-face{font-family:'medium-content-slab-serif-font';font-weight:300;font-style:italic;src:url('https://glyph.medium.com/font/24e0824/3k-4f_4h-52_54-6bt_6bv-6c3_6c5-6c7_6ca-6cb_6ce-6ch_6cj-6cl_6cn-nvnj/marat-sans-300-italic.woff') format('woff');unicode-range:U+80-9F,U+A1-B6,U+B8-2009,U+200B-2013,U+2015-2017,U+201A-201B,U+201E-2021,U+2023-2025,U+2027-10FFFF;} @font-face{font-family:Cambria;src:local('Arial'),local('Helvetica');unicode-range:U+2500-259F;} </style>

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully