
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
@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 0 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.