GithubHelp home page GithubHelp logo

gabrielcsf / malicious-updates-icse2021 Goto Github PK

View Code? Open in Web Editor NEW
10.0 0.0 0.0 74.44 MB

Shell 0.17% Python 1.70% TeX 0.01% Jupyter Notebook 0.06% JavaScript 20.09% GDB 0.01% Makefile 0.59% R 0.01% HTML 0.67% C++ 49.16% C 17.57% Perl 2.15% Batchfile 0.05% CSS 0.01% Roff 0.18% Assembly 7.32% DIGITAL Command Language 0.22% XS 0.01% M4 0.04% eC 0.01%

malicious-updates-icse2021's Introduction

Containing Malicious Package Updates in npm with a Lightweight Permission System.

This repository contains the implementation artifacts and evaluation benchmarks described in our ICSE paper: Containing Malicious Package Updates in npm with a Lightweight Permission System

Link to the paper arXiv version: https://arxiv.org/abs/2103.05769


Implementation

In the root of this repository, you can find two source code directories: (i) permsystem, the JavaScript project that implements the permission system mechanisms and (ii) node-engine-with-permsystem, a modified version of the Node.js engine with the permission system as part of the code.

Permission System: permsystem project

To build the project, just run the following command in your terminal:

npm install

To run unit tests, just run the following command in your terminal:

npm test

To run mutation tests, just run the following command in your terminal:

npx stryker run

You should have stryker installed in order for this command to work.

Node.js engine: node-engine-with-permsystem project

To build the project, just follow the original instructions in the README file of the project.


Evaluation benchmarks

To build the project, just run the following command in your terminal:

npm install

After that, you may execute the scripts following the ordered numbers in their names.

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.