
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).
bound-execfile
Advanced tools
Bind child_process.execFile
to a file and configuration.
const node = require(`bound-execfile`)(
`node`,
{
args: {
prefix: `-`,
alias: {
eval: `e`
}
}
}
)
node({ eval: `console.log('hello')` }, (error, stdout, stderr) => {
console.log(stdout.toString())
})
boundExecFile(file[, configuration])
file
- <string> the name or path of the executable file to runconfiguration
- <Object>
args
- <Object> configure options-to-args
prefix
- <string>alias
- <Object>behaviour
- <Object>Returns a function with the following signature:
fn([options], callback)
options
- <Object> passed on to/and parsed by options-to-argscallback
- mirrors the callback signature as described in the documentation for child_process.execFileReturns <ChildProcess>
.args
The options-to-args module
FAQs
bind child_process.execFile to a file and configuration
The npm package bound-execfile receives a total of 1 weekly downloads. As such, bound-execfile popularity was classified as not popular.
We found that bound-execfile 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 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.