explode-js

Explode-js

Automatic exploit generation for Node.js applications.

Build from source

When building Explode-js from source, it is recommended that you first ensure the following:

$ opam init
$ opam switch create 5.3.0 5.3.0
# Download Neo4j GPG key and add it to apt
$ wget -O - https://debian.neo4j.com/neotechnology.gpg.key | apt-key add -

# Add Neo4j APT repository
$ echo 'deb https://debian.neo4j.com stable 5' | tee -a /etc/apt/sources.list.d/neo4j.list

# Update package list and install neo4j 5.26.4
$ apt-get update && apt-get install -y neo4j=1:5.26.4 && \

# Disable authentication for Neo4j (not recommended for production)
echo dbms.security.auth_enabled=false >> /etc/neo4j/neo4j.conf

# Set correct ownership for Neo4j data and log directories
$ chown -R neo4j:neo4j /var/lib/neo4j && \
  chown -R neo4j:neo4j /var/log/neo4j

# Set group read/write permissions on data and log directories
$ chmod -R g+rw /var/lib/neo4j && \
  chmod -R g+rw /var/log/neo4j

# Add your user to the neo4j group (don't run Neo4j as root)
$ usermod -aG neo4j <YOUR USER>

# Reboot or run to login into the neo4j group
$ newgrp neo4j

Then, you can proceed with the installation of Explode-js:

$ git clone https://github.com/formalsec/explode-js.git
# Use the latest stable release
$ git checkout v1.3.2
$ cd explode-js
$ git submodule update --init
$ ./setup.ml
$ dune runtest

Examples

For examples on how to run explode-js in different settings, see examples.

Evaluation

For benchmarking and evaluation see bench

Publications

License

See LICENSE.

MIT License

Copyright (c) 2024 Explode-js

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.