Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@bryphe/esy-bash
Advanced tools
Installation utilities for a bash environment - primed for Reason/OCaml
This package is intended to smooth over cases where OCaml packages rely on Unix utilities or a Bash environment.
On Linux and OS X, this package is essentially a no-op. On Windows, we install an isolated cygwin
environment, ready to use for OCaml/OPAM, that we use to run a bash shell.
npm install
Installation on Windows does the following:
cygwin
into a .cygwin
foldercygwin
for OCaml & Reason - rsync
, patch
, mingw
, etc.The esy-bash
command runs a script in a bash shell. On Linux and OS X, this just uses the default bash
shell. On Windows, this delegates to the installed cygwin
environment:
esy-bash echo 'HI'
An API is also bundled:
const { bashExec } = require("esy-bash")
await bashExec("ls -a")
This source code is licensed under the MIT License.
When installing, several other dependencies are downloaded - like Cygwin and the GNU utilities. These are bound by their own license terms.
FAQs
Cross-platform bash utilities - primed for Reason/OCaml
We found that @bryphe/esy-bash demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.