
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
epew (ExternalProgramExecutionWrapper) is a tool to wrap program-calls with some useful functions like getting stdout, stderr, exitcode and the ability to set a timeout.
epew (ExternalProgramExecutionWrapper) is a tool to wrap program-calls with some useful functions.
Important: epew is not ready for usage yet.
epew is a commandline-tool. There is no gui. The main-advantage of epew is to be used when
--ArgumentIsBase64Encoded
-switch).--StdOutFile
- or --StdErrFile
- or --ExitCodeFile
-switch).--TimeoutInMilliseconds
-switch).Other features:
git
as program instead of C:\Program Files\Git\cmd\git.exe
(which would also be possible)).pip install epew
pip requires Python 3.8. See the pypi-site of epew for more information.
git clone https://github.com/anionDev/externalProgramExecutionWrapper
cd externalProgramExecutionWrapper
dotnet build ExternalProgramExecutionWrapper.sln
Coming as soon as possible. winget is new for all of us, that's why epew is not instant available via winget.
>epew
-p, --Program Required. Program which should be executed
-a, --Argument Argument for the program which should be
executed
-b, --ArgumentIsBase64Encoded (Default: false) Specifiy whether Argument
is base64-encoded
-w, --Workingdirectory Workingdirectory for the program which
should be executed
-v, --Verbosity (Default: Normal) Verbosity of
ExternalProgramExecutionWrapper
-i, --PrintErrorsAsInformation (Default: false) Treat errors as information
-h, --AddLogOverhead (Default: false) Add log overhead
-l, --LogFile Logfile for ExternalProgramExecutionWrapper
-o, --StdOutFile File for the stdout of the executed program
-e, --StdErrFile File for the stderr of the executed program
-x, --ExitCodeFile File for the exitcode of the executed
program
-d, --TimeoutInMilliseconds (Default: 2147483647) Maximal duration of
the execution process before it will by
aborted by ExternalProgramExecutionWrapper
-t, --Title Title for the execution-process
-n, --NotSynchronous (Default: false) Run the program
asynchronously
--help Display this help screen.
--version Display version information.
Exitcodes:
2147393801: If no program was executed 2147393802: If a fatal error occurred 2147393803: If the executed program was aborted due to the given timeout 2147393881: If executed on MacOS (applies only to the pip-package) 2147393882: If executed on an unknown OS (applies only to the pip-package) 2147393883: If an (unexpected) exception occurred (applies only to the pip-package)
If the executed program terminated then its exitcode will be set as exitcode of epew.
Installing epew via pip does really install epew. It does not install another implementation of epew with same behavior. The pip-package of epew takes the binary-files of epew (which are written in C# and compiled for the runtimes win-x64
and linux-x64
), wraps them to a bundle and simple calls the correct one dependent on your OS.
The officially released epew.dll
-file is always signed with the key with the short-id 79cae7246084aa22
. Do not trust any epew.dll
-file which are not signed with this key.
Only epew.dll
will be signed with this key. All other files contained in a binary-release of epew are not signed by this key.
You can verify the key using sn with sn -T epew.dll
.
epew is licensed under the terms of MIT. The concrete license-text can be found here.
FAQs
epew (ExternalProgramExecutionWrapper) is a tool to wrap program-calls with some useful functions like getting stdout, stderr, exitcode and the ability to set a timeout.
We found that epew demonstrated a healthy version release cadence and project activity because the last version was released less than 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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.