Giter Club home page Giter Club logo

safe-smartcontracts's Introduction

Folder---input_data

This folder contains 3 csv files of distinct suicidal, prodigal, and greedy FPs.

* clean_test_suicidalFP_noDups
* clean_test_leakFP_noDups
* clean_test_greedyFP_noDups

Folder---saved_model

This folder contains trained models, with the latest one being 'V6_620k_batch9'

* LSTM
* improved_LSTM
* V6_620k_batch9 

Jupyter Notebooks

Jupyter notebooks for prototyping and evaluation:

* Learning Smart Contract Security Exploits
* Learning Smart Contract Security Exploits_addedFPs
* Learning Smart Contract Security Exploits_addedFPs_Evaluation

Python Scripts

Python scripts for running experiments:

* Learning Smart Contract Security Exploits
* Learning Smart Contract Security Exploits_addedFPs
* Learning Smart Contract Security Exploits_revised - the latest script which trains the LSTM model on code vectors of Smart Contracts. 

Input Data

Link below:

-Code for academic research.

safe-smartcontracts's People

Contributors

wesleyjtann avatar xhan017 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

safe-smartcontracts's Issues

Prodigal Contracts

I see this project. . i find that Prodigal Contracts csv is missing. Also can you share the data that is used in this project? Specially the Prodigal Contracts csv.

missing input_data/final

Hello,
Thanks for this repository and the associated scientific article (Towards Safer Smart Contracts: A Sequence Learning Approach
to Detecting Security Threats).
I'm trying to retrieve the paper result and cloned this repo, but while trying to run the py scripts and/or jupyter notebook it is failing because no input_data/final folder exists.

Would it be possible to upload those data in the git repo? Or is there a way to retrieve this input_data/final folder content?

Regards.

data set

Hello, can you share all the datasets in the input folder? Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.