compilebox | run user-submitted code | Continuous Deployment library

 by   remoteinterview JavaScript Version: Current License: MIT

kandi X-RAY | compilebox Summary

kandi X-RAY | compilebox Summary

compilebox is a JavaScript library typically used in Devops, Continuous Deployment, Docker applications. compilebox has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

CompileBox is a Docker based sandbox to run untrusted code and return the output to your app. Users can submit their code in any of the supported languages. The system will test the code in an isolated environment. This way you do not have to worry about untrusted code possibly damaging your server intentionally or unintentionally. You can use this system to allow your users to compile their code right in the browser.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              compilebox has a medium active ecosystem.
              It has 973 star(s) with 310 fork(s). There are 47 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 35 open issues and 18 have been closed. On average issues are closed in 76 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of compilebox is current.

            kandi-Quality Quality

              compilebox has 0 bugs and 0 code smells.

            kandi-Security Security

              compilebox has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              compilebox code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              compilebox is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              compilebox releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed compilebox and discovered the below as its top functions. This is intended to give you an instant insight into compilebox implemented functionality, and help decide if they suit your requirements.
            • Generate random bytes
            Get all kandi verified functions for this library.

            compilebox Key Features

            No Key Features are available at this moment for compilebox.

            compilebox Examples and Code Snippets

            No Code Snippets are available at this moment for compilebox.

            Community Discussions

            QUESTION

            Is it safe to use Google cloud functions and puppeteer for user code sandbox?
            Asked 2018-Sep-08 at 19:08

            Currently I use a VM with compilebox to run non secure users code at my app..

            I’ve read about puppeteer and google cloud functions at this post: https://cloud.google.com/blog/products/gcp/introducing-headless-chrome-support-in-cloud-functions-and-app-engine

            Can I use it as a sandbox environment just like compilebox? Or the environment variables of google cloud will be exposed to the non secure code? Thanks..

            ...

            ANSWER

            Answered 2018-Sep-08 at 19:08

            App Engine, Function, Compute Engine and likely others, all provide some built in services for handling things like authentication in client libraries. I don't think you'd want to run user provided code within the same GCP project straight on top of GCP hosting resources. I think your approach to running a sandbox within a VM is safer.

            Source https://stackoverflow.com/questions/52224531

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install compilebox

            Go to the 'Setup' directory. to install all needed nodejs modules, followed by.
            Go to the 'Setup' directory. Open the Terminal as root user Execute the script Install_*.sh, select the file which best suites your Operating System description. This will install the Docker and NodeJs pre-requisites to your system and create an image called 'virtual_machine' inside the Docker. DockerVM may take around 20 to 30 minutes depending on your internet connection. Once the Install script executes successfully, copy the folder named 'API' to your desired path. Open app.js in the API folder and set the variable values as follows. timeout_value: The time in seconds till which the API should wait for the output of the code before generating an "Execution Timed Out" message. port: The port on which the server will listen, the default port is 80. To test the installation, open a new terminal windows, cd to the API folder and type the following command $ npm install . to install all needed nodejs modules, followed by $ sudo nodejs app.js If everything has been setup correctly in app.js file, you will see the following message on your terminal Listening at <port_number> Navigate your browser to http://127.0.0.1/ Supported Operating Systems The CompileBox API has been installed and run succesfully on the following platforms Ubuntu 12.04 LTS Ubuntu 13.10 Ubuntu 14.04 LTS Ubuntu 16.04 LTS Linux Mint 15 CentOS 6 (root required not sudo)

            Support

            The CompileBox API has been installed and run succesfully on the following platforms.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/remoteinterview/compilebox.git

          • CLI

            gh repo clone remoteinterview/compilebox

          • sshUrl

            git@github.com:remoteinterview/compilebox.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link