
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
eshost-cli
Advanced tools
eshost-cli makes it easy to run and compare ECMAScript code uniformly across a number of runtimes. Support for runtimes is provided by the library eshost. Every host is initialized with the eshost runtime API available which provides a uniform way to print, create realms, and eval code.
See eshost's supported hosts for a list of hosts, download/build locations, and other information.
See --help output for the full details. Basic usage:
eshost --add <host name> <host type> <host path> --args <optional arguments>
.eshost -e [1,2,3].length
.eshost path/to/script.js
.npm install -g eshost-cli
eshost --help
eshost --add <name> <type> <path to host executable> --args <optional arguments>
eshost -e "Map.length"
## chakra-es6
0
## d8
0
## chakra
0
## spidermonkey
1
## node
0
You can --add, --list, and --delete hosts. Adding a host requires a name, type, and path to the runtime executable. You can optionally pass arguments using --args. The same host can be added multiple times with different --args which makes it easy to compare the output of runtimes given different options (eg. by turning language features on and off).
Console hosts are either provided by the browser vendors or, more likely, built from source.
Host types are those provided by eshost, namely:
FAQs
Run scripts in any ECMAScript host
The npm package eshost-cli receives a total of 3 weekly downloads. As such, eshost-cli popularity was classified as not popular.
We found that eshost-cli 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.