Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@esy-ocaml/ocamlrun
Advanced tools
This repository contains an npm package which wraps the bytecode VM portion of the OCaml toolchain + a set of dynamically loaded libs as an npm package.
The idea is to be able to distribute bytecode compiled OCaml programs on npm and have them executed using this package.
The goal is also to have a very quick installation, current on MacBook Pro 2016
it takes around 18s to compile the ocamlrun
.
% npm install -g @esy-ocaml/ocamlrun
% ocamlrun ./my-bytecode-compiled-executable
% make clean
% make dist
% npm publish
We compile ocaml
and jbuilder
into bytecode and distribute along with
ocaml.tar.gz
and lwt.tar.gz
. On target machine we unpack ocaml.tar.gz
and
build the runtime portion (ocamlrun
+ needed C libs) then we build only C part
of lwt
using bc-compiled ocaml
and jbuilder
. Finally we have an ocamlrun
exposed with a configured $OCAMLLIB
which is able to run bytecompiled
executables which use lwt.
FAQs
OCaml bytecode runtime
The npm package @esy-ocaml/ocamlrun receives a total of 7 weekly downloads. As such, @esy-ocaml/ocamlrun popularity was classified as not popular.
We found that @esy-ocaml/ocamlrun demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.